R
Railway•2y ago
PGuy

Nice try?

Trying to setup a webhook to my server (it has no domain) i got this error i dont even know what i tried lol
24 Replies
Percy
Percy•2y ago
Project ID: N/A
PGuy
PGuyOP•2y ago
NA
Brody
Brody•2y ago
I don't know what to do with this information either
PGuy
PGuyOP•2y ago
tried to set the webhook with the ip:port/endpoint of my server
Brody
Brody•2y ago
why ip and port?? and why doesn't it have a domain??
PGuy
PGuyOP•2y ago
Because setting up nginx to use a domain name instead of the server ip its a pain in the ass and i don't know any easier way to do it
Brody
Brody•2y ago
nginx just needs to listen on 0.0.0.0 that's a pretty easy way lol
PGuy
PGuyOP•2y ago
could a cname with cloudflare work? do railway webhooks require HTTPS?
Brody
Brody•2y ago
I'd sure hope they would but let's start over, what are you trying to do with nginx
PGuy
PGuyOP•2y ago
Okay from the beginning, i created a project on railway, tried to setup a webhook to my server which can notify me over whatsapp when something happens to the deployment its a regular express server which returns a 200 status when recieved the webhook post
Brody
Brody•2y ago
okay and what's this have to do with nginx
PGuy
PGuyOP•2y ago
hmm nothing? the issue is that i get that error when trying to setup the webhook
Brody
Brody•2y ago
show me what you are putting into the webhook field
PGuy
PGuyOP•2y ago
won't send my server ip publicly for obvious reasons but i think you'll get it
Brody
Brody•2y ago
put your domain in there??
PGuy
PGuyOP•2y ago
Brody
Brody•2y ago
I'd like to know what makes you think that would work lol bruh then generate one
PGuy
PGuyOP•2y ago
The server that recieves the webhook it's not on railway i cant just click generate domain
Brody
Brody•2y ago
that would have been useful information to know but I guess that's actually good because it would break railways tos
PGuy
PGuyOP•2y ago
well when i mentioned the ip of the server i hoped you would know its not on railway
Brody
Brody•2y ago
nah I've seen lots of people grab the IP for the railway service and use that when they shouldn't
PGuy
PGuyOP•2y ago
lol okay So, its the ip from my vps its an express server which uses some trickery to notify me on whatsapp of any change posting from postman works so its not my server the issue i can't just host it on railway and generate the domain because as you can imagine its a mirrorbot and its against TOS
Brody
Brody•2y ago
I very much appreciate that, I don't enjoy telling people their service breaks tos as for the webhook thingy not accepting ips, well it looks like you'd have to get a domain
PGuy
PGuyOP•2y ago
Okay i'll try to setup the domain 😦
Want results from more Discord servers?
Add your server