#chengyu - webhook testing
1 messages ยท Page 1 of 1 (latest)
hello
I think that is because dev.localhost is not generally understood to refer to your own local machine.
I start my workday by running the following:
stripe listen --forward-to localhost:8000/webhook2/ --log-level info
Because i have my test integration running on port 8000
I think all you need to do is just use localhost.
That server is running on your local machine?
yes
And you can reach it by typing dev.localhost into your browser?
yes
Hmmmm... ๐ค
Because you are using a subdomain, have you tried adding the http:// prefix?
e.g stripe listen --forward-to http://dev.localhost:5000/v6/stripe/webhooks/
Unfortunately I'm not sure what's going on here. Could you try running a simple server directly on localhost to see if the dev. is really the issue? I'll reach out to my colleagues to see if anyone has experienced this before.
Ok cool! If you don't mind sharing, what did you update?
somehow browser is clever enough to handle how every there are some command line tool still relay on etc
I am on mac so I have updated /etc/hosts
Very.nice!
๐
I think for linux it is /etc/resolv.conf
I'll have to test that out. I run linux on my personal computer.
๐ I have used archlinux for 3 years, eventually I throwed that PC and bought a MAC ๐