Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Webhook is falling #58

Closed
nithinnitzarya opened this issue Jul 31, 2018 · 2 comments
Closed

Webhook is falling #58

nithinnitzarya opened this issue Jul 31, 2018 · 2 comments
Labels
unconfirmed Unconfirmed yet if it is a true bug/issue.

Comments

@nithinnitzarya
Copy link

Can anyone please help me to find a solution for this?
Why this is happening? I am getting a lot of emails like this.

Your webhook for orders/cancelled at //url is failing to return a successful response. This webhook has been attempted 2 times. If your webhook continues to fail, it will be removed and your application will not receive any more notifications. Your webhook for orders/cancelled at //url is failing to return a successful response. This webhook has been attempted 2 times. If your webhook continues to fail, it will be removed and your application will not receive any more notifications.
Your webhook for orders/cancelled at //url cancelled is failing to return a successful response.
This webhook has been attempted 2 times. If your webhook continues to fail, it will be removed and your application will not receive any more notifications.
@ncpope
Copy link
Contributor

ncpope commented Jul 31, 2018

Have you tried the steps in the wiki? You can find the instructions here: https://github.com/ohmybrew/laravel-shopify/wiki/Creating-Webhooks

If you have, can you show the related code that you wrote such as your routes and your jobs.

Do you have a queue worker running that should be responding to this job? This wouldn't cause the error above but it's something to keep in mind.

Are you sending this to an https route? Shopify sends webhooks to publicly accessible url's. You wouldn't be able to send this to your localhost unless it's publicly accessible. If your app is not exposed to the internet and you are using Laravel valet you can try running valet share

Hopefully this helps

@gnikyt
Copy link
Owner

gnikyt commented Jul 31, 2018

@ncpope Thanks!

As ncpope stated, check it out. But I noticed your webhook errors have "//" for the url, I think it's not setup correctly, it has a bad url somehow possibility. You may need to use the API to kill all existing webhooks and start fresh.

@gnikyt gnikyt added the unconfirmed Unconfirmed yet if it is a true bug/issue. label Aug 2, 2018
@gnikyt gnikyt closed this as completed Aug 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
unconfirmed Unconfirmed yet if it is a true bug/issue.
Projects
None yet
Development

No branches or pull requests

3 participants