deployer icon indicating copy to clipboard operation
deployer copied to clipboard

Bugsnag Recipe not working due to API change

Open shakalandy opened this issue 2 years ago • 1 comments

  • Deployer Version: 7.2.0
  • Deployment OS: Ubuntu 20.04 LTS

The Bugsnag API changed and the old API Endpoint is not reachable anymore:

[staging]  Deployer\Exception\HttpieException  in Httpie.php on line 186:
[staging]
[staging]   Failed to connect to notify.bugsnag.com port 443 after 4 ms: Couldn't connect to server
[staging]
ERROR: Task bugsnag:notify failed!
task deploy:failed
task deploy:unlock
❯ telnet notify.bugsnag.com 443
Trying ::...
telnet: connect to address ::: Connection refused
Trying 0.0.0.0...
telnet: connect to address 0.0.0.0: Connection refused
telnet: Unable to connect to remote host

The new Endpoint for the API is: https://build.bugsnag.com/

From what I can see the spec also changed, at least regarding source control and metadata: https://bugsnagbuildapi.docs.apiary.io/#reference/0/build/notify-of-a-build

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

shakalandy avatar Mar 01 '23 09:03 shakalandy

Thanks for the issue, want to provide a PR for the fix? :-)

Let me rephrase that:

Thanks for the issue! <3<3

Want to provide a PR for the fix? :-)

Schrank avatar Mar 01 '23 10:03 Schrank