I’ve been using the Discord Notifier for over a year without issue, Yesterday I started getting the following traceback in the logs for a job.
Has anybody else encountered this issue, and/or where should I start troubleshooting this?
I opened a support ticket with Discord to try to troubleshoot this more and shortly thereafter the plugin started functioning without error. I have not heard by from Discord that any action was taken by them.
I’m using the discord notifier plugin daily and have not yet seen this exception in my logs. I’m running the same version as you on Jenkins 2.384 with Java 11.
It’s possibly worth to raise an issue on the plugin repository too, no?
I don’t think it was an issue with the plugin, but rather an issue with discord. I can’t say that with any confidence as discord support has yet to even acknowledge the support ticket I opened. But opening the ticket seems to have resolved the issue for me.
Sending notification to Discord.
Mine just magically started working without any changes to jenkins. I did email support asking for a way to get better logging of the error from discord and never even got an acknowledgement of the email. A day later the plugin started sending notifications again.
I seem to recall that the error message I was seeing basically says the api call failed. But not much on WHY it failed. One of my theories was that my webhook had been throttled due to traffic? But I never could find proof of that.
I really wish I had more concrete info to give you.
I just figure out, when i use ‘env’ in parameters i got the error.
And work with a simple configuration like this.
discordSend description: ‘TEST’, footer: ‘Teste’, webhookURL: ‘https://discordapp.com/api/webhooks/token’