Sending http request from OpenLiteSpeed server not working

#1
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.
 
#3
I was not using the NodeJS AppServer setup. I tried to set this up and it works, but no change in my app. The other .js parts from my app were and are working. Only the rest api calls are not sent.

I do not see any error in error or access log. @Cold-Egg
 
#5
@Cold-Egg : Thanks for the pointers, as they helped me shape the results. The issue were "blocked firewall ports" and browsers not accepting http requests from https websites.
 
Top