Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to use with Valet #21

Open
craigrileyuk opened this issue May 22, 2023 · 0 comments
Open

Not able to use with Valet #21

craigrileyuk opened this issue May 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@craigrileyuk
Copy link

craigrileyuk commented May 22, 2023

Is your feature request related to a problem? Please describe.
When using gc listen, the webhooks are forwarded using 'dial tcp' lookup for the hostname. This seems to bypass the DNS routing that Laravel Valet sets up and results in a "no such host" error.

# Example
gc listen -f "http://localvaletsite.test/admin/webhooks/gateway/go-cardless"
# Result
2023/05/22 07:36:00 Error: Post "http://localvaletsite.test/admin/webhooks/gateway/go-cardless": dial tcp: lookup localvaletsite.test on 8.8.8.8:53: no such host

I've tried just forwarding to a php artisan serve endpoint as well, but that doesn't seem to resolve either.

@craigrileyuk craigrileyuk added the enhancement New feature or request label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant