clonemeagain / osticket-slack

a Slack plugin for osTicket
MIT License
47 stars 34 forks source link

1.11 Compatability ? #19

Open Shadow00Caster opened 5 years ago

Shadow00Caster commented 5 years ago

We are running 1.11 latest and sometimes it will work, other times it will generate a Slack posting issue!

Error sending to: <slack endpoint> Http code: 400 curl-error: 0

clonemeagain commented 5 years ago

Had to google https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400

Hmm, that's not good. Not sure what would cause that. I'll dig into it and have a look. tbh, I haven't used slack plugin in ages. Are you getting any errors in your server or admin logs? Can you try this branch: https://github.com/clonemeagain/osticket-slack/tree/upgrading_error_handling and see if that helps?

Shadow00Caster commented 5 years ago

@clonemeagain Testing it out, will let you know, initial test ticket and reply works.

Shadow00Caster commented 5 years ago

@clonemeagain So it appears to be working better, every now and then I get error Slack:No Url for Curl! with message We need that webhook.. this is an error, because it shouldn't get here without one!