[GH-ISSUE #2943] signin show blank error on docker #18037

Closed
opened 2026-04-15 16:23:19 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @rizaru-desu on GitHub (Jun 7, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/2943

When running better-auth in Docker production on port 8181, and Next.js on port 3000, after logging in I get a blank error. Checking the console log shows the error:

Failed to load resource: net::ERR_CONNECTION_REFUSED

and the URL always points to localhost:3000 even though the app is accessed through a domain. ?

Originally created by @rizaru-desu on GitHub (Jun 7, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/2943 When running better-auth in Docker production on port 8181, and Next.js on port 3000, after logging in I get a blank error. Checking the console log shows the error: `Failed to load resource: net::ERR_CONNECTION_REFUSED` and the URL always points to localhost:3000 even though the app is accessed through a domain. ?
GiteaMirror added the locked label 2026-04-15 16:23:19 -05:00
Author
Owner

@frectonz commented on GitHub (Aug 11, 2025):

See #3874

<!-- gh-comment-id:3176815533 --> @frectonz commented on GitHub (Aug 11, 2025): See #3874
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#18037