mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-07-21 04:25:24 -04:00
Error running app with default port #123
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EatonEmmerich on GitHub (Nov 1, 2025).
I am running a custom domain.
I have updated my compose file to remove Caddy as I couldn't get it working and duplicated the configuration on Traefik instead.
After some configuration changes I got the app running and routed correctly, but I am getting the following error opening the login page:
Screenshot of application error:
@EatonEmmerich commented on GitHub (Nov 1, 2025):
UPDATE: the cors policy is a red herring as it simply relates to reporting the actual error.
Running the
revolt/client serveron a different port usingdocker compose exec -it web shand manually executingyarn run start:injectseems to give me a working login page.UPDATE UPDATE: the working page only works if the server is no longer connected so it was a red herring in a red herring.
Currently still investigating.
@EatonEmmerich commented on GitHub (Nov 1, 2025):
Update:
Got some more error output for what was attempting to be reported (but blocked by revolt) to
reporting.revolt.chat:TypeError: Cannot read properties of undefined (reading 'invite_only')
at https://stoat.metabee.co.za/assets/Login.1f8632ae.js:1:12503
at https://stoat.metabee.co.za/assets/main.60a044fc.js:134:51775
at https://stoat.metabee.co.za/assets/main.60a044fc.js:134:50798
at trackDerivedFunction$1 (https://stoat.metabee.co.za/assets/main.60a044fc.js:114:20016)
at er.track (https://stoat.metabee.co.za/assets/main.60a044fc.js:114:26622)
at useObserver (https://stoat.metabee.co.za/assets/main.60a044fc.js:134:50774)
at _$6.ar [as constructor] (https://stoat.metabee.co.za/assets/main.60a044fc.js:134:51745)
at _$6.O$4 [as render] (https://stoat.metabee.co.za/assets/main.60a044fc.js:1:10247)
at j$6 (https://stoat.metabee.co.za/assets/main.60a044fc.js:1:7692)
at https://stoat.metabee.co.za/assets/main.60a044fc.js:1:2714
@Rattle22 commented on GitHub (Feb 13, 2026):
I think I have the same issue.
I use Caddy behind an nginx. Took me a while to get it working, but I am now getting through and have the exact same stack trace.
On a different issue, someone said to add /api in the .web.env, but I had that from the getgo.