I am trying to deploy an application in JS on an OpenLiteSpeed server. Everything is set-up and the app is working.
It should send HTTP GET requests to a REST API. but this fails. Unfortunately, the JS does not allow any error logging.
I tried multiple approaches:
1. Sending curl "http://<ip-address>/objects" from the server command line works, so there is no connection problem from the server and the rest api provides the right results
2. Monitor the output to port 80 with tcpdump - the curl works, no requests from the application are sent.
3. Disabling cache on the server in the server configuration - no change
4. Trying a simple local webserver on my development machine with the JS code - works like a charm...
I assume, that I need to change some settings in OpenLiteSpeed.
It should send HTTP GET requests to a REST API. but this fails. Unfortunately, the JS does not allow any error logging.
I tried multiple approaches:
1. Sending curl "http://<ip-address>/objects" from the server command line works, so there is no connection problem from the server and the rest api provides the right results
2. Monitor the output to port 80 with tcpdump - the curl works, no requests from the application are sent.
3. Disabling cache on the server in the server configuration - no change
4. Trying a simple local webserver on my development machine with the JS code - works like a charm...
I assume, that I need to change some settings in OpenLiteSpeed.