What Would "Server is running or permission was denied." Indicate?
One my RESTXQ pages constructs an HTML report that takes a few seconds to construct. The page works fine in my local dev environment but when I deploy the code on my production server the process fails after constructing the report markup with the log messages: Server is running or permission was denied. Server is running or permission was denied. Server is running or permission was denied. That is, the message is emitted three times in a row with about 50ms between and the page generation fails (page never appears in the browser). Any idea what condition this might indicate and how I might track it down? It must be something I’m doing in my code but I can’t find any obvious logic bugs so wondering what kind of thing I might look for. Thanks, Eliot _____________________________________________ Eliot Kimber Sr Staff Content Engineer O: 512 554 9368 M: 512 554 9368 servicenow.com<https://www.servicenow.com> LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow>
The error is usually shown if a BaseX server is running and if additional instances are launched. Don’t know if that helps? On Mon, Jul 18, 2022 at 5:56 PM Eliot Kimber <eliot.kimber@servicenow.com> wrote:
One my RESTXQ pages constructs an HTML report that takes a few seconds to construct. The page works fine in my local dev environment but when I deploy the code on my production server the process fails after constructing the report markup with the log messages:
Server is running or permission was denied.
Server is running or permission was denied.
Server is running or permission was denied.
That is, the message is emitted three times in a row with about 50ms between and the page generation fails (page never appears in the browser).
Any idea what condition this might indicate and how I might track it down?
It must be something I’m doing in my code but I can’t find any obvious logic bugs so wondering what kind of thing I might look for.
Thanks,
Eliot
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368
servicenow.com
LinkedIn | Twitter | YouTube | Facebook
participants (2)
-
Christian Grün -
Eliot Kimber