Trying to turn on message notifications for any of the project via https://apps.fedoraproject.org/github2fedmsg returns a server error (500 in the HTTP response).
in matter of days.
@phracek FYI
This is what shows in the error_log:
IOError: {u'documentation_url': u'https://docs.github.com/rest', u'message': u'Bad credentials', 'status_code': 401}
So there is something wrong in how we're setting up the web hook
@pingou I have logged in over FAS account and I am also a member of the https://github.com/sclorg/container-common-scripts repository. I have the same problem as @hhorak described.
I have logged out and logged in again, but no change.
The ticket is filed for enabling github2fedmsg for repository container-common-scripts
@phracek I don't think the issue is on your side, I could reproduce it. It feels more like a bug in github2fedmsg itself, which none of us touched in over a year :(
Metadata Update from @smooge: - Issue tagged with: medium-gain, medium-trouble
@pingou Is there any workaround, how to enable sending messages from our repository? Something like adding the repo into a database?
Metadata Update from @kevin: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: dev
Hi Folks, is there any progress? I see a message "Sorry: there was an error on the server"
Could this be related to https://github.com/fedora-infra/github2fedmsg/issues/17 and @ralph 's tokens are no longer valid? :)
Very possible. I looked at it quickly but I had no idea which token is which and how to renew them. I have found a page where you can get tokens, but there are two in the config file, no idea which is which, if both needs to be renewed or just one.
@humaton and I have a little less hairs on our heads but we got github2fedmsg back on its feet :)
Could you check on your side and confirm?
Metadata Update from @pingou: - Issue assigned to pingou
@hhorak can you look and see if it's fixed now?
It is not, from Firefox browser console (even after cleaning cookies and logging out&in):
GET https://apps.fedoraproject.org/github2fedmsg/api/github_org_sclorg/sclorg/ansible-tests/toggle Status500 Internal Server Error VersionHTTP/2 Transferred867 B (527 B size) Referrer Policysame-origin
Could you ping me on IRC? I'd like to check the logs if you can reproduce it :)
"forget github authz, then re link" worked, no longer to see the error. thanks, closing.
Metadata Update from @hhorak: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Alright, we figured it out with @hhorak on IRC.
I think, since we changed the 0Auth token to github, people need to "Forget github authz" then click on "Link with github" again to re-generate the token between that user account and github.
From there, @hhorak was able to add/remove project fine.
Login to comment on this ticket.