Welcome! Log In Create A New Profile

Advanced

Re: ipV6 failing first time, working everytime subsequently

Francis Daly
January 07, 2022 04:38PM
On Fri, Jan 07, 2022 at 12:02:03PM -0500, chakras wrote:

Hi there,

> To answer your question partially, username/ password validation happens on
> GCP server. We do a POST request and send a JSON object with those values
> filled in. If the login succeeds, we send back a token. Nginx is really
> working just as a proxy here. Something like this on browser Network debug
> log,
>
> Request URL: https://xxxxx.us/gcp/users/auth
> Request Method: POST
> Status Code: 401
> Remote Address: xxx.xxx.xxx.xxx
> Referrer Policy: strict-origin-when-cross-origin
>
> In this case 401 is valid (I am on IPv4) as the user/ pass was wrong.

I think you have said:

* the initial 401 response comes from GCP
* this initial request does not go to GCP

I don't think that both of those can be correct simultaneously.

Possibly the nginx logs, the GCP logs, or a tcpdump in the middle,
can show what actually happens in this initial request?

That might help you see where things go wrong.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

ipV6 failing first time, working everytime subsequently

chakras January 05, 2022 10:03PM

Re: ipV6 failing first time, working everytime subsequently

Francis Daly January 06, 2022 06:14PM

Re: ipV6 failing first time, working everytime subsequently

chakras January 06, 2022 09:19PM

Re: ipV6 failing first time, working everytime subsequently

Francis Daly January 07, 2022 03:16AM

Re: ipV6 failing first time, working everytime subsequently

chakras January 07, 2022 12:02PM

Re: ipV6 failing first time, working everytime subsequently

Francis Daly January 07, 2022 04:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 209
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