-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Receive error when enabling Shopify sync #3502
Comments
The cause of this is that here we get the current domain and send that to Shopify as the inbound address. |
The best solution here is to use a tunnelling tool such as ngrok. |
I think the point would be that it's a common use case to have the server that would receive webhooks be different from the one that you would be running the admin on. For example almost everywhere I have worked things like the admin tool are run within a VPC whereas things which need to be exposed to the internet are run in a different cluster with different addressing. Or if you use a service like RunScope (an API proxy). The key being that there are a lot of different configurations here and I think we should allow for them. If we are worried that people won't know what that is (hopefully not if they are configuring webhooks?) we could prepopulate that field with the current domain? That's why I think this should be a user-specified option rather than just grabbing the URL of the server you happen to be on at the moment. |
@zenweasel Just found another reason that this was not working. The |
Both the reason for this issue were fixed in the PR. |
Expected behavior
No error
Actual behavior
Received a "Error setting up shopify sync" when clicking on "Setup Sync" button
Steps to reproduce the behavior
Versions
The text was updated successfully, but these errors were encountered: