Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mattermost Notifications "MethodNotAllowed" #2055

Closed
PromoFaux opened this issue Mar 9, 2018 · 7 comments
Closed

Mattermost Notifications "MethodNotAllowed" #2055

PromoFaux opened this issue Mar 9, 2018 · 7 comments

Comments

@PromoFaux
Copy link

Ombi build Version:

V 3.0.2970

Update Branch:

master

Media Sever:

Plex

Media Server Version:

Operating System:

Debian, though running Ombi with the LinuxServer/Ombi docker container

Ombi Applicable Logs (from /logs/ directory or the Admin page):


2018-03-09 11:39:16.708 +00:00 [Error] StatusCode: MethodNotAllowed, Reason: Method Not Allowed, RequestUri: https://redacted/hooks/redacted/

Problem Description:

Post never actually makes it to Mattermost. Log shows MethodNotAllowed

Reproduction Steps:

Add an incoming webhook to Ombi settings.

If it helps any, I actually have an (appaulingly named) Mattermost Webhook client available to use on Nuget

Repo here : https://github.com/promofaux/matterhook.net.matterhookclient

@seanvree
Copy link

Yeah, I'm getting this to.

Windows 10 X64

@tidusjar
Copy link
Member

@PromoFaux I looked at your nuget package but it's targeting .Net Framework, So I cannot use it!

@PromoFaux
Copy link
Author

It was something I just threw together for my own use... I can take a look into .NET Standard 2.0 if you like?

@tidusjar
Copy link
Member

It's your choice, i've currently taken your classes (and provided the sources and credit under GPL 3.0) and tweaked them slightly for my use. If you do convert it then i'll pull down your library.

tidusjar added a commit that referenced this issue Mar 23, 2018
@PromoFaux
Copy link
Author

@tidusjar - Just pushed v.1.2.4 with .NET Standard support... I think! I'm new to this multiple frameworks game :)

https://www.nuget.org/packages/Matterhook.NET.MatterhookClient/1.2.4

@tidusjar
Copy link
Member

Can you please check the develop branch for the fix

@PromoFaux I shall update to that now.

@PromoFaux
Copy link
Author

PromoFaux commented Mar 23, 2018

But either way, as long as I can get MM notifications from my Ombi install, I'm happy :D

Not sure If I can switch branches on the linuxserver docker image.. but I'll take a look

@tidusjar tidusjar mentioned this issue Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants