linear-sync icon indicating copy to clipboard operation
linear-sync copied to clipboard

Internal Server Error when connecting Github or deleting account, cannot disable a connection

Open janbaykara opened this issue 3 years ago • 3 comments

Something went wrong with the Linear->Github syncing (for Github-created issues) so I tried to 'reset' the connection.

  • Clicking "disable" produced this error: Failed to disable issue sync (:github_webhook_disable_failure) Screenshot 2022-10-27 at 12 34 56
  • I tried reconnecting the Github, just in case something was going wrong there, and got an Internal Server Error Screenshot 2022-10-27 at 12 32 33
  • When I reloaded the page, I got stuck on the login / "connect your Github" flow Screenshot 2022-10-27 at 12 27 58
  • Somehow the view changed back to the connections page, so I tried to just delete the account, and again got an Internal Server Error.
  • When I reloaded the page, I got this notice: "Failed to delete your LinearSync account, please email [email protected] for assistance." Screenshot 2022-10-27 at 12 34 51

I've manually removed the webhooks and plan to create a new connection with a new API key, just filing this bug in case it's helpful for smoothing things out in future. It's no problem now but if I set up 10 syncs in future and then had to manually disable and recreate them, that would be a bit of a headache.

janbaykara avatar Oct 27 '22 11:10 janbaykara

Related to this potentially, the app is perceiving webhooks which aren't there:

What the app thinks

Screenshot 2022-10-27 at 12 39 37

No such webhooks in Linear

Screenshot 2022-10-27 at 12 41 27

No such webhooks in the Github repo

Screenshot 2022-10-27 at 12 40 01

janbaykara avatar Oct 27 '22 11:10 janbaykara

Solution so far has been to:

  • Delete the API key in Linear, create a new one
  • Log in with the new API key
  • Connect to Github
    • It was glitching out, so I had to manually delete the integration in Github and then retry via linear-sync.com
  • Now I see the same connection, but this time I can disable it!

janbaykara avatar Oct 27 '22 11:10 janbaykara

Thank you for the detailed report, seems like the connection to GitHub needs work. I'm planning on a release this weekend to address this and your other issues. Thank you for contributing!

jtormey avatar Oct 27 '22 14:10 jtormey