Eric Swenson
June 20, 2014 07:30PM
Hello Maxim,

On 6/20/14, 3:46 PM, "Maxim Dounin" <mdounin@mdounin.ru> wrote:

>Hello!
>
>On Fri, Jun 20, 2014 at 07:32:36PM +0000, Eric Swenson wrote:
>
>[...]
>
>> This works fine. However, every once in a while (say, every
>> week or so), traffic to https://app.example.com/svc/api/xxxx
>> returns gateway 502 errors. The API service (located at
>> https://svc.example.com/api) is working fine and is accessible
>> directly. However, through the proxy setup (above), nginx will
>> not pass traffic. Simply restarting nginx gets it working again
>> for another week or so, only to have it get into the same state
>> again some random interval later.
>>
>> Does anyone have any ideas what might be causing nginx to fail
>> to proxy traffic when no changes to the configuration have been
>> made and the backend service is functioning normally?
>
>First of all, it may be a good idea to take a look into error log.

The only messages in the error log were ones for hours before and for
hours after the ³problem², of the form:

2014/06/17 17:14:16 [error] 28165#0: *1508 no user/password was provided
for basic authentication, client: 11.12.13.14, server:
app.test.example.com, request: "GET / HTTP/1.1", host:
³app.test.example.com"

There was nothing related to the 502 errors around the time of the first
request that failed with a 502 error code. The access log shows quite a
few requests failing with a 502 status code from that point forward, up
until the time that I restarted nginx.


‹ Eric

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

No CORS Workaround - SSL Proxy

Eric Swenson June 20, 2014 03:34PM

Re: No CORS Workaround - SSL Proxy

Maxim Dounin June 20, 2014 06:48PM

Re: No CORS Workaround - SSL Proxy

Eric Swenson June 20, 2014 07:30PM

Re: No CORS Workaround - SSL Proxy

Maxim Dounin June 22, 2014 10:34AM

Re: No CORS Workaround - SSL Proxy

Eric Swenson July 01, 2014 02:00PM

Re: No CORS Workaround - SSL Proxy

Maxim Dounin July 02, 2014 06:38AM

Re: No CORS Workaround - SSL Proxy

Maxim Dounin July 02, 2014 07:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready