Jump to content

New Plugin: Emby.Notification.Slack


ackbarr

Recommended Posts

Natilus13

@@fizz55

 

Yeah, sorry... didn't really give you much to work with. My bad ;-)

 

I know any ports that need to be open are, I've tried doing a few reinstalls of the server and the plugin. I am running the server on macOS 10.15.3 and I typically use Chrome as my browser. As for the error, it was pretty non-descript "There was an error sending the test notification. Please check your notification settings and try again."

 

All that being said, I think I may just look at building my own solution instead of trying to figure out why this one just stopped working for me.

 

I can at least confirm that your update did bring back the settings screen for the existing plugin at least :-)

Link to comment
Share on other sites

fizz55

Firstly, hats off sir!  I found this plugin just before it broke, but in that short time thought it was great!

 

How do I go about testing it?

 

Download the plugin from my Github release and copy to the Emby server plugin directory. This location depends on your platform. I'm running Emby in a jail on FreeNAS, so it needs to go in 

/var/db/emby-server/plugins

Your mileage may vary, but I'm sure the docs or Google will tell you where exactly to put it  :)

  • Like 1
Link to comment
Share on other sites

fizz55

@@fizz55

 

Yeah, sorry... didn't really give you much to work with. My bad ;-)

 

I know any ports that need to be open are, I've tried doing a few reinstalls of the server and the plugin. I am running the server on macOS 10.15.3 and I typically use Chrome as my browser. As for the error, it was pretty non-descript "There was an error sending the test notification. Please check your notification settings and try again."

 

All that being said, I think I may just look at building my own solution instead of trying to figure out why this one just stopped working for me.

 

I can at least confirm that your update did bring back the settings screen for the existing plugin at least :-)

 

I was also about to build my own solution, but then I got this working again pretty easily  :lol: sadly not for your system..

could you confirm that there's no extra error log in the developer console in Chrome that might be of help?

 

Thanks for confirming that the settings page works again though!

 

And good luck building your own solution, I hope to hear about it when it's ready for testing  ;)

Link to comment
Share on other sites

HolyGigi

@@fizz55 Thanks a lot, it's working perfectly! 

 

For those with issues, the plugin is located in YOUR-USER\AppData\Roaming\Emby-Server\system\plugins on Windows.

 

After setting up a webhook in Slack/Discord, make sure to add a "/slack" in Emby, otherwise it wont work. 

  • Like 1
Link to comment
Share on other sites

horstepipe

@@Luke

The developer of the plugin doesn’t seem to be active anymore. Would you mind to take a look at the escaping of special characters like „Ä“ „Ö“ „Ü“ if you find some free time somewhen?

@@fizz55

 

Hey fizz,

Would you mind to take a look at this one if you find time and motivation? :-)

Link to comment
Share on other sites

fizz55

@@fizz55

 

Hey fizz,

Would you mind to take a look at this one if you find time and motivation? :-)

 

I made a new release available on Github. Can you test if your issues have been resolved?

  • Like 1
Link to comment
Share on other sites

adrianwi

Download the plugin from my Github release and copy to the Emby server plugin directory. This location depends on your platform. I'm running Emby in a jail on FreeNAS, so it needs to go in 

/var/db/emby-server/plugins

Your mileage may vary, but I'm sure the docs or Google will tell you where exactly to put it  :)

 

Thanks for the quick reply!  I downloaded the latest version from github and copied to the right folder on my FreeNAS box.

 

I'm still seeing the spinning wheel when I'm trying to save my settings, and don't know whether this is a problem with the plugin or somewhere on the way?

 

I'm actually running a Mattermost server, but it had worked in the previous version of the plugin, at least for a little while.

Link to comment
Share on other sites

fizz55

Thanks for the quick reply! I downloaded the latest version from github and copied to the right folder on my FreeNAS box.

 

I'm still seeing the spinning wheel when I'm trying to save my settings, and don't know whether this is a problem with the plugin or somewhere on the way?

 

I'm actually running a Mattermost server, but it had worked in the previous version of the plugin, at least for a little while.

I noticed chrome caches the configuration page, so you need to clear site cache and reload your page.

If the issue still persists, there should be an error log in the developer console (F12).

Are you connecting through a reverse proxy? (if so, can you try loading the page via ip directly?)

Link to comment
Share on other sites

adrianwi

I've had another go, but still no joy.

 

I am connecting through a reverse proxy, but that's working for notifications from the FreeNAS dashboard, so I don't think thats the problem.

 

I did try connecting directly to the IP webhook, but getting the same thing.

 

I've attached a screenshot and some of the Chrome console code.

 

Thanks

 

5e637b8c26068_ScreenShot20200307at104229

connectionmanager.js?v=4.3.1.0:1 Begin ConnectionManager constructor
app.js?v=4.3.1.0:1 loading ApiClient singleton
app.js?v=4.3.1.0:1 creating ApiClient singleton
apiclient.js?v=4.3.1.0:1 ApiClient serverAddress: http://192.168.168.25:8096
apiclient.js?v=4.3.1.0:1 ApiClient appName: Emby Web
apiclient.js?v=4.3.1.0:1 ApiClient appVersion: 4.3.1.0
apiclient.js?v=4.3.1.0:1 ApiClient deviceName: Chrome
apiclient.js?v=4.3.1.0:1 ApiClient deviceId: TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMzIgU2FmYXJpLzUzNy4zNnwxNTgzNTc3NjM0ODU1
credentials.js?v=4.3.1.0:1 credentials initialized with: {"Servers":[{"DateLastAccessed":1583577639195,"LastConnectionMode":2,"ManualAddress":"http://192.168.168.25:8096","manualAddressOnly":true,"Type":"Server","Name":"embyms","Id":"393a15a542554492874b07fef58aadf1","LocalAddress":"http://192.168.168.25:8096","RemoteAddress":"https://emby.aw1.co.uk:8290","UserId":"a0c8df040c7948c691d73deb6f3c9af8","AccessToken":"cb7d61d59ede4270835b1df913284048"}]}
app.js?v=4.3.1.0:1 loaded ApiClient singleton
app.js?v=4.3.1.0:1 initAfterDependencies promises resolved
app.js?v=4.3.1.0:1 Using default fonts
app.js?v=4.3.1.0:1 Loading installed plugins
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/playbackvalidation
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/playaccessvalidation
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/experimentalwarnings
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/logoscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/backdropscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/photoscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/htmlaudioplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/htmlvideoplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/photoplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/sessionplayer
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/chromecast/chromecastplayer
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/youtubeplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/confirmstillplaying/plugin
router.js?v=4.3.1.0:1 Setting page base to /web
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
app.js?v=4.3.1.0:1 Begin onAppReady
app.js?v=4.3.1.0:1 onAppReady - loading dependencies
app.js?v=4.3.1.0:1 Loaded dependencies in onAppReady
app.js?v=4.3.1.0:1 Defining core routes
router.js?v=4.3.1.0:1 Defining route: /plugins/addplugin.html
router.js?v=4.3.1.0:1 Defining route: /channelsettings.html
router.js?v=4.3.1.0:1 Defining route: /startup/connectlogin.html
router.js?v=4.3.1.0:1 Defining route: /startup/connectsignup.html
router.js?v=4.3.1.0:1 Defining route: /startup/welcome.html
router.js?v=4.3.1.0:1 Defining route: /dashboard.html
router.js?v=4.3.1.0:1 Defining route: /dashboardgeneral.html
router.js?v=4.3.1.0:1 Defining route: /network/network.html
router.js?v=4.3.1.0:1 Defining route: /devices/devices.html
router.js?v=4.3.1.0:1 Defining route: /devices/device.html
router.js?v=4.3.1.0:1 Defining route: /devices/cameraupload.html
router.js?v=4.3.1.0:1 Defining route: /edititemmetadata.html
router.js?v=4.3.1.0:1 Defining route: /encodingsettings.html
router.js?v=4.3.1.0:1 Defining route: /startup/forgotpassword.html
router.js?v=4.3.1.0:1 Defining route: /startup/forgotpasswordpin.html
router.js?v=4.3.1.0:1 Defining route: /home.html
router.js?v=4.3.1.0:1 Defining route: /list/list.html
router.js?v=4.3.1.0:1 Defining route: /servermenu/servermenu.html
router.js?v=4.3.1.0:1 Defining route: /index.html
router.js?v=4.3.1.0:1 Defining route: /item/item.html
router.js?v=4.3.1.0:1 Defining route: /librarysetup/library.html
router.js?v=4.3.1.0:1 Defining route: /librarysetup/advanced.html
router.js?v=4.3.1.0:1 Defining route: /livetv/livetv.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/schedulesdirect.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/xmltv.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/embydata.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/guideprovider.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvsettings.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvstatus.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvtuner.html
router.js?v=4.3.1.0:1 Defining route: /logs/logs.html
router.js?v=4.3.1.0:1 Defining route: /startup/login.html
router.js?v=4.3.1.0:1 Defining route: /startup/manuallogin.html
router.js?v=4.3.1.0:1 Defining route: /metadataadvanced.html
router.js?v=4.3.1.0:1 Defining route: /movies/movies.html
router.js?v=4.3.1.0:1 Defining route: /games/games.html
router.js?v=4.3.1.0:1 Defining route: /homevideos/homevideos.html
router.js?v=4.3.1.0:1 Defining route: /musicvideos/musicvideos.html
router.js?v=4.3.1.0:1 Defining route: /music/music.html
router.js?v=4.3.1.0:1 Defining route: /managedownloads.html
router.js?v=4.3.1.0:1 Defining route: /mysync.html
router.js?v=4.3.1.0:1 Defining route: /mysyncjob.html
router.js?v=4.3.1.0:1 Defining route: /notificationsetting.html
router.js?v=4.3.1.0:1 Defining route: /notificationsettings.html
router.js?v=4.3.1.0:1 Defining route: /plugins/plugincatalog.html
router.js?v=4.3.1.0:1 Defining route: /plugins/plugins.html
router.js?v=4.3.1.0:1 Defining route: /scheduledtasks/scheduledtask.html
router.js?v=4.3.1.0:1 Defining route: /dashboard/releasenotes.html
router.js?v=4.3.1.0:1 Defining route: /scheduledtasks/scheduledtasks.html
router.js?v=4.3.1.0:1 Defining route: /search/search.html
router.js?v=4.3.1.0:1 Defining route: /startup/manualserver.html
router.js?v=4.3.1.0:1 Defining route: /startup/selectserver.html
router.js?v=4.3.1.0:1 Defining route: /serveractivity.html
router.js?v=4.3.1.0:1 Defining route: /apikeys/apikeys.html
router.js?v=4.3.1.0:1 Defining route: /support.html
router.js?v=4.3.1.0:1 Defining route: /supporterkey.html
router.js?v=4.3.1.0:1 Defining route: /syncactivity.html
router.js?v=4.3.1.0:1 Defining route: /syncsettings.html
router.js?v=4.3.1.0:1 Defining route: /tv/tv.html
router.js?v=4.3.1.0:1 Defining route: /useredit.html
router.js?v=4.3.1.0:1 Defining route: /userlibraryaccess.html
router.js?v=4.3.1.0:1 Defining route: /usernew.html
router.js?v=4.3.1.0:1 Defining route: /userparentalcontrol.html
router.js?v=4.3.1.0:1 Defining route: /userpassword.html
router.js?v=4.3.1.0:1 Defining route: /users/users.html
router.js?v=4.3.1.0:1 Defining route: /settings/settings.html
router.js?v=4.3.1.0:1 Defining route: /settings/playback.html
router.js?v=4.3.1.0:1 Defining route: /settings/subtitles.html
router.js?v=4.3.1.0:1 Defining route: /settings/display.html
router.js?v=4.3.1.0:1 Defining route: /settings/homescreen.html
router.js?v=4.3.1.0:1 Defining route: /settings/profile.html
router.js?v=4.3.1.0:1 Defining route: /settings/password.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardagreement.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardremoteaccess.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardfinish.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardlibrary.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardsettings.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardstart.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizarduser.html
router.js?v=4.3.1.0:1 Defining route: /videoosd/videoosd.html
router.js?v=4.3.1.0:1 Defining route: /configurationpage
router.js?v=4.3.1.0:1 Defining route: /
registrationservices.js?v=4.3.1.0:1 validateFeature: themes
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
connectionmanager.js?v=4.3.1.0:1 Begin connect
connectionmanager.js?v=4.3.1.0:1 Begin getAvailableServers
connectionmanager.js?v=4.3.1.0:1 Begin getConnectServers
connectionmanager.js?v=4.3.1.0:1 getRegistrationInfo returning cached info
connectionmanager.js?v=4.3.1.0:1 Begin connectToServers, with 1 servers
connectionmanager.js?v=4.3.1.0:1 begin connectToServer
connectionmanager.js?v=4.3.1.0:1 tryReconnect: http://192.168.168.25:8096
connectionmanager.js?v=4.3.1.0:1 tryReconnectToUrl: http://192.168.168.25:8096
connectionmanager.js?v=4.3.1.0:1 ConnectionManager requesting url: http://192.168.168.25:8096/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 fetchWithTimeout: timeoutMs: 20000, url: http://192.168.168.25:8096/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 fetchWithTimeout: succeeded connecting to url: http://192.168.168.25:8096/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 ConnectionManager response status: 200, url: http://192.168.168.25:8096/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 ConnectionManager requesting url: http://192.168.168.25:8096/emby/System/Info
connectionmanager.js?v=4.3.1.0:1 ConnectionManager response status: 200, url: http://192.168.168.25:8096/emby/System/Info
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
apiclient.js?v=4.3.1.0:1 Setting server address to http://192.168.168.25:8096
connectionmanager.js?v=4.3.1.0:1 calling apiClient.ensureWebSocket
apiclient.js?v=4.3.1.0:1 opening web socket with url: ws://192.168.168.25:8096/embywebsocket?api_key=cb7d61d59ede4270835b1df913284048&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMzIgU2FmYXJpLzUzNy4zNnwxNTgzNTc3NjM0ODU1
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/DisplayPreferences/usersettings?userId=a0c8df040c7948c691d73deb6f3c9af8&client=emby
apiclient.js?v=4.3.1.0:1 web socket connection opened
registrationservices.js?v=4.3.1.0:1 validateFeature: themes
connectionmanager.js?v=4.3.1.0:1 resolving connectToServers with result.State: SignedIn
connectionmanager.js?v=4.3.1.0:1 getRegistrationInfo returning cached info
router.js?v=4.3.1.0:1 appRouter - processing path request /web#!/configurationpage
router.js?v=4.3.1.0:1 appRouter - user is authenticated
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/web/configurationpages?Name=Slack%20Notifications
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/Sessions/Capabilities/Full
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/web/configurationpages?pageType=PluginConfiguration&EnableInMainMenu=true
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/users
VM237:83 Uncaught (in promise) TypeError: $(...).html(...).selectmenu is not a function
    at <anonymous>:83:29
(anonymous) @ VM237:83
Promise.then (async)
(anonymous) @ VM237:77
dispatch @ jquery.slim.min.js?v=4.3.1.0:2
v.handle @ jquery.slim.min.js?v=4.3.1.0:2
onViewChange @ viewmanager.js?v=4.3.1.0:1
(anonymous) @ viewmanager.js?v=4.3.1.0:1
Promise.then (async)
ViewManager.loadView @ viewmanager.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
loadContentUrl @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
onInitComplete @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ router.js?v=4.3.1.0:1
handleRoute @ router.js?v=4.3.1.0:1
page.dispatch @ page.js?v=4.3.1.0:1
page.replace @ page.js?v=4.3.1.0:1
page.start @ page.js?v=4.3.1.0:1
page @ page.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
appRouter.start @ router.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
onAppReady @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
init @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
notifications.js?v=4.3.1.0:1 [Deprecation] The Notification API may no longer be used from insecure origins. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
onOneDocumentClick @ notifications.js?v=4.3.1.0:1
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/Plugins/e7bb7839-a69f-409e-a26e-ad7e0fab31cd/Configuration
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/Notification/Slack/Test/a0c8df040c7948c691d73deb6f3c9af8
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/Notification/Slack/Test/79ad4cab3c4845869e1c5652acb34476
apiclient.js?v=4.3.1.0:1 POST http://192.168.168.25:8096/emby/Notification/Slack/Test/79ad4cab3c4845869e1c5652acb34476 500 (Internal Server Error)
getFetchPromise @ apiclient.js?v=4.3.1.0:1
ApiClient.fetch @ apiclient.js?v=4.3.1.0:1
ApiClient.ajax @ apiclient.js?v=4.3.1.0:1
(anonymous) @ VM237:60
(anonymous) @ VM237:58
Promise.then (async)
(anonymous) @ VM237:49
dispatch @ jquery.slim.min.js?v=4.3.1.0:2
v.handle @ jquery.slim.min.js?v=4.3.1.0:2
Link to comment
Share on other sites

fizz55

 

I've had another go, but still no joy.

 

I am connecting through a reverse proxy, but that's working for notifications from the FreeNAS dashboard, so I don't think thats the problem.

 

I did try connecting directly to the IP webhook, but getting the same thing.

 

I've attached a screenshot and some of the Chrome console code.

 

Thanks

 

5e637b8c26068_ScreenShot20200307at104229

connectionmanager.js?v=4.3.1.0:1 Begin ConnectionManager constructor
app.js?v=4.3.1.0:1 loading ApiClient singleton
app.js?v=4.3.1.0:1 creating ApiClient singleton
apiclient.js?v=4.3.1.0:1 ApiClient serverAddress: http://192.168.168.25:8096
apiclient.js?v=4.3.1.0:1 ApiClient appName: Emby Web
apiclient.js?v=4.3.1.0:1 ApiClient appVersion: 4.3.1.0
apiclient.js?v=4.3.1.0:1 ApiClient deviceName: Chrome
apiclient.js?v=4.3.1.0:1 ApiClient deviceId: TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMzIgU2FmYXJpLzUzNy4zNnwxNTgzNTc3NjM0ODU1
credentials.js?v=4.3.1.0:1 credentials initialized with: {"Servers":[{"DateLastAccessed":1583577639195,"LastConnectionMode":2,"ManualAddress":"http://192.168.168.25:8096","manualAddressOnly":true,"Type":"Server","Name":"embyms","Id":"393a15a542554492874b07fef58aadf1","LocalAddress":"http://192.168.168.25:8096","RemoteAddress":"https://emby.aw1.co.uk:8290","UserId":"a0c8df040c7948c691d73deb6f3c9af8","AccessToken":"cb7d61d59ede4270835b1df913284048"}]}
app.js?v=4.3.1.0:1 loaded ApiClient singleton
app.js?v=4.3.1.0:1 initAfterDependencies promises resolved
app.js?v=4.3.1.0:1 Using default fonts
app.js?v=4.3.1.0:1 Loading installed plugins
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/playbackvalidation
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/playaccessvalidation
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/experimentalwarnings
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/logoscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/backdropscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/photoscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/htmlaudioplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/htmlvideoplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/photoplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/sessionplayer
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/chromecast/chromecastplayer
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/youtubeplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/confirmstillplaying/plugin
router.js?v=4.3.1.0:1 Setting page base to /web
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
app.js?v=4.3.1.0:1 Begin onAppReady
app.js?v=4.3.1.0:1 onAppReady - loading dependencies
app.js?v=4.3.1.0:1 Loaded dependencies in onAppReady
app.js?v=4.3.1.0:1 Defining core routes
router.js?v=4.3.1.0:1 Defining route: /plugins/addplugin.html
router.js?v=4.3.1.0:1 Defining route: /channelsettings.html
router.js?v=4.3.1.0:1 Defining route: /startup/connectlogin.html
router.js?v=4.3.1.0:1 Defining route: /startup/connectsignup.html
router.js?v=4.3.1.0:1 Defining route: /startup/welcome.html
router.js?v=4.3.1.0:1 Defining route: /dashboard.html
router.js?v=4.3.1.0:1 Defining route: /dashboardgeneral.html
router.js?v=4.3.1.0:1 Defining route: /network/network.html
router.js?v=4.3.1.0:1 Defining route: /devices/devices.html
router.js?v=4.3.1.0:1 Defining route: /devices/device.html
router.js?v=4.3.1.0:1 Defining route: /devices/cameraupload.html
router.js?v=4.3.1.0:1 Defining route: /edititemmetadata.html
router.js?v=4.3.1.0:1 Defining route: /encodingsettings.html
router.js?v=4.3.1.0:1 Defining route: /startup/forgotpassword.html
router.js?v=4.3.1.0:1 Defining route: /startup/forgotpasswordpin.html
router.js?v=4.3.1.0:1 Defining route: /home.html
router.js?v=4.3.1.0:1 Defining route: /list/list.html
router.js?v=4.3.1.0:1 Defining route: /servermenu/servermenu.html
router.js?v=4.3.1.0:1 Defining route: /index.html
router.js?v=4.3.1.0:1 Defining route: /item/item.html
router.js?v=4.3.1.0:1 Defining route: /librarysetup/library.html
router.js?v=4.3.1.0:1 Defining route: /librarysetup/advanced.html
router.js?v=4.3.1.0:1 Defining route: /livetv/livetv.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/schedulesdirect.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/xmltv.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/embydata.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/guideprovider.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvsettings.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvstatus.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvtuner.html
router.js?v=4.3.1.0:1 Defining route: /logs/logs.html
router.js?v=4.3.1.0:1 Defining route: /startup/login.html
router.js?v=4.3.1.0:1 Defining route: /startup/manuallogin.html
router.js?v=4.3.1.0:1 Defining route: /metadataadvanced.html
router.js?v=4.3.1.0:1 Defining route: /movies/movies.html
router.js?v=4.3.1.0:1 Defining route: /games/games.html
router.js?v=4.3.1.0:1 Defining route: /homevideos/homevideos.html
router.js?v=4.3.1.0:1 Defining route: /musicvideos/musicvideos.html
router.js?v=4.3.1.0:1 Defining route: /music/music.html
router.js?v=4.3.1.0:1 Defining route: /managedownloads.html
router.js?v=4.3.1.0:1 Defining route: /mysync.html
router.js?v=4.3.1.0:1 Defining route: /mysyncjob.html
router.js?v=4.3.1.0:1 Defining route: /notificationsetting.html
router.js?v=4.3.1.0:1 Defining route: /notificationsettings.html
router.js?v=4.3.1.0:1 Defining route: /plugins/plugincatalog.html
router.js?v=4.3.1.0:1 Defining route: /plugins/plugins.html
router.js?v=4.3.1.0:1 Defining route: /scheduledtasks/scheduledtask.html
router.js?v=4.3.1.0:1 Defining route: /dashboard/releasenotes.html
router.js?v=4.3.1.0:1 Defining route: /scheduledtasks/scheduledtasks.html
router.js?v=4.3.1.0:1 Defining route: /search/search.html
router.js?v=4.3.1.0:1 Defining route: /startup/manualserver.html
router.js?v=4.3.1.0:1 Defining route: /startup/selectserver.html
router.js?v=4.3.1.0:1 Defining route: /serveractivity.html
router.js?v=4.3.1.0:1 Defining route: /apikeys/apikeys.html
router.js?v=4.3.1.0:1 Defining route: /support.html
router.js?v=4.3.1.0:1 Defining route: /supporterkey.html
router.js?v=4.3.1.0:1 Defining route: /syncactivity.html
router.js?v=4.3.1.0:1 Defining route: /syncsettings.html
router.js?v=4.3.1.0:1 Defining route: /tv/tv.html
router.js?v=4.3.1.0:1 Defining route: /useredit.html
router.js?v=4.3.1.0:1 Defining route: /userlibraryaccess.html
router.js?v=4.3.1.0:1 Defining route: /usernew.html
router.js?v=4.3.1.0:1 Defining route: /userparentalcontrol.html
router.js?v=4.3.1.0:1 Defining route: /userpassword.html
router.js?v=4.3.1.0:1 Defining route: /users/users.html
router.js?v=4.3.1.0:1 Defining route: /settings/settings.html
router.js?v=4.3.1.0:1 Defining route: /settings/playback.html
router.js?v=4.3.1.0:1 Defining route: /settings/subtitles.html
router.js?v=4.3.1.0:1 Defining route: /settings/display.html
router.js?v=4.3.1.0:1 Defining route: /settings/homescreen.html
router.js?v=4.3.1.0:1 Defining route: /settings/profile.html
router.js?v=4.3.1.0:1 Defining route: /settings/password.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardagreement.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardremoteaccess.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardfinish.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardlibrary.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardsettings.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardstart.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizarduser.html
router.js?v=4.3.1.0:1 Defining route: /videoosd/videoosd.html
router.js?v=4.3.1.0:1 Defining route: /configurationpage
router.js?v=4.3.1.0:1 Defining route: /
registrationservices.js?v=4.3.1.0:1 validateFeature: themes
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
connectionmanager.js?v=4.3.1.0:1 Begin connect
connectionmanager.js?v=4.3.1.0:1 Begin getAvailableServers
connectionmanager.js?v=4.3.1.0:1 Begin getConnectServers
connectionmanager.js?v=4.3.1.0:1 getRegistrationInfo returning cached info
connectionmanager.js?v=4.3.1.0:1 Begin connectToServers, with 1 servers
connectionmanager.js?v=4.3.1.0:1 begin connectToServer
connectionmanager.js?v=4.3.1.0:1 tryReconnect: http://192.168.168.25:8096
connectionmanager.js?v=4.3.1.0:1 tryReconnectToUrl: http://192.168.168.25:8096
connectionmanager.js?v=4.3.1.0:1 ConnectionManager requesting url: http://192.168.168.25:8096/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 fetchWithTimeout: timeoutMs: 20000, url: http://192.168.168.25:8096/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 fetchWithTimeout: succeeded connecting to url: http://192.168.168.25:8096/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 ConnectionManager response status: 200, url: http://192.168.168.25:8096/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 ConnectionManager requesting url: http://192.168.168.25:8096/emby/System/Info
connectionmanager.js?v=4.3.1.0:1 ConnectionManager response status: 200, url: http://192.168.168.25:8096/emby/System/Info
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
apiclient.js?v=4.3.1.0:1 Setting server address to http://192.168.168.25:8096
connectionmanager.js?v=4.3.1.0:1 calling apiClient.ensureWebSocket
apiclient.js?v=4.3.1.0:1 opening web socket with url: ws://192.168.168.25:8096/embywebsocket?api_key=cb7d61d59ede4270835b1df913284048&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMzIgU2FmYXJpLzUzNy4zNnwxNTgzNTc3NjM0ODU1
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/DisplayPreferences/usersettings?userId=a0c8df040c7948c691d73deb6f3c9af8&client=emby
apiclient.js?v=4.3.1.0:1 web socket connection opened
registrationservices.js?v=4.3.1.0:1 validateFeature: themes
connectionmanager.js?v=4.3.1.0:1 resolving connectToServers with result.State: SignedIn
connectionmanager.js?v=4.3.1.0:1 getRegistrationInfo returning cached info
router.js?v=4.3.1.0:1 appRouter - processing path request /web#!/configurationpage
router.js?v=4.3.1.0:1 appRouter - user is authenticated
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/web/configurationpages?Name=Slack%20Notifications
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/Sessions/Capabilities/Full
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/web/configurationpages?pageType=PluginConfiguration&EnableInMainMenu=true
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/users
VM237:83 Uncaught (in promise) TypeError: $(...).html(...).selectmenu is not a function
    at <anonymous>:83:29
(anonymous) @ VM237:83
Promise.then (async)
(anonymous) @ VM237:77
dispatch @ jquery.slim.min.js?v=4.3.1.0:2
v.handle @ jquery.slim.min.js?v=4.3.1.0:2
onViewChange @ viewmanager.js?v=4.3.1.0:1
(anonymous) @ viewmanager.js?v=4.3.1.0:1
Promise.then (async)
ViewManager.loadView @ viewmanager.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
loadContentUrl @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
onInitComplete @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ router.js?v=4.3.1.0:1
handleRoute @ router.js?v=4.3.1.0:1
page.dispatch @ page.js?v=4.3.1.0:1
page.replace @ page.js?v=4.3.1.0:1
page.start @ page.js?v=4.3.1.0:1
page @ page.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
appRouter.start @ router.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
onAppReady @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
init @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
notifications.js?v=4.3.1.0:1 [Deprecation] The Notification API may no longer be used from insecure origins. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
onOneDocumentClick @ notifications.js?v=4.3.1.0:1
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/Plugins/e7bb7839-a69f-409e-a26e-ad7e0fab31cd/Configuration
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/Notification/Slack/Test/a0c8df040c7948c691d73deb6f3c9af8
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: http://192.168.168.25:8096/emby/Notification/Slack/Test/79ad4cab3c4845869e1c5652acb34476
apiclient.js?v=4.3.1.0:1 POST http://192.168.168.25:8096/emby/Notification/Slack/Test/79ad4cab3c4845869e1c5652acb34476 500 (Internal Server Error)
getFetchPromise @ apiclient.js?v=4.3.1.0:1
ApiClient.fetch @ apiclient.js?v=4.3.1.0:1
ApiClient.ajax @ apiclient.js?v=4.3.1.0:1
(anonymous) @ VM237:60
(anonymous) @ VM237:58
Promise.then (async)
(anonymous) @ VM237:49
dispatch @ jquery.slim.min.js?v=4.3.1.0:2
v.handle @ jquery.slim.min.js?v=4.3.1.0:2
 

 

It says it right there in the log:

"The Notification API may no longer be used from insecure origins. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."

You'll need to set up https to get notifications working again.

Link to comment
Share on other sites

adrianwi

Thanks for helping me try and fix this.  I was testing that inside my network, so using IP connections to the services.

 

I'm getting this when I try using the secure external addresses via the NGINX reverse proxy

connectionmanager.js?v=4.3.1.0:1 Begin ConnectionManager constructor
app.js?v=4.3.1.0:1 loading ApiClient singleton
app.js?v=4.3.1.0:1 creating ApiClient singleton
apiclient.js?v=4.3.1.0:1 ApiClient serverAddress: https://emby.domain
apiclient.js?v=4.3.1.0:1 ApiClient appName: Emby Web
apiclient.js?v=4.3.1.0:1 ApiClient appVersion: 4.3.1.0
apiclient.js?v=4.3.1.0:1 ApiClient deviceName: Chrome
apiclient.js?v=4.3.1.0:1 ApiClient deviceId: TW96aWxsYS81LjAgKE1h**********WwgTWFjIE9TIFggMTBfMTVfMikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyuMzk0NS44OCBT*********YWZhcmkvNTM3LjM2fDE1Nzg2MzkzMTkzODg1
credentials.js?v=4.3.1.0:1 credentials initialized with: {"Servers":[{"DateLastAccessed":1583584168492,"LastConnectionMode":2,"ManualAddress":"https://emby.domain","manualAddressOnly":true,"Type":"Server","Name":"embyms","Id":"393a15a5********874b07fef58aadf1","LocalAddress":"http://192.168.168.25:8096","RemoteAddress":"https://emby.domain:8290","UserId":"a0c8df040c********3deb6f3c9af8","AccessToken":"f23e878*******bd8253af060743"}]}
app.js?v=4.3.1.0:1 loaded ApiClient singleton
app.js?v=4.3.1.0:1 initAfterDependencies promises resolved
app.js?v=4.3.1.0:1 Using default fonts
3manifest.json:1 Manifest: one of 'url' or 'id' is required, related application ignored.
app.js?v=4.3.1.0:1 Loading installed plugins
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/playbackvalidation
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/playaccessvalidation
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/experimentalwarnings
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/logoscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/backdropscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/photoscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/htmlaudioplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/htmlvideoplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/photoplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/sessionplayer
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/chromecast/chromecastplayer
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/youtubeplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/confirmstillplaying/plugin
router.js?v=4.3.1.0:1 Setting page base to /web
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
app.js?v=4.3.1.0:1 Begin onAppReady
app.js?v=4.3.1.0:1 onAppReady - loading dependencies
app.js?v=4.3.1.0:1 Loaded dependencies in onAppReady
app.js?v=4.3.1.0:1 Defining core routes
router.js?v=4.3.1.0:1 Defining route: /plugins/addplugin.html
router.js?v=4.3.1.0:1 Defining route: /channelsettings.html
router.js?v=4.3.1.0:1 Defining route: /startup/connectlogin.html
router.js?v=4.3.1.0:1 Defining route: /startup/connectsignup.html
router.js?v=4.3.1.0:1 Defining route: /startup/welcome.html
router.js?v=4.3.1.0:1 Defining route: /dashboard.html
router.js?v=4.3.1.0:1 Defining route: /dashboardgeneral.html
router.js?v=4.3.1.0:1 Defining route: /network/network.html
router.js?v=4.3.1.0:1 Defining route: /devices/devices.html
router.js?v=4.3.1.0:1 Defining route: /devices/device.html
router.js?v=4.3.1.0:1 Defining route: /devices/cameraupload.html
router.js?v=4.3.1.0:1 Defining route: /edititemmetadata.html
router.js?v=4.3.1.0:1 Defining route: /encodingsettings.html
router.js?v=4.3.1.0:1 Defining route: /startup/forgotpassword.html
router.js?v=4.3.1.0:1 Defining route: /startup/forgotpasswordpin.html
router.js?v=4.3.1.0:1 Defining route: /home.html
router.js?v=4.3.1.0:1 Defining route: /list/list.html
router.js?v=4.3.1.0:1 Defining route: /servermenu/servermenu.html
router.js?v=4.3.1.0:1 Defining route: /index.html
router.js?v=4.3.1.0:1 Defining route: /item/item.html
router.js?v=4.3.1.0:1 Defining route: /librarysetup/library.html
router.js?v=4.3.1.0:1 Defining route: /librarysetup/advanced.html
router.js?v=4.3.1.0:1 Defining route: /livetv/livetv.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/schedulesdirect.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/xmltv.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/embydata.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/guideprovider.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvsettings.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvstatus.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvtuner.html
router.js?v=4.3.1.0:1 Defining route: /logs/logs.html
router.js?v=4.3.1.0:1 Defining route: /startup/login.html
router.js?v=4.3.1.0:1 Defining route: /startup/manuallogin.html
router.js?v=4.3.1.0:1 Defining route: /metadataadvanced.html
router.js?v=4.3.1.0:1 Defining route: /movies/movies.html
router.js?v=4.3.1.0:1 Defining route: /games/games.html
router.js?v=4.3.1.0:1 Defining route: /homevideos/homevideos.html
router.js?v=4.3.1.0:1 Defining route: /musicvideos/musicvideos.html
router.js?v=4.3.1.0:1 Defining route: /music/music.html
router.js?v=4.3.1.0:1 Defining route: /managedownloads.html
router.js?v=4.3.1.0:1 Defining route: /mysync.html
router.js?v=4.3.1.0:1 Defining route: /mysyncjob.html
router.js?v=4.3.1.0:1 Defining route: /notificationsetting.html
router.js?v=4.3.1.0:1 Defining route: /notificationsettings.html
router.js?v=4.3.1.0:1 Defining route: /plugins/plugincatalog.html
router.js?v=4.3.1.0:1 Defining route: /plugins/plugins.html
router.js?v=4.3.1.0:1 Defining route: /scheduledtasks/scheduledtask.html
router.js?v=4.3.1.0:1 Defining route: /dashboard/releasenotes.html
router.js?v=4.3.1.0:1 Defining route: /scheduledtasks/scheduledtasks.html
router.js?v=4.3.1.0:1 Defining route: /search/search.html
router.js?v=4.3.1.0:1 Defining route: /startup/manualserver.html
router.js?v=4.3.1.0:1 Defining route: /startup/selectserver.html
router.js?v=4.3.1.0:1 Defining route: /serveractivity.html
router.js?v=4.3.1.0:1 Defining route: /apikeys/apikeys.html
router.js?v=4.3.1.0:1 Defining route: /support.html
router.js?v=4.3.1.0:1 Defining route: /supporterkey.html
router.js?v=4.3.1.0:1 Defining route: /syncactivity.html
router.js?v=4.3.1.0:1 Defining route: /syncsettings.html
router.js?v=4.3.1.0:1 Defining route: /tv/tv.html
router.js?v=4.3.1.0:1 Defining route: /useredit.html
router.js?v=4.3.1.0:1 Defining route: /userlibraryaccess.html
router.js?v=4.3.1.0:1 Defining route: /usernew.html
router.js?v=4.3.1.0:1 Defining route: /userparentalcontrol.html
router.js?v=4.3.1.0:1 Defining route: /userpassword.html
router.js?v=4.3.1.0:1 Defining route: /users/users.html
router.js?v=4.3.1.0:1 Defining route: /settings/settings.html
router.js?v=4.3.1.0:1 Defining route: /settings/playback.html
router.js?v=4.3.1.0:1 Defining route: /settings/subtitles.html
router.js?v=4.3.1.0:1 Defining route: /settings/display.html
router.js?v=4.3.1.0:1 Defining route: /settings/homescreen.html
router.js?v=4.3.1.0:1 Defining route: /settings/profile.html
router.js?v=4.3.1.0:1 Defining route: /settings/password.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardagreement.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardremoteaccess.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardfinish.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardlibrary.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardsettings.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardstart.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizarduser.html
router.js?v=4.3.1.0:1 Defining route: /videoosd/videoosd.html
router.js?v=4.3.1.0:1 Defining route: /configurationpage
router.js?v=4.3.1.0:1 Defining route: /
registrationservices.js?v=4.3.1.0:1 validateFeature: themes
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
connectionmanager.js?v=4.3.1.0:1 Begin connect
connectionmanager.js?v=4.3.1.0:1 Begin getAvailableServers
connectionmanager.js?v=4.3.1.0:1 Begin getConnectServers
connectionmanager.js?v=4.3.1.0:1 getRegistrationInfo returning cached info
connectionmanager.js?v=4.3.1.0:1 Begin connectToServers, with 1 servers
connectionmanager.js?v=4.3.1.0:1 begin connectToServer
connectionmanager.js?v=4.3.1.0:1 tryReconnect: https://emby.domain
connectionmanager.js?v=4.3.1.0:1 tryReconnectToUrl: https://emby.domain
connectionmanager.js?v=4.3.1.0:1 ConnectionManager requesting url: https://emby.domain/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 fetchWithTimeout: timeoutMs: 20000, url: https://emby.domain/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 fetchWithTimeout: succeeded connecting to url: https://emby.domain/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 ConnectionManager response status: 200, url: https://emby.domain/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 ConnectionManager requesting url: https://emby.domain/emby/System/Info
connectionmanager.js?v=4.3.1.0:1 ConnectionManager response status: 200, url: https://emby.domain/emby/System/Info
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
apiclient.js?v=4.3.1.0:1 Setting server address to https://emby.domain
connectionmanager.js?v=4.3.1.0:1 calling apiClient.ensureWebSocket
apiclient.js?v=4.3.1.0:1 opening web socket with url: wss://emby.domain/socket?api_key=f23e878e050b4169b8bd8253af060743&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfMikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzg2MzkzMTkzODg1
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/DisplayPreferences/usersettings?userId=a0c8df040c7948c691d73deb6f3c9af8&client=emby
chromecastplayer.js?v=4.3.1.0:1 chromecast.initialize
chromecastplayer.js?v=4.3.1.0:1 chromecast init success
apiclient.js?v=4.3.1.0:1 WebSocket connection to 'wss://emby.domain/socket?api_key=f23e878e050b4169b8bd8253af060743&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfMikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzg2MzkzMTkzODg1' failed: Error during WebSocket handshake: Unexpected response code: 404
ApiClient.openWebSocket @ apiclient.js?v=4.3.1.0:1
ApiClient.ensureWebSocket @ apiclient.js?v=4.3.1.0:1
afterConnected @ connectionmanager.js?v=4.3.1.0:1
afterConnectValidated @ connectionmanager.js?v=4.3.1.0:1
(anonymous) @ connectionmanager.js?v=4.3.1.0:1
apiclient.js?v=4.3.1.0:1 web socket closed
apiclient.js?v=4.3.1.0:1 nulling out web socket
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Users/a0c8df040c7948c691d73deb6f3c9af8
registrationservices.js?v=4.3.1.0:1 validateFeature: themes
connectionmanager.js?v=4.3.1.0:1 resolving connectToServers with result.State: SignedIn
connectionmanager.js?v=4.3.1.0:1 getRegistrationInfo returning cached info
router.js?v=4.3.1.0:1 appRouter - processing path request /web#!/configurationpage
router.js?v=4.3.1.0:1 appRouter - user is authenticated
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Users/a0c8df040c7948c691d73deb6f3c9af8
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/web/configurationpages?Name=Slack%20Notifications
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/web/configurationpages?pageType=PluginConfiguration&EnableInMainMenu=true
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/users
VM2067:83 Uncaught (in promise) TypeError: $(...).html(...).selectmenu is not a function
    at <anonymous>:83:29
(anonymous) @ VM2067:83
Promise.then (async)
(anonymous) @ VM2067:77
dispatch @ jquery.slim.min.js?v=4.3.1.0:2
v.handle @ jquery.slim.min.js?v=4.3.1.0:2
onViewChange @ viewmanager.js?v=4.3.1.0:1
(anonymous) @ viewmanager.js?v=4.3.1.0:1
Promise.then (async)
ViewManager.loadView @ viewmanager.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
loadContentUrl @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
onInitComplete @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ router.js?v=4.3.1.0:1
handleRoute @ router.js?v=4.3.1.0:1
page.dispatch @ page.js?v=4.3.1.0:1
page.replace @ page.js?v=4.3.1.0:1
page.start @ page.js?v=4.3.1.0:1
page @ page.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
appRouter.start @ router.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
onAppReady @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
init @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Sessions/Capabilities/Full
index.html#!/configurationpage?name=Slack%20Notifications:1 [DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) <input type=​"password" name=​"fakepasswordremembered" tabindex=​"-1">​
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Plugins/e7bb7839-a69f-409e-a26e-ad7e0fab31cd/Configuration
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Notification/Slack/Test/a0c8df040c7948c691d73deb6f3c9af8
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Notification/Slack/Test/79ad4cab3c4845869e1c5652acb34476
apiclient.js?v=4.3.1.0:1 POST https://emby.domain/Notification/Slack/Test/79ad4cab3c4845869e1c5652acb34476 500 (Internal Server Error)
getFetchPromise @ apiclient.js?v=4.3.1.0:1
ApiClient.fetch @ apiclient.js?v=4.3.1.0:1
ApiClient.ajax @ apiclient.js?v=4.3.1.0:1
(anonymous) @ VM2067:60
(anonymous) @ VM2067:58
Promise.then (async)
(anonymous) @ VM2067:49
dispatch @ jquery.slim.min.js?v=4.3.1.0:2
v.handle @ jquery.slim.min.js?v=4.3.1.0:2
apiclient.js?v=4.3.1.0:1 opening web socket with url: wss://emby.domain/socket?api_key=f23e878e050b4169b8bd8253af060743&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfMikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzg2MzkzMTkzODg1
apiclient.js?v=4.3.1.0:1 WebSocket connection to 'wss://emby.domain/socket?api_key=f23e878e050b4169b8bd8253af060743&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfMikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzg2MzkzMTkzODg1' failed: Error during WebSocket handshake: Unexpected response code: 404
ApiClient.openWebSocket @ apiclient.js?v=4.3.1.0:1
ApiClient.ensureWebSocket @ apiclient.js?v=4.3.1.0:1
ConnectionManager.onAppResume @ connectionmanager.js?v=4.3.1.0:1
onAppResume @ router.js?v=4.3.1.0:1
trigger @ events.js?v=4.3.1.0:1
onAppVisible @ apphost.js?v=4.3.1.0:1
apiclient.js?v=4.3.1.0:1 web socket closed
apiclient.js?v=4.3.1.0:1 nulling out web socket

It looks to me like a problem connecting to the Mattermost websocket, but it's strange that the FreeNAS notification is working fine as is Mattermost

Link to comment
Share on other sites

fizz55

Thanks for helping me try and fix this. I was testing that inside my network, so using IP connections to the services.

 

I'm getting this when I try using the secure external addresses via the NGINX reverse proxy

connectionmanager.js?v=4.3.1.0:1 Begin ConnectionManager constructor
app.js?v=4.3.1.0:1 loading ApiClient singleton
app.js?v=4.3.1.0:1 creating ApiClient singleton
apiclient.js?v=4.3.1.0:1 ApiClient serverAddress: https://emby.domain
apiclient.js?v=4.3.1.0:1 ApiClient appName: Emby Web
apiclient.js?v=4.3.1.0:1 ApiClient appVersion: 4.3.1.0
apiclient.js?v=4.3.1.0:1 ApiClient deviceName: Chrome
apiclient.js?v=4.3.1.0:1 ApiClient deviceId: TW96aWxsYS81LjAgKE1h**********WwgTWFjIE9TIFggMTBfMTVfMikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyuMzk0NS44OCBT*********YWZhcmkvNTM3LjM2fDE1Nzg2MzkzMTkzODg1
credentials.js?v=4.3.1.0:1 credentials initialized with: {"Servers":[{"DateLastAccessed":1583584168492,"LastConnectionMode":2,"ManualAddress":"https://emby.domain","manualAddressOnly":true,"Type":"Server","Name":"embyms","Id":"393a15a5********874b07fef58aadf1","LocalAddress":"http://192.168.168.25:8096","RemoteAddress":"https://emby.domain:8290","UserId":"a0c8df040c********3deb6f3c9af8","AccessToken":"f23e878*******bd8253af060743"}]}
app.js?v=4.3.1.0:1 loaded ApiClient singleton
app.js?v=4.3.1.0:1 initAfterDependencies promises resolved
app.js?v=4.3.1.0:1 Using default fonts
3manifest.json:1 Manifest: one of 'url' or 'id' is required, related application ignored.
app.js?v=4.3.1.0:1 Loading installed plugins
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/playbackvalidation
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/playaccessvalidation
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/playback/experimentalwarnings
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/logoscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/backdropscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/photoscreensaver/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/htmlaudioplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/htmlvideoplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/photoplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/sessionplayer
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/chromecast/chromecastplayer
pluginmanager.js?v=4.3.1.0:1 Loading plugin: bower_components/emby-webcomponents/youtubeplayer/plugin
pluginmanager.js?v=4.3.1.0:1 Loading plugin: modules/confirmstillplaying/plugin
router.js?v=4.3.1.0:1 Setting page base to /web
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
pluginmanager.js?v=4.3.1.0:1 creating plugin instance
pluginmanager.js?v=4.3.1.0:1 setting require config
pluginmanager.js?v=4.3.1.0:1 loading plugin strings
app.js?v=4.3.1.0:1 Begin onAppReady
app.js?v=4.3.1.0:1 onAppReady - loading dependencies
app.js?v=4.3.1.0:1 Loaded dependencies in onAppReady
app.js?v=4.3.1.0:1 Defining core routes
router.js?v=4.3.1.0:1 Defining route: /plugins/addplugin.html
router.js?v=4.3.1.0:1 Defining route: /channelsettings.html
router.js?v=4.3.1.0:1 Defining route: /startup/connectlogin.html
router.js?v=4.3.1.0:1 Defining route: /startup/connectsignup.html
router.js?v=4.3.1.0:1 Defining route: /startup/welcome.html
router.js?v=4.3.1.0:1 Defining route: /dashboard.html
router.js?v=4.3.1.0:1 Defining route: /dashboardgeneral.html
router.js?v=4.3.1.0:1 Defining route: /network/network.html
router.js?v=4.3.1.0:1 Defining route: /devices/devices.html
router.js?v=4.3.1.0:1 Defining route: /devices/device.html
router.js?v=4.3.1.0:1 Defining route: /devices/cameraupload.html
router.js?v=4.3.1.0:1 Defining route: /edititemmetadata.html
router.js?v=4.3.1.0:1 Defining route: /encodingsettings.html
router.js?v=4.3.1.0:1 Defining route: /startup/forgotpassword.html
router.js?v=4.3.1.0:1 Defining route: /startup/forgotpasswordpin.html
router.js?v=4.3.1.0:1 Defining route: /home.html
router.js?v=4.3.1.0:1 Defining route: /list/list.html
router.js?v=4.3.1.0:1 Defining route: /servermenu/servermenu.html
router.js?v=4.3.1.0:1 Defining route: /index.html
router.js?v=4.3.1.0:1 Defining route: /item/item.html
router.js?v=4.3.1.0:1 Defining route: /librarysetup/library.html
router.js?v=4.3.1.0:1 Defining route: /librarysetup/advanced.html
router.js?v=4.3.1.0:1 Defining route: /livetv/livetv.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/schedulesdirect.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/xmltv.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/embydata.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/guideprovider.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvsettings.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvstatus.html
router.js?v=4.3.1.0:1 Defining route: /livetvsetup/livetvtuner.html
router.js?v=4.3.1.0:1 Defining route: /logs/logs.html
router.js?v=4.3.1.0:1 Defining route: /startup/login.html
router.js?v=4.3.1.0:1 Defining route: /startup/manuallogin.html
router.js?v=4.3.1.0:1 Defining route: /metadataadvanced.html
router.js?v=4.3.1.0:1 Defining route: /movies/movies.html
router.js?v=4.3.1.0:1 Defining route: /games/games.html
router.js?v=4.3.1.0:1 Defining route: /homevideos/homevideos.html
router.js?v=4.3.1.0:1 Defining route: /musicvideos/musicvideos.html
router.js?v=4.3.1.0:1 Defining route: /music/music.html
router.js?v=4.3.1.0:1 Defining route: /managedownloads.html
router.js?v=4.3.1.0:1 Defining route: /mysync.html
router.js?v=4.3.1.0:1 Defining route: /mysyncjob.html
router.js?v=4.3.1.0:1 Defining route: /notificationsetting.html
router.js?v=4.3.1.0:1 Defining route: /notificationsettings.html
router.js?v=4.3.1.0:1 Defining route: /plugins/plugincatalog.html
router.js?v=4.3.1.0:1 Defining route: /plugins/plugins.html
router.js?v=4.3.1.0:1 Defining route: /scheduledtasks/scheduledtask.html
router.js?v=4.3.1.0:1 Defining route: /dashboard/releasenotes.html
router.js?v=4.3.1.0:1 Defining route: /scheduledtasks/scheduledtasks.html
router.js?v=4.3.1.0:1 Defining route: /search/search.html
router.js?v=4.3.1.0:1 Defining route: /startup/manualserver.html
router.js?v=4.3.1.0:1 Defining route: /startup/selectserver.html
router.js?v=4.3.1.0:1 Defining route: /serveractivity.html
router.js?v=4.3.1.0:1 Defining route: /apikeys/apikeys.html
router.js?v=4.3.1.0:1 Defining route: /support.html
router.js?v=4.3.1.0:1 Defining route: /supporterkey.html
router.js?v=4.3.1.0:1 Defining route: /syncactivity.html
router.js?v=4.3.1.0:1 Defining route: /syncsettings.html
router.js?v=4.3.1.0:1 Defining route: /tv/tv.html
router.js?v=4.3.1.0:1 Defining route: /useredit.html
router.js?v=4.3.1.0:1 Defining route: /userlibraryaccess.html
router.js?v=4.3.1.0:1 Defining route: /usernew.html
router.js?v=4.3.1.0:1 Defining route: /userparentalcontrol.html
router.js?v=4.3.1.0:1 Defining route: /userpassword.html
router.js?v=4.3.1.0:1 Defining route: /users/users.html
router.js?v=4.3.1.0:1 Defining route: /settings/settings.html
router.js?v=4.3.1.0:1 Defining route: /settings/playback.html
router.js?v=4.3.1.0:1 Defining route: /settings/subtitles.html
router.js?v=4.3.1.0:1 Defining route: /settings/display.html
router.js?v=4.3.1.0:1 Defining route: /settings/homescreen.html
router.js?v=4.3.1.0:1 Defining route: /settings/profile.html
router.js?v=4.3.1.0:1 Defining route: /settings/password.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardagreement.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardremoteaccess.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardfinish.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardlibrary.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardsettings.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizardstart.html
router.js?v=4.3.1.0:1 Defining route: /wizard/wizarduser.html
router.js?v=4.3.1.0:1 Defining route: /videoosd/videoosd.html
router.js?v=4.3.1.0:1 Defining route: /configurationpage
router.js?v=4.3.1.0:1 Defining route: /
registrationservices.js?v=4.3.1.0:1 validateFeature: themes
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
connectionmanager.js?v=4.3.1.0:1 Begin connect
connectionmanager.js?v=4.3.1.0:1 Begin getAvailableServers
connectionmanager.js?v=4.3.1.0:1 Begin getConnectServers
connectionmanager.js?v=4.3.1.0:1 getRegistrationInfo returning cached info
connectionmanager.js?v=4.3.1.0:1 Begin connectToServers, with 1 servers
connectionmanager.js?v=4.3.1.0:1 begin connectToServer
connectionmanager.js?v=4.3.1.0:1 tryReconnect: https://emby.domain
connectionmanager.js?v=4.3.1.0:1 tryReconnectToUrl: https://emby.domain
connectionmanager.js?v=4.3.1.0:1 ConnectionManager requesting url: https://emby.domain/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 fetchWithTimeout: timeoutMs: 20000, url: https://emby.domain/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 fetchWithTimeout: succeeded connecting to url: https://emby.domain/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 ConnectionManager response status: 200, url: https://emby.domain/emby/system/info/public
connectionmanager.js?v=4.3.1.0:1 ConnectionManager requesting url: https://emby.domain/emby/System/Info
connectionmanager.js?v=4.3.1.0:1 ConnectionManager response status: 200, url: https://emby.domain/emby/System/Info
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
apiclient.js?v=4.3.1.0:1 Setting server address to https://emby.domain
connectionmanager.js?v=4.3.1.0:1 calling apiClient.ensureWebSocket
apiclient.js?v=4.3.1.0:1 opening web socket with url: wss://emby.domain/socket?api_key=f23e878e050b4169b8bd8253af060743&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfMikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzg2MzkzMTkzODg1
connectionmanager.js?v=4.3.1.0:1 returning instance from getOrAddApiClient
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/DisplayPreferences/usersettings?userId=a0c8df040c7948c691d73deb6f3c9af8&client=emby
chromecastplayer.js?v=4.3.1.0:1 chromecast.initialize
chromecastplayer.js?v=4.3.1.0:1 chromecast init success
apiclient.js?v=4.3.1.0:1 WebSocket connection to 'wss://emby.domain/socket?api_key=f23e878e050b4169b8bd8253af060743&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfMikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzg2MzkzMTkzODg1' failed: Error during WebSocket handshake: Unexpected response code: 404
ApiClient.openWebSocket @ apiclient.js?v=4.3.1.0:1
ApiClient.ensureWebSocket @ apiclient.js?v=4.3.1.0:1
afterConnected @ connectionmanager.js?v=4.3.1.0:1
afterConnectValidated @ connectionmanager.js?v=4.3.1.0:1
(anonymous) @ connectionmanager.js?v=4.3.1.0:1
apiclient.js?v=4.3.1.0:1 web socket closed
apiclient.js?v=4.3.1.0:1 nulling out web socket
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Users/a0c8df040c7948c691d73deb6f3c9af8
registrationservices.js?v=4.3.1.0:1 validateFeature: themes
connectionmanager.js?v=4.3.1.0:1 resolving connectToServers with result.State: SignedIn
connectionmanager.js?v=4.3.1.0:1 getRegistrationInfo returning cached info
router.js?v=4.3.1.0:1 appRouter - processing path request /web#!/configurationpage
router.js?v=4.3.1.0:1 appRouter - user is authenticated
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Users/a0c8df040c7948c691d73deb6f3c9af8
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/web/configurationpages?Name=Slack%20Notifications
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/web/configurationpages?pageType=PluginConfiguration&EnableInMainMenu=true
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/users
VM2067:83 Uncaught (in promise) TypeError: $(...).html(...).selectmenu is not a function
    at <anonymous>:83:29
(anonymous) @ VM2067:83
Promise.then (async)
(anonymous) @ VM2067:77
dispatch @ jquery.slim.min.js?v=4.3.1.0:2
v.handle @ jquery.slim.min.js?v=4.3.1.0:2
onViewChange @ viewmanager.js?v=4.3.1.0:1
(anonymous) @ viewmanager.js?v=4.3.1.0:1
Promise.then (async)
ViewManager.loadView @ viewmanager.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
loadContentUrl @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
onInitComplete @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ router.js?v=4.3.1.0:1
handleRoute @ router.js?v=4.3.1.0:1
page.dispatch @ page.js?v=4.3.1.0:1
page.replace @ page.js?v=4.3.1.0:1
page.start @ page.js?v=4.3.1.0:1
page @ page.js?v=4.3.1.0:1
(anonymous) @ router.js?v=4.3.1.0:1
Promise.then (async)
appRouter.start @ router.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
onAppReady @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
Promise.then (async)
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
init @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
execCb @ alameda.js:1
defineModule @ alameda.js:1
depFinished @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
waitForDep @ alameda.js:1
(anonymous) @ alameda.js:1
main @ alameda.js:1
(anonymous) @ alameda.js:1
Promise.then (async)
req @ alameda.js:1
(anonymous) @ app.js?v=4.3.1.0:1
(anonymous) @ app.js?v=4.3.1.0:1
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Sessions/Capabilities/Full
index.html#!/configurationpage?name=Slack%20Notifications:1 [DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) <input type=​"password" name=​"fakepasswordremembered" tabindex=​"-1">​
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Plugins/e7bb7839-a69f-409e-a26e-ad7e0fab31cd/Configuration
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Notification/Slack/Test/a0c8df040c7948c691d73deb6f3c9af8
apiclient.js?v=4.3.1.0:1 Requesting url without automatic networking: https://emby.domain/Notification/Slack/Test/79ad4cab3c4845869e1c5652acb34476
apiclient.js?v=4.3.1.0:1 POST https://emby.domain/Notification/Slack/Test/79ad4cab3c4845869e1c5652acb34476 500 (Internal Server Error)
getFetchPromise @ apiclient.js?v=4.3.1.0:1
ApiClient.fetch @ apiclient.js?v=4.3.1.0:1
ApiClient.ajax @ apiclient.js?v=4.3.1.0:1
(anonymous) @ VM2067:60
(anonymous) @ VM2067:58
Promise.then (async)
(anonymous) @ VM2067:49
dispatch @ jquery.slim.min.js?v=4.3.1.0:2
v.handle @ jquery.slim.min.js?v=4.3.1.0:2
apiclient.js?v=4.3.1.0:1 opening web socket with url: wss://emby.domain/socket?api_key=f23e878e050b4169b8bd8253af060743&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfMikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzg2MzkzMTkzODg1
apiclient.js?v=4.3.1.0:1 WebSocket connection to 'wss://emby.domain/socket?api_key=f23e878e050b4169b8bd8253af060743&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfMikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzg2MzkzMTkzODg1' failed: Error during WebSocket handshake: Unexpected response code: 404
ApiClient.openWebSocket @ apiclient.js?v=4.3.1.0:1
ApiClient.ensureWebSocket @ apiclient.js?v=4.3.1.0:1
ConnectionManager.onAppResume @ connectionmanager.js?v=4.3.1.0:1
onAppResume @ router.js?v=4.3.1.0:1
trigger @ events.js?v=4.3.1.0:1
onAppVisible @ apphost.js?v=4.3.1.0:1
apiclient.js?v=4.3.1.0:1 web socket closed
apiclient.js?v=4.3.1.0:1 nulling out web socket
 
It looks to me like a problem connecting to the Mattermost websocket, but it's strange that the FreeNAS notification is working fine as is Mattermost

That's possible indeed. Looks like you didn't enable debug logging yet? That would print the payload you're trying to send to the webhook. You could try sending the same thing using curl or some other tool?

Link to comment
Share on other sites

adrianwi

Which debug logging do you mean?

 

I've been looking at the Mattermost manual for webhooks, and running this with the correct webhook URL puts the text into the Channel

curl -i -X POST -H 'Content-Type: application/json' -d '{"text": "Hello, this is some text\nThis is more text. :tada:"}' http://{your-mattermost-site}/hooks/xxx-generatedkey-xxx

It's strange that that works, as do the FreeNAS notifications, but not the ones from emby.

 

Running out of technical skills for this now though :D

Link to comment
Share on other sites

fizz55

Which debug logging do you mean?

 

I've been looking at the Mattermost manual for webhooks, and running this with the correct webhook URL puts the text into the Channel

curl -i -X POST -H 'Content-Type: application/json' -d '{"text": "Hello, this is some text\nThis is more text. :tada:"}' http://{your-mattermost-site}/hooks/xxx-generatedkey-xxx
It's strange that that works, as do the FreeNAS notifications, but not the ones from emby.

 

Running out of technical skills for this now though :D

debug logging in emby server settings -> logs (sidebar) -> enable debug logging (not sure what it says in English though).

Maybe I'll try to add some extra logging in the code so that we can track down the real issue here (when I find some free time).

Link to comment
Share on other sites

adrianwi

Ah, right, the emby server log.  Can I PM you a relevant section with debugging enabled?

 

I don't like posting it on here a it contains lots of information someone could use to try and hack my server!

Link to comment
Share on other sites

fizz55

Ah, right, the emby server log. Can I PM you a relevant section with debugging enabled?

 

I don't like posting it on here a it contains lots of information someone could use to try and hack my server!

Sure, I promise I won't try to hack your server ;D

  • Like 1
Link to comment
Share on other sites

queenbuzzo

Hey, I was using the Slack plugin but have now made some changes to my server and run Emby as a Docker. Unfortunately I can't set up the plugin now because I never get past the green spinning wheel. Does anyone have an idea?

 

Emby Version: 4.3.1.0

Log: https://pastebin.com/UhxzZTkV

 

Thanks in advance!

Link to comment
Share on other sites

fizz55

Hey, I was using the Slack plugin but have now made some changes to my server and run Emby as a Docker. Unfortunately I can't set up the plugin now because I never get past the green spinning wheel. Does anyone have an idea?

 

Emby Version: 4.3.1.0

Log: https://pastebin.com/UhxzZTkV

 

Thanks in advance!

Did you read this thread? Did you try my version from github?

  • Like 1
Link to comment
Share on other sites

queenbuzzo

I'm sorry, I didn't read the whole thread and couldn't really find anything via the search. I found your post now though and will try it out. Thanks.

 

Edit: Thanks, it's working again!

Edited by queenbuzzo
Link to comment
Share on other sites

fizz55

Is it possible to merge your fork on the github?

 

My fork was merged 4 days ago. I don't know what the original dev is planning to do with this project in the future though. He/she didn't release these fixes yet, so it's up to you guys to confirm if they are working for everyone first.

Link to comment
Share on other sites

Which one has the latest? We can fork it onto our organization.

 

I don't know that we'll have bandwidth to help with slack-specific development, but by forking into our organization I can help with compatibility updates for new server versions whenever they are needed.

Link to comment
Share on other sites

fizz55

Which one has the latest? We can fork it onto our organization.

 

I don't know that we'll have bandwidth to help with slack-specific development, but by forking into our organization I can help with compatibility updates for new server versions whenever they are needed.

 

https://github.com/ackbarr/Emby.Plugins (original dev) is only a merge commit ahead, my fork should be equal at this time.

Link to comment
Share on other sites

  • 1 year later...
adrianwi

I updated my Mattermost server over the weekend, so thought I would give this another shot.

Still getting the same error message when trying to test the connection, but it does now work 😀

 

Screen Shot 2021-11-29 at 13.15.30 pm.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...