Steps to reproduce the issue
Open your preferred browser (i used google chrome to reproduce this issue),
Then copy this following url: https://bugs.mojang.com and paste in the search bar
Then, click a project you like, and then tap basic option, then observe the console giving error “Internal Server Error failed to invoke API function jql-search-post”.
Expected result
When viewing the ticket about bug reports in the following url: https://bugs.mojang.com will not encounter errors
Actual result
When viewing the tickets about bug reports in the following url: https://bugs.mojang.com will encounter error about this: Internal Server Error - Failed to invoke API function: jql-search-post
Observed result:
I tested further, and discovered that error could be the cause of my issue appearing randomly that issue, and discovered in the network section about in the console having that error is appearing related to jql-search-post (which will upload as screenshot) and sending something to: https://bugs.mojang.com/api/jql-search-post).
Report Different?: im writing again this, because i did find it where come from that error in Jql-search-post (i found it: https://bugs.mojang.com/api/jql-search-post) when getting that error code, in the network tab of the console will be writted this Jql-search-post i think is something to do with basic option in the bugs.mojang.com website.
Error in the website (bugs.mojang.com): Internal Server Error - Failed to invoke API function: jql-search-post
Info:
Model: Samsung A33 5G
Browser: Google chrome
Linked issues
is duplicated by 1
Attachments
Comments 22
Update: Root Cause Identified
After further testing, I discovered that the jql-search-post API error is caused by a specific function on the website.
When this function is enabled, the error always occurs.
When the function is disabled, the error may still occur randomly, but less often.
This confirms the issue is related to the API endpoint logic triggered by that function.
The function in question is:
Basic option.
Afer doing research about this issue about jql-search-post error i found it in the network in the console, and did found it this code.
https://bugs.mojang.com/assets/index-rUTEv-2u
And this i found as url:
https://bugs.mojang.com/api/jql-search-post
How reproduce this issue?
This issue i didn't reproduce it, by 100% because is a issue something related to the server sending request in bugs.mojang.com to this endpoint:
https://bugs.mojang.com/api/jql-search-post
I tried to reproduce it but didn't understand it how to trigger it the problem, i think is something related to the server handling request sending to here: https://bugs.mojang.com/api/jql-search-post
How to reproduce the issue
I was not able to reproduce the issue manually 100% of the time.
However, the issue occurs automatically on the server side in certain situations, for example when loading some pages on bugs.mojang.com.
The error seems to be caused by an internal server request to the endpoint:
https://bugs.mojang.com/api/jql-search-post
When this request fails (for example with a 500 error), it can prevent the proper loading of data or the page.
Can confirm, the issue is not longer happening, if occur again will be sending again a bug report ticket and mentioning this ticket aswell.
The error with jql-search-post is returned now send to a err_internet_disconnect and aswell post, in the main website will display error code failed to fetch or showing error code Unexpected token '<', "<!doctype "... is not valid JSON
All screenshot uploaded here amd aswell network:
The error display mentioned in the before comment this error code appear in the website bugs.mojang.com while loading a bug report ticket.
Will test further with the basic option in the website bugs.mojang.com here could be the cause of this error code.