9 months ago
I switched my laravel setup from a dockerfile deployment to following the "Majestic Monolith" guide in the docs. So far so good, but it seems now my stripe webhook endpoints cannot be reached. They used to when I ran php artisan serve instead with apache.
Is it possible that stripe is using ipv6 and the nginx php-fpm configuration default from railway doesn't support public ipv6? If so, how can I go about solving this?
0 Replies
9 months ago
Railway itself is IPv4 only for the public domains, but I highly doubt Stripe is IPv6 only.
9 months ago
can you link the service in question please?
Sorry, what do you mean by service? I guess this was just my assumption since simply changing the setup made the webhooks no longer work
If everything else has been working after the migration but this webhook, where should I start to dig? Is it possible this is a port issue?
I had to set the custom port to 8080 since that seems to be the port NGINX is running on from what I can see in the deploy logs and only then was my app responding and working. However there's an option that would allow me to use port 9000

the webhook url was set up to be sent to the railway default address which was still set to 80
But maybe one final clarification, what's up with that 9000 port and do I even need it? NGINX seems to start on 8080 and everything works properly through that port
9 months ago
> what do you mean by service?
9 months ago
thats php-fpm, you can think of it as the php interpreter, it runs on port 9000 and nginx makes requests to it via that port internally, but you should ignore it here, you do want port 8080 set
9 months ago
so to re-cap, you are all good now that the port is set to 8080
9 months ago
be my guest
9 months ago
!s
Status changed to Solved brody • 9 months ago