Re: ipV6 failing first time, working everytime subsequently

2022-01-07 Thread chakras
Hello Francis, 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

Re: ipV6 failing first time, working everytime subsequently

2022-01-06 Thread chakras
Hello Francis, Thanks for your response. I have verified from Network logs on the browser that POST request is sending the username and password in both cases. So, I wasn't sure if additional headers need to be sent for switching to happen seamlessly. The issue is after that first failure there is

ipV6 failing first time, working everytime subsequently

2022-01-05 Thread chakras
Hello, I am using nginx on a VPS to proxy requests to a GCP server. When working with IPv4, everything works as desired. However, if we enable IPv6 on client machine, we see that the first call (/auth) fails with 401, and all subsequent calls are successful. We cannot see the first call on GCP. I