Page 1 of 1

CGI error

Posted: 22 Sep 2015 17:55
by Duvel
I'm getting this error when I try to configure my RaZberry after upgrading to the latest version:

****/cgi-bin/main.cgi

Code: Select all

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

Re: CGI error

Posted: 02 Dec 2015 07:23
by ofuangka
I'm getting this same issue. Did you have any luck? I tried increasing mongoose's max_request_size conf entry, but that seemed to break mongoose.

Re: CGI error

Posted: 02 Dec 2015 07:30
by ofuangka
Is there any way to view the main.cgi source?

Re: CGI error

Posted: 02 Dec 2015 21:39
by PoltoS
Please try to update again. We have fixed update script today. May be this is the reason. If not, remote support will help.

Re: CGI error

Posted: 02 Dec 2015 22:55
by ofuangka
Still no luck after updating to v2.1.2-rc17-32-g2af918d.

Code: Select all

Error 500: Internal Server Error
CGI program sent malformed or too big (>16384 bytes) HTTP headers: []
Are there any logs that might be helpful?

Re: CGI error

Posted: 04 Dec 2015 05:30
by ofuangka
FYI, when I try to run ./main.cgi from the terminal, I get a Segmentation fault. Also, I am running on a Raspberry Pi Model A.

Re: CGI error

Posted: 05 Dec 2015 01:52
by PoltoS
oh, model A? what is the OS? Raspbian Weezy/Jessie? This can be caused by bad libraries

Re: CGI error

Posted: 06 Dec 2015 07:24
by ofuangka
I'm running on Jessie.

Re: CGI error

Posted: 10 Dec 2015 02:23
by ofuangka
Which libraries does main.cgi use?