Dear Thorpe,

i just checked the source code, and found two situations, when the server
returns a 503 HTTP status:

a) The Tcl code issues a "ns_returnunavailable"
b) The Tcl-/ADP-request ends in a NS_TIMEOUT

I would exclude (a) for now. (b) can happen e.g. when
one uses NaviServer as a reverse proxy to some backend host,
but the backend host does not answer. We checked our logs
on the busy servers over the last weeks, but could trace the
few 503 errors to cases, where the backend server was rebooted.

it is possible to intensify the tracing of NaviServer in such cases,
but it would certainly be good to learn more about your
situation.... Can you check, if there is some unresponsible
backend server is involved in your case?

all the best

-g

On 10.03.20 20:12, THORPE MAYES via naviserver-devel wrote:


    HI,

I am getting this error:

Service Unavailable
The server is temporarily unable to service your request. Please try again later.
/NaviServer/4.99.19 on /

Restarting the server software fixes the issue, but I need a better solution.

What causes this? How can I detect when the server is in this state?

Thank you,


_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to