CGI ERROR The specified CGI application misbehaved by not returning a complete ...

majdan

New Member
Hello!

The webspeed project work normally, but after shut down database and start it again reports an error:
"CGI ERROR The specified CGI application misbehaved by not returning a complete set of http headers"

When I restart my broker after that it work's, but it's complicate for me to do it always.
Does anyone know the solution of this problem?
 
Re: CGI ERROR The specified CGI application misbehaved by not returning a complete ..

didn't used webspeed for quite some time but i think it does have some 'onConnect' procedure that you can set-up and it will get called on each request... put there code to check if requested databases are connected and connect them at run-time if not (you should probably configure that somehow, xml looks like the way to go), and while you're there if you can get them to connect (still down) just send some more user friendly error messages like "system under maintenance, please retry later or call <your best friend mobile number>"
 
Re: CGI ERROR The specified CGI application misbehaved by not returning a complete ..

Dear Marian,
I already have connect command in my code.

Thank you for your replay.
 
Re: CGI ERROR The specified CGI application misbehaved by not returning a complete ..

Problem solved:

Add new scheduled task on server wich restart broker every day on same time.

The commands are:
wtbman -name yourbroker -stop
wtbman -name yourbroker -start

Also need to add a path for wtbman which is on: Progress\OpenEdge\bin\
 
Back
Top