-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passphrase protected push is not working with Cloudflare Tunnel #2350
Comments
Hello @MiranoVerhoef, thanks for contributing to the Password Pusher community! We will respond as soon as possible. |
Hi @MiranoVerhoef - are there any errors in the browser console? |
I haven't noticed any errors, (Log level was on warn). I could rebuild the test environment if you want me to supply more information.
|
A long shot guess might be blocked cross site scripting requests because of the variation in HTTP host headers. This error would show up in the browser javascript console as an error though - not in the Docker container logs.
To diagnose we (either you or I) might have to. I'm a bit tied up today but I'll see if I can figure how to setup a Cloudflare tunnel (never done it) later today/this week. |
Let me spin up a docker, and show you the results! |
|
That was a quick turn around! Those exceptions are from the Chrome MozBar extension. Could you try in an incognito window with no extensions? |
That is weird. Nothing easy unfortunately... You can do a network trace in the "Network" tab, reload the page and submit the passphrase. You should see the page load and form submission in the network trace. Could you try that? |
Hrm no errors? Apologies, I'm tied up with the day job. I'll loop back soon. If you want you can email the .HAR file to me at pglombardo @ pwpush.com domain. Better if you send it to me using pwpush.com in a new push. :-) |
Send! Ofcourse, in a push ;) |
That helped - thanks. When posting a passphrase, the server responds with a Set Cookie and then redirects to the direct push URL. When serving the direct push URL, the server checks for the cookie. It seems the cookie isn't being set. Not sure why yet though. Is there any setting in Cloudflare to in respect to cookies? |
Slight long shot but try this:
I suspect it might be a mismatch that is blocking the cookie. |
Hello, I will go ahead and try this on the end of the week (We don't use database variant for security reasons) that's why i cannot change a parameter. Unless it works without rebooting? (using Config file) |
🐛 Bug Report
When deploying the docker and using its internal IP the passphrase protection is working (Filling in a password before showing the actuall password). When connecting to it through Cloudflare Tunnel it doesnt work. It just looks like it does nothing. No notification is shown either. So it looks like its not processing it.
What would be the right settings for the cloudflare tunnel?
🔬 How To Reproduce
Steps to reproduce the behavior:
Code sample
Environment
Where are you running/using Password Pusher?
If applicable, what version of Password Pusher? v1.41.15
Screenshots
📈 Expected behavior
It should accept the password and go through to the page where it shows the actual password.
📎 Additional context
The text was updated successfully, but these errors were encountered: