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

MMM-Remote-Control broken after MM2 upgrade to 2.11.0 #185

Closed
Moskito99 opened this issue Apr 1, 2020 · 21 comments
Closed

MMM-Remote-Control broken after MM2 upgrade to 2.11.0 #185

Moskito99 opened this issue Apr 1, 2020 · 21 comments

Comments

@Moskito99
Copy link

Hi!
This module is not working anymore with MagicMirror2 2.11.0

Most of the menus show undefined.
When click the entrys nothing happens.
The menu updeates as example neve show any modul.

Even a complete reinstall is not working.

@arjunalwe
Copy link

OMG, I thought I was the only one!

@mattx38
Copy link

mattx38 commented Apr 2, 2020

Oh no, you're not alone :-/

@Jopyth, do you have news for us, and some ssh commands to type ?

@michael-oetjen
Copy link

michael-oetjen commented Apr 3, 2020

Hi there, I noticed, that the socket URL is wrong?
instead of
"/remote.htmlsocket.io/?EIO=3&transport=polling&t=N4_yb4O" it should say
"/remote.html?socket.io/?EIO=3&transport=polling&t=N4_yb4O"

Notice the question mark between "html" and "socket.io"

I don't know where to change that, though ;-(

@RoadRunnr1469
Copy link

So I went through all the different files looking for those extra slashes, none are in my files. That does not appear to be the problem with my Remote Control not working after upgrading to 2.11.

@khassel
Copy link
Contributor

khassel commented Apr 3, 2020

never wrote something about extra slashes.

replace

	// Private Methods
	self.socket = io("/" + self.moduleName, {
		path: window.location.pathname + "socket.io"
	});

with

	// Private Methods
        self.socket = io("/" + self.moduleName);

in js/socketclient.js

@RoadRunnr1469
Copy link

Excellent. it is working. Thanks

@alomar-mac
Copy link

alomar-mac commented Apr 3, 2020

WOW it is working
Thank you so much

never wrote something about extra slashes.

replace

	// Private Methods
	self.socket = io("/" + self.moduleName, {
		path: window.location.pathname + "socket.io"
	});

with

	// Private Methods
        self.socket = io("/" + self.moduleName);

in js/socketclient.js

@ezar
Copy link

ezar commented Apr 4, 2020

Same problem here!

@chen32g
Copy link

chen32g commented Apr 4, 2020

great, solve for me with new Magic version

@Maype2988
Copy link

Perfect!!! Working for too, thanks you

@rockman55
Copy link

I have been looking for a solution on this problems for days. Thanks so much for the fix.

@nickosouras
Copy link

I cant find the file that needs to be changed? maybe im just dumb.

@RoadRunnr1469
Copy link

inside the MagicMirror folder is a folder js
the file you need to edit is socketclient.js
by doing a SSH it looks something like this
username@magicmirrornsystem:~/MagicMirro/js/ $

@nickosouras
Copy link

thank you!

@alyssacaples
Copy link

I tried fixing that issue in the socketclient.js with khassel's solution and i am still unable to access any of the features

@marco97233
Copy link

Merci a vous tous cela fonctionne pour moi maintenant!!!!

@cain0z
Copy link

cain0z commented May 19, 2020

Thank you it is now working as I expected.

@dvbit
Copy link

dvbit commented May 30, 2020

uhm I pathched the file but nevertheless the modules are not controlled
I have no more "loading..."
but I cannot hide or display modules.
Does it work for you?

PS: this is a brand new install.

@eskiiom
Copy link

eskiiom commented Jun 17, 2020

thanks, that works perfectly for me too

@ayed97
Copy link

ayed97 commented Jun 26, 2020

You are a hero 🥇

@ezeholz
Copy link
Collaborator

ezeholz commented Oct 29, 2020

Hey all! After following this issue, seems to be resolved in version 2.12+ of MagicMirror. If you're having the same error, just try updating both MagicMirror and Remote Control, and try again. Keep programming people! ;D

@ezeholz ezeholz closed this as completed Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests