Replies: 2 comments 2 replies
-
The error is not PocketBase or SMTP related. Based on the status code it looks like the I don't think I'll be able to help you with the Cloudflare configuration but note that when running the |
Beta Was this translation helpful? Give feedback.
-
Well that's strange. If I use cloudflare transform rules to modify the Authorization header, to something invalid, I can no longer log in (401) via the https://auth.mydomain.com/_/. If I remove the rule, it starts allowing me to log in again. Wouldn't this imply The Authorization header is working correctly? Its even more strange I can create a collection for example but not modify SMTP settings. Also in the logs I do see "The request requires valid admin authorization token to be set." when I broke the Authorization header, but no errors otherwise I also tried using only ./pocketbase serve --https "0.0.0.0:443" and removing the domain, but same thing |
Beta Was this translation helpful? Give feedback.
-
Hi, new to pocketbase here.
I'm trying to test pocketbase on a vps behind a full proxy cloudflare but unable to change smtp data.
Steps to reproduce:
Note1: If I serve --http 0.0.0.0:80 and browse to the ip directly with no cloudflare I can save the same setting.
Note2: If I use nginx to proxy locally ssl into non-ssl 9030 it works as long as I'm hitting the nginx ip directly (and of course with the certificate errors that go with it). But as soon as I hit the cloudflare dns which proxies 443 in, it has the same error with unable to save smtp. so something with cloudflare is not happy.
Beta Was this translation helpful? Give feedback.
All reactions