Nginx returning 401

suryamohan05 nginx-forum at
Wed Sep 21 10:15:25 UTC 2022

We are using nginx as reverse proxy in our project. When connecting to cloud
server, Nginx returns 401 and then 200.
But when connecting to on premise server it is returning 401.

In debug logs we are seeing SSL_get_error: 5 , SSL_get_error: 2
SSL_get_error: -1. what does this SSL_get_error return type mean...
Is there anyway to find the cause of this issue.

Posted at Nginx Forum:,295132,295257#msg-295257

More information about the nginx mailing list