-
-
Notifications
You must be signed in to change notification settings - Fork 7
github webhook test returns 500 #122
Comments
i'm so sorry that i havent responded to this issue yet. somehow i completely missed the notification for it when you posted it. did you end up having any luck resolving the problem? which version were you running at the time? do you still have the problem with the latest version? |
my best guess is that the webhook was being sent as if you're still interested in getting this working, please let me know if this does this trick. this has caught me a number of times in the past since it is the default choice when you set up the webhook. i thought this was documented, but somehow it was not, so i added a note about it in the steps for setting up webhooks unfortunately, the handling of this situation isn't working as intended currently. while i coded it to respond with a helpful message, i have an open issue to fix because the incoming request isn't parsed correctly, so it fails to get to that helpful hint. |
Hey travi, thanks for reaching out. I think you are right. I changed the webhook to json and now the app is not crashing. Thanks for adding this information to the README. I just looked into the logs and I received a few requests, which did not crash :)
Is this a correct response? Can I find some documentation about the different request flows, so I can verify the correctness of the setup? Edit: |
unfortunately, i have not gotten around to adding more detail to the response for why the webhook was skipped, so there isn't much beyond what you are already digging into. if you're interested in sending a PR to add more detailed logs, i'd be happy to work through it with you. the one other place worth digging into that could provide some insight before we get to the point of modifying code is the list of responses captured by github for the webhook definition. if you go back to where you set up the webhook (repo settings > webhook > your webhook) and scroll down past the webhook definition details, you'll find the list of responses. assuming you configured github to send the it is quite common to get several from the log you show above, it isn't (yet, at least) getting to the point of trying to accept. if you look at the list of responses, are you getting any |
thank you for continuing to ask about documentation. i'm certain we can get through any issues you might have remaining, but it will have to be fairly manual for now. even with good intentions, i havent gotten some of this stuff documented as well as i'd like. i might not get this done right away, but i have at least added an issue for documenting the basic flow with some debugging hints so that i remember to get back to that sometime. i would certainly like to make this process smoother for others in the future. working through these types of issues highlights the gaps that i havent closed yet since i've already become a bit blind to them. again, thanks for the nudge. |
Nice, it is working. It already merged 2 patches. Thank you for this great product. Maybe you are right and there is no need for addiitonal logging. Thanks for helping me with setting the project up. |
awesome. glad its working! agreed on the readme updates, i'll be sure to get something better out there once i get some time to sit down and write out a quick flow outline. thanks so much for giving also, don't hesitate to bump the thread if i dont at least respond. sorry again that it took me so long to spot these. i'm normally pretty on top of notifications, so i don't know how i missed them. |
sure, thank you for this awesome project! |
Hello,
I managed to deploy the app to heroku. Unfortunately my github webhook test is throwing an error.
What I did
Any idea what I did wrong?
The text was updated successfully, but these errors were encountered: