taoteh1221/Open_Crypto_Tracker

CGI program sent malformed or too big (>16384 bytes) HTTP headers

webenhanced opened this issue · 7 comments

Downloaded Open_Crypto_Tracker-v6.00.18-linux-desktop.7z
Unzipped folder to home directory
In terminal, cd ~/Open_Crypto_Tracker-linux-desktop/
./RUN_CRYPTO_TRACKER

This seems to run OK with only INFO: listings until 17 of these appeared:
[0530/201449.311120:WARNING:browser_main_loop.cc(280)] Gtk: Unable to locate theme engine in module_path: "murrine",

Then a few more INFO lines, then:

[0530/201605.309034:WARNING:x11_util.cc(1426)] X error received: serial 331, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0530/201610.439988:WARNING:x11_util.cc(1426)] X error received: serial 148, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0530/202502.875804:WARNING:x11_util.cc(1426)] X error received: serial 363, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0530/202505.392221:WARNING:x11_util.cc(1426)] X error received: serial 289, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)

The window that opens has the following and nothing else:

Error 500: Internal Server Error
CGI program sent malformed or too big (>16384 bytes) HTTP headers: []

Can someone help resolve this?

System:
i7, 32GB Ram, plenty disk,
Fedora 36

Once I closed the window, this:

[0530/202810.274604:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[0530/202810.274823:ERROR:gl_context_glx.cc(252)] glXMakeCurrent failed in ReleaseCurrent
[0530/202810.274894:ERROR:gles2_cmd_decoder.cc(4669)]   GLES2DecoderImpl: Context lost during MakeCurrent.
[0530/202810.274911:ERROR:gpu_channel_manager.cc(218)] Exiting GPU process because some drivers cannot recover from problems.
[0530/202810.274947:ERROR:gpu_channel_manager.cc(218)] Exiting GPU process because some drivers cannot recover from problems.
[0530/202810.275273:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[0530/202810.275578:ERROR:gl_context_glx.cc(252)] glXMakeCurrent failed in ReleaseCurrent
[0530/202810.281201:ERROR:gl_bindings_autogen_gl.cc(14114)] Trying to call glDeleteTextures without current GL context
[0530/202810.288861:ERROR:gl_context_glx.cc(252)] glXMakeCurrent failed in ReleaseCurrent

The window that opens has the following and nothing else:

Error 500: Internal Server Error
CGI program sent malformed or too big (>16384 bytes) HTTP headers: []

Can someone help resolve this?

System: i7, 32GB Ram, plenty disk, Fedora 36

Hello @webenhanced , thanks very much for your feedback. Try reading through the TROUBLESHOOTING.txt document, in this section below...

LINUX Desktop Edition Error: "CGI program sent malformed or too big"

https://github.com/taoteh1221/Open_Crypto_Tracker/blob/main/TROUBLESHOOTING.txt#L475

Basically, you need to build the PHP binary to be compatible with your version of Fedora OS. I've never tested the script "BUILD-PHP-FOR-LINUX-DESKTOP.bash" (in the Desktop Edition main folder) on Fedora though, only debian.

Let me know if it needs work to run properly on Fedora, and I'll take a look at it. Make sure it's executable before running it.

Alternatively, TROUBLESHOOTING.txt also gives general directions on building PHP manually. The most important part is to use the provided configuration, to enable the needed PHP features for the app.

Thanks man, I'll check that out tomorrow.

Thanks man, I'll check that out tomorrow.

Your welcome. I'll put Fedora on my new laptop this weekend, and make sure the PHP build script works smoothly.

Hey @webenhanced, I made storage room on my desktop workstation for Fedora v38 today, and re-wrote the PHP building script so it works on Fedora. :)

Just unzip / place the attached file inside the main directory of the desktop version of the crypto tracker app (overwriting the already-existing version), and run it via command line. Make sure it's executable after copying it over, AN CLOSE THE DESKTOP APP SO IT CAN AUTO-UPDATE THE PHP BINARY.

BUILD-PHP-FOR-LINUX-DESKTOP.zip

Fixed in commit: 02a0503

Many thanks for the feedback @webenhanced, I'll be adding Fedora support to the Server Edition auto-installer in the next release as well. Debian apt and Redhat yum commands are very similar, and comparable library support as well for what this app needs to run.

Holler if you still run into any issues, and I'll fix them too.