Mopidy mobile Error creating playlists

Hello together,

mopidy is running fine, but when I try to create a playlist in mobile fronted I get the error message “Connection Error” " Websocket closed"

The playlist is created but empty

mopidy status shows
Dez 12 09:56:51 musik mopidy[24698]: SSLError: (“bad handshake: Error([(‘SSL routines’, ‘SSL3_GET_SERVER_CERTIFICATE’, ‘certificate verify failed’)],)”,)
Dez 12 09:57:03 musik mopidy[24698]: WARNING Das Element kann diesen Datenstrom nicht verarbeiten. Bitte schicken Sie einen Fehlerbericht.
Dez 12 09:57:38 musik mopidy[24698]: INFO Created playlist m3u:Weihnachtslieder.m3u
Dez 12 09:57:38 musik mopidy[24698]: ERROR WebSocket request error: init() got an unexpected keyword argument "$$hashKey"
Dez 12 09:57:45 musik mopidy[24698]: INFO Created playlist m3u:Weihnachtslieder.m3u
Dez 12 09:57:45 musik mopidy[24698]: ERROR WebSocket request error: init() got an unexpected keyword argument "$$hashKey"
Dez 12 09:59:14 musik mopidy[24698]: INFO Created playlist m3u:Weihnacht.m3u
Dez 12 09:59:14 musik mopidy[24698]: ERROR WebSocket request error: init() got an unexpected keyword argument "$$hashKey"
Dez 12 09:59:14 musik mopidy[24698]: ERROR WebSocket request error:
Dez 12 10:01:16 musik mopidy[24698]: WARNING Das Element kann diesen Datenstrom nicht verarbeiten. Bitte schicken Sie einen Fehlerbericht.

Any Ideas?

Best regards, Stefan

This looks like a bug in how Mopidy-Mobile calls init(). Please file a bug at GitHub - tkem/mopidy-mobile: Mopidy Web client extension and hybrid app for mobile devices

@jodal: init()? What init()? Is this some internal of Mopidy’s WebSocket/JSON-RPC support?
Sorry, confused :wink:

Not sure, but $$hashKey sounds like a JS framework key in the data model
sent to Mopidy.

Yeah, that’s something angular.js adds to model objects, so you have to be careful to use angular.copy(obj) when passing these to mopidy.js. Which I thought I do for any Mopidy API requests. So that init() puzzles me, since that doesn’t sound like any API method.

@r100: I already created an issue for this: https://github.com/tkem/mopidy-mobile/issues/153
Will be fixed ASAP in the next release.

@jodal: Looks like the forum software turned __init__ into init :wink:

@r100: This should be fixed with Mopidy Mobile v1.6.4, which is available from PyPi as of now. The Android app should be available from the Google Play Store within a couple of days, too.

Hope this helps you get your “Weihnachtslieder.m3u” finished in time :wink:

Hey guys,

thx everybody. You are great! Its working perfect now.

Best regards,
Stefan