Repository navigation
Replies: 7 comments 1 reply
Are you running an edge / tls terminiation proxy? If so there is now a check for a secure context that will require you to have enabled proxy-headers and are setting at least a header that would convey the scheme. Relates to #34780 |
|
Thanks. Actually my problem was DNS. But I still keep getting this errors. I do have proxy edge termination, and I have the headers configured: On my nginx: And on my ingress: My Dockerfile has this: My deployment yml: Should I do something differently? |
Yes, that's still indicative of a proxy configuration issue.
It looks like you have an nginx proxy in front of the ingress proxy. If you are going through the ingress, those pods would need to be in the proxy-trusted-addresses. You are also showing two different configurations for proxy-trusted-addresses. Both end up as env properties, I would presume that the one from the deployment should take effect. You may want to review that just in case. |
|
Moving this to a discussion as it is likely a configuration issue and not a bug. |
Sorry, I just copied the wrong ip's, but they are the same. The only difference is that on the deployment there's no 127.0.0.1/24. |
|
Unfortunately I don't think there's any logging on the effect of the trusted proxy setting, but it's quite possible that the ingress pods don't have stable ips. Can you test without the trusted proxies set? The only other thing you can verify is that requests hitting the server have the expected headers. |
|
I was seeing the behaviour described in #31377 combined with the logging described here. In my case the cause was a missing |
Uh oh!
There was an error while loading. Please reload this page.
Before reporting an issue
Area
authentication
Describe the bug
I suddenly can't login to my clients after updating to 26.0.5
I am not sure what happened. I enter my username and password, but I don't get presented with the two-factor.
All I get in the logs is this:
Non-secure context detected; cookies are not secured, and will not be available in cross-origin POST requests
Version
26.0.5
Regression
Expected behavior
To log in properly
Actual behavior
I don't get logged in. I end up with a timeout and gateway error
How to Reproduce?
Upgrade to 26.0.5
Anything else?
No response
All reactions