#CharlieMalmqvist
1 messages · Page 1 of 1 (latest)
Have you tried removing the percent encoding at the end of that URL?
Also, do you own the domain mydomain.net, because that seems like a placeholder that you're supposed to replace with your actual domain name
Do you have an Event ID I can look at? Or a Webhook Endpoint ID I can look at?
Is it this perhaps: we_1N19j8HEwxUJaVLaUrvBjAR9
I noticed now on the later attempts I get this error on the website for the post request:
Connection to remote host denied (please contact support at https://support.stripe.com/contact/)
Hmmm, it's interesting that you're getting multiple different types of errors to this endpoint. Have you tried removing the port number?
Yeah Ive done it all the time without port number just added it in now to try with it
I just declare it normally in node.js and it works completely fine when sending a post request from for example a python script over the internet:
Node.js:
app.post('/webhook', async (req, res) => { ...
Local python script:
requests.post("https://relectro.net:8080/webhook", headers=headers, json={ 'nothing': 5 }, timeout=10)
Wait, you're using Node AND Python on your backend?
No
Python is a test script, sorry I meant locally on my computer, my server is on a vps with the node.js backend
Hmmm, I tried visiting https://relectro.net/ and it says the site cannot be reached. This doesn't necessarily mean webhooks shouldn't work, but usually you should be able to reach the website that the webhooks are sent to
Strange it works for me , trying on different networks, devices, and clearing cache
No actually itd´s down now again, I'll restard the vps
this happened also about an hour ago but I had the stripe problem before that so I don't think it's too related
Still, it's a lot easier to debug when the server receiving the requests is working
I'm getting a site can't be reached error right now still
yeh sorry im contacting my vps provider
No worries
Likely this is all due to a networking issue, but once you get things up and running again we can confirm
sending requests from python works fine tho this doesnt make sense to me
I'm using the domain name when sending requests, so how can my browser not find the ip address of relectro.net server
Could be a server misconfiguration not sure
Your provider should be able to provide more context