V
V
Vitaly2019-09-18 17:59:03
linux
Vitaly, 2019-09-18 17:59:03

Where does the 502 error come from, where to dig?

Please tell me where to dig?
There is a chat bot on the VPS server, it is running on node js on localhost, access to it through the nginx proxy.
Everything worked well, but since yesterday there have been problems, at first I thought that the request from facebook (bot in facebook messenger) to my server was slowly passing to my server, it was from facebook on the server, because I debugged the request speed and everything was ok (there is on the screenshot),
5d824631a2d47237453960.png
then found in the developer panel on facebook, request errors to my server - HTTP 502 Failed to resolve host.
Although it seems like manually curlOM and requests pass in the browser.
I don’t understand where to dig, towards Nginx, DNS or somewhere else.
P.S. In the Nginx error logs /var/log/nginx/error.log, there are only errors that the favicon does not find and only once this
[crit] 4262#4262: *9468 SSL_do_handshake() failed (SSL: error:1417D18C:SSL routines:tls_process_client_hello:version too low) while SSL handshaking, client: 74.82.47.5, server: 0.0.0.0:443

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaliy, 2019-09-19
@Scorpiored88

Disabled Nginx, did tried it through ngrok, everything works fine.
How to fix?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question