self-host-csmm-support
textPage 32 of 373
50 messages on this page
Sunday, December 10, 2023
User 0cec7b
::?
User 0b2cfa
User 0b2cfa
i had to add port to mine
Saturday, December 9, 2023
User 0cec7b
im still stuck on the discord auth uri issue
User 0b2cfa
so far all good, even got discord bot going
User 0cec7b
maybe try apache its quite simple
User 0b2cfa
im in but i had to disable https, so yeah something with caddy is busted lol
User 0b2cfa
ok im closer, i put https but it only works in http, so im betting my caddy is wrong
User 0b2cfa
im thinking its my steam api key is bad, renwing it now
User 0cec7b
have you looked at your logs?
User 0cec7b
are you running https? or http?
it seems like its calling for the hostname but not getting it.
it seems like its calling for the hostname but not getting it.
User 0b2cfa
im getting there, im like a dog with a bone
User 0b2cfa
its this
/*************************************************************************** * * * Uncomment the `onlyAllowOrigins` whitelist below to configure which * * "origins" are allowed to open socket connections to your Sails app. * * * * > Replace "https://example.com" with the URL of your production server. * * > Be sure to use the right protocol! ("http://" vs. "https://") * * * ***************************************************************************/ onlyAllowOrigins: [ process.env.CSMM_HOSTNAME ], so i either have my hostname wrong which is odd cause eveything else is workingUser 0b2cfa
yeah
User 0cec7b
have ou opened port 1337?
User 0b2cfa
so looks like a protection thing
User 0b2cfa
[app] verbose: A socket was rejected via the `sails.config.sockets.onlyAllowOrigins` array.User 0b2cfa
is there nother port i need to open?
User 0b2cfa
did that, changed it to csmm.mydomain.org
User 0cec7b
then restart the service
User 0cec7b
yeah with that you need to change the hostname on the env file
User 0b2cfa
but im working it out
User 0b2cfa
no, now im having issues on steam login
User 0cec7b
there you go 🙂 hopfully you wont have the same issue im having with discord bot auth :/
User 0b2cfa
yup! and im in lol
User 0b2cfa
yeah i did that but is my web link like csmm.mydomain.com:1337 ?
User 0cec7b
um it would be under your router for port forwarding.
User 0b2cfa
question i have is how do i point to the specific box? put port number in since my router knows to move all traffic to that port to X machine?
User 0cec7b
but if your used to caddy then go for it
User 0cec7b
i use apache2
User 0b2cfa
now to install caddy
User 0cec7b
whoop
User 0b2cfa
no errors so far
User 0cec7b
fully installed csmm?
User 0b2cfa
so it was the rasbian OS, wiped the disk, installed ubutnu server and im up so far
User 0cec7b
does the custom URL have to be populated? if so with what?
User 0cec7b
all of the auth have been set up and all look good but can't seem to get passed this stage
User aee541
No content
User 0cec7b
thank you im in and im sorting things out
User 602ca8
Yes it's normal. Use what i sent here to uncover all the map
User 0cec7b
im seeing this is this normal after the updated version? as it uses the same port as the dashboard?

image.png
PNG • 1.0 MB
User 0cec7b
im having an issue with the allocs part of the install. ive uploaded all the relevent files etc but i can't access the legacy map
User 0b2cfa
Curious if it's the rasbian OS, I might just wipe the whole thing and just install Ubuntu but then I gotta find my micro hdmi cable
User 0b2cfa
I'll investigate more when I get home. I edited the code a bit so I could see where the error code was throwing.
User bddf69
I think the issue is at this line here, something goes wrong loading the base hooks https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/master/worker/worker.js#L58
User bddf69
In these log lines, it's coming from different processes. These lines have nothing to do with each other (worker vs app process)

image.png
PNG • 9.0 KB
User bddf69
Okay good, that means it's not a discord-related issue
User 0b2cfa
[31merror[39m: undefined {"code":"blueprintsfunction() {\n if (fn === null) throw new Error(\"Callback was already called.\");\n var callFn = fn;\n fn = null;\n callFn.apply(this, arguments);\n }E_HOOK_TIMEOUT"}i added a little to error throw so i could see more
