Nginx returning 401

suryamohan05 nginx-forum at
Wed Sep 21 10:39: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:,295259,295259#msg-295259

More information about the nginx mailing list