Gi
Gi2w ago

Any chance non https auth can be allowed

Any chance non https auth can be allowed on self hosted in a LAN setup?
Error: Unable to push deployment config to http://192.168.10.250:3210
✖ Error fetching POST http://192.168.10.250:3210/api/push_config 400 Bad Request: InvalidAuthConfig: Hit an error while pushing:
The pushed auth config is invalid: Invalid provider domain URL "http://192.168.10.250:3211": must use HTTPS
Error: Unable to push deployment config to http://192.168.10.250:3210
✖ Error fetching POST http://192.168.10.250:3210/api/push_config 400 Bad Request: InvalidAuthConfig: Hit an error while pushing:
The pushed auth config is invalid: Invalid provider domain URL "http://192.168.10.250:3211": must use HTTPS
Only localhost seems to be allowed over http https://github.com/get-convex/convex-backend/blob/c7af11274e1582bac48edd113f8390c87baf65c4/crates/common/src/auth.rs#L202-L232
3 Replies
fullheart
fullheart2w ago
Hi @Gi Few days ago, they merged a PR, that remove the requirement for HTTPS. Commit: https://github.com/get-convex/convex-backend/commit/22f22ac6f01e00bb147e7a1cb006e03ae8441c4f PR: https://github.com/get-convex/convex-backend/pull/190 But you have to re-build the convex-backend docker image by your self, because the latest version was released 22 days ago: https://github.com/get-convex/convex-backend/pkgs/container/convex-backend I hope that helps you.
Gi
GiOP2w ago
Oh nice. I checked this 2 days ago but didn't post here So the new question would be: any chance we get updated docker images 🙃
Gi
GiOP2w ago
Thanks @Emma 👀
No description

Did you find this page helpful?