signin show blank error on docker #1323

Closed
opened 2026-03-13 08:32:45 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @rizaru-desu on GitHub (Jun 7, 2025).

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). 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. ?
Author
Owner

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

See #3874

@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#1323