Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
"522 Connection timeout" when fetching session with getSession during SSR [Cloudflare Worker] - Better Auth
BA
Better Auth
•
10mo ago
Andrei
"522 Connection timeout" when fetching session with getSession during SSR [Cloudflare Worker]
Keep getting this error on cloudflare
.
What
's weird it
's only happening when I
'm trying to sign in with any social provider
.
For email
/password it works fine
. No issues locally too
.
Headers present
, I checked it
.
Anyone has
/had a similar issue
?
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Timeout when deploying to Cloudflare Workers with Better Auth when using getSession
BA
Better Auth / help
10mo ago
Session type `auth.api.getSession` is wrong
BA
Better Auth / help
6mo ago