Search results

  1. V

    The Impossible POST Request to my NodeJS API (OLS Bug??)

    Hi @Cold-Egg. Oh good, it's not just me. Thank you! But can you explain to me. There were no such remarkable steps by me. How can I be the first user complaining that POSTing with HTTPS does not work? I can only imagine the pre-setup of DigitalOcean was wrong. Thanks again!
  2. V

    The Impossible POST Request to my NodeJS API (OLS Bug??)

    I'm back with the test results! First, I added a test.html on my server with the form from @Cold-Egg. It is the same like with XHR. It is loading very long and then I'm getting an ERR_SPDY_PROTOCOL_ERROR error. Then, as suggested by @David I tested the Example application shipped with OLS...
  3. V

    The Impossible POST Request to my NodeJS API (OLS Bug??)

    @David David i will check that tomorrow. Maybe I also create a new fresh droplet and test. But it must be with https and my certificate. Http works on my app too. @Cold-Egg ok, I will try something similiar to this aswell tomorrow
  4. V

    The Impossible POST Request to my NodeJS API (OLS Bug??)

    I ordered a new domain and pointed it to the server. I'm not even using a subdomain anymore, it's a clean domain. And from where I got the domain I could download private key, certificate key and intermediate key. This time I was following this tutorial...
  5. V

    The Impossible POST Request to my NodeJS API (OLS Bug??)

    UPDATE: Something about my SSL is wrong. At least the request is working when I use http. I renewed the cert with certbot certonly --webroot -w /usr/local/lsws/Whatever/html/ -d my.domain.tld but no change... Is there any other way to obtain a SSL certificate? Did I even do something wrong?
  6. V

    The Impossible POST Request to my NodeJS API (OLS Bug??)

    Guys, I'm struggling with this for days and it got me really, like REALLY really frustrated! And I really tried to figure this out by myself but all my experience in web development seems worthless when it comes to this issue. And I really tried everything! Everything, instead of deleting...
  7. V

    NodeJS App

    @Pong Hmm... I don't know, I got some weird things going on. I might create another thread for that problem. I have implemented log4js file logging now. And it does not work on the server (I have log messages at the very beginning of the script). Even after restarting the server multiple times...
  8. V

    NodeJS App

    Just another question while this thread is still active: Is there a way to see or log the console.logs my NodeJS application is producing?
  9. V

    NodeJS App

    Halleluuujah! It works now. It was just a dumb misconfiguration of a directory from me again. Thank you so much @lskagan for your support :)
  10. V

    NodeJS App

    I checked that yesterday (didn't knew it existed). I don't remember very well what it said, but it couldn't find the directory (double slash at some point) and somewhere it said something about a permission problem. However I fixed it by removed the ending slash in the settings and then I also...
  11. V

    NodeJS App

    Same (page never loads), but different logging: 2019-02-11 20:09:32.368933 [INFO] [x.xxx.xxx.xx:29633:HTTP2-1] [REWRITE] Rule: Match '/api/' with pattern '^(.*)$', result: 2 2019-02-11 20:09:32.368987 [INFO] [x.xxx.xxx.xx:29633:HTTP2-1] [REWRITE] Cond: Match 'on' with pattern 'on', result: 1...
  12. V

    NodeJS App

    Requesting my-domain.tld/api I'm getting an endless loading page and this in my logs: 2019-02-11 19:11:24.922722 [INFO] [x.xxx.xxx.xx:40006:HTTP2-1] [REWRITE] Rule: Match '/api' with pattern '^(.*)$', result: 2 2019-02-11 19:11:24.922778 [INFO] [x.xxx.xxx.xx:40006:HTTP2-1] [REWRITE] Cond: Match...
  13. V

    NodeJS App

    Thanks for your answer at first. I'm glad receiving support that fast. Phew, I'm feeling really like a noob reading this. I don't understand... How would that work, like even technically, that OLS handles the NodeJS requests by itself? I have no config or whatsoever. My nodeJS app is very...
  14. V

    NodeJS App

    I want to add, I'm using OpenLiteSpeed v1.4.42 on Ubuntu 18.x.
  15. V

    NodeJS App

    Hello, I'm new to OpenLiteSpeed and just about setting up my first app with it. I have an HTTP and a HTTPS Listener. HTTPS is forced, which means I have a redirect from HTTP to HTTPS: rewriteCond %{HTTPS} !on rewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L] I have a NodeJS app as...
Top