HomeGenie Forum
General Category => Troubleshooting and Support => Topic started by: gryse on October 25, 2015, 06:37:22 AM
-
Hi,
I've installed HG on a Rpi on which there is another soft, so I've made a manual installation.
I can access with localhost (via VNC) but not through my network...
But, I have access to my other soft.
Any idea?
Thanks
gryse
-
Hi,
Command line :
netstat -l
permit to see which port and address and listen, like :
root@raspberrypi:/home/pi# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:8080 *:* LISTEN
the IP address and port, you try to reach on network appear in your netstat ?
-
Hi Nolio,
Thank you for your interest!
I can find the good IP address but not the good port...
Can you help me??
Gryse
-
Can you send the result of your :
netstat -l
please ?
And port you use in local access ?
-
Attached
The port I use is 8080.
Thank you
-
Ok that's seems good.
So very weird :-\
What did you try to do ?
-
Bad news...
I'm trying to access to HG from network.
In fact, the first time I installed HG (manual), I've followed a tutorial found on internet, all was working.
After this, my SD card was flashing and I have to reinstall my own program and HG. I didn't find the tutorial and follow the explanations of HG internet site.
And then, no access with port 8080.
In the result of netstat -l I didn't see the port 8080. Is it normal?
What can you advise me?
Thank you
-
Did you install via "deb" file ?
like explain here :
http://www.homegenie.it/download.php (http://www.homegenie.it/download.php)
in part "Ubuntu, Raspbian and others Debian Linux".
With this method the install is very simple ...
-
Yes, that's what I do...
Very simple, as you wrote, but it doesn't work...
-
Try tu run homegenie in command line and take a look at the log...
mono /usr/local/bin/homegenie/Homegenie.exe
--->>>
mono /usr/local/bin/homegenie/HomeGenie.exe
Perhaps port 80 instead 8080...
-
Cannot open assembly '/usr/local/bin/homegenie/Homegenie.exe': Aucun fichier ou dossier de ce type
while this file exists...
The log seems to be OK: IP address and port are OK.
-
UP ???
-
If you can access HG on the local machine but not on the local network, my guess would be a firewall or the router. I had an issue with access from outside my local network due to my network's configuration (windows firewall, router, DSL modem). I fixed the firewall and router so I could access locally, but could not get in from outside. Turns out there was a setting on the DSL modem that needed adjusting too.
-
@bkenobi
Thank you for your proposal but...
As I wrote, before this last installation, all was working, without no changes in my configuration.
Another suggestion?
-
another information: when I log by VNC to Rpi, the connection is very slow and the processor usage is near 100% when I click on the menu...
Is it normal?
-
I don't use Xwindows on the RPi so I have no idea. I use Putty and just interact with the console. I have not seen an issue with cpu usage.
-
did you try that ?
mono /usr/local/bin/homegenie/HomeGenie.exe
Do you really need vnc (and probably x) on your raspberry ?
Usually, homegenie user only use ssh access and homegenie webinterface. no need x or vnc, which use a lot of hardware ressources...
Did you have activated firewall ?
You can try access with vnc but with the same Url you try on your network..
Did you have a firewall somewhere ? Iptable on raspberry ?
-
I try your proposal (mono /usr/local/bin/homegenie/HomeGenie.exe) and obtain that:
Cannot open assembly '/usr/local/bin/homegenie/Homegenie.exe': Aucun fichier ou dossier de ce type
Firewall isn't activated
I try the same URL in VNC and on my network. VNC: OK, network: not OK...
When I do a nmap -sT 192.168.0.166
, I can see the 8080 port on the Rpi...
-
Did you try another browser ? (chrome, ie, firefox, ...)
telnet 192.168.0.166 8080
work ?
-
Yes, i've tried Firefox and Chrome...
telnet 192.168.0.166 8080
Trying 192.168.0.166...
Connected to 192.168.0.166.
Escape character is '^]'.
Connection closed by foreign host.
I don't know the signification
-
telnet 192.168.0.166 8080
Trying 192.168.0.166...
Connected to 192.168.0.166.
Escape character is '^]'.
Connection closed by foreign host.
I don't know the signification
HomeGenie answer on your network ...
So possibles problems :
- Bad launch of HomeGenie :
/etc/init.d/homegenie stop
mono /usr/local/bin/homegenie/HomeGenie.exe
- Raspberry is very load cpu ("uptime" command permit have indication : load average, have to be less than 1) or RAM ("free -mt" must have 0 swap used)
- Raspberry network load ...
Don't hesitate to investigate on your own, because it's hard to do on a forum ;)
(another computer, the android app, installation again and try with no modification configuration, ....)
-
Hi,
I too am seeing some issues with homegenie, since updating to 1.1 I sometimes get an non responsive website, sometimes even on the local pc ... but homegenie plus for android seems to work.
HomeGenie is running on a intel nuc running windows 10.
The client is another windows 10 machine using Chrome, IE11 or Edge
If i check the logging i see some 304 messages, if i google on it, it seems to be something related to a conditional get ... but my knowledge on this is lacking .... somebody else who knows what is happening ?
2015-10-28 19:24:35.5524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/lib/codemirror.css
2015-10-28 19:24:35.5524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/theme/ambiance.css
2015-10-28 19:24:36.0524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/addon/lint/lint.css
2015-10-28 19:24:36.0524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/addon/fold/foldgutter.css
Louis
-
Hi!
I have a similar issue just like gryse.
First: I use Windows 7 Prof. and Chrome. After the install of HG, I can see the service is is running, but i could not reach it, because seems like HG doesn't open the port so i always get the connection refused error.
Firewall and anti-virus is turned off.
I can ping localhost.
I've tried with other program to make a webserver to check something wrong with my settings or something security settings but all that was fine.
Do You have any idea?
Thanks!
-
OK, problem solved. I think .NET Framework was responsible for that issue. I had .NET 4.0 already but I upgraded it to 4.6 and now it is working.
-
I use Win 10 and .net 4.6 is installed.
S I have always my problem...
-
What browser are you using? did you try opening with Internet Explorer?
-
Ok... found the solution: do not use localhost for opening the web page. Use 127.0.0.1 instead.
This solved on my side (Win7).
Hi,
I too am seeing some issues with homegenie, since updating to 1.1 I sometimes get an non responsive website, sometimes even on the local pc ... but homegenie plus for android seems to work.
HomeGenie is running on a intel nuc running windows 10.
The client is another windows 10 machine using Chrome, IE11 or Edge
If i check the logging i see some 304 messages, if i google on it, it seems to be something related to a conditional get ... but my knowledge on this is lacking .... somebody else who knows what is happening ?
2015-10-28 19:24:35.5524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/lib/codemirror.css
2015-10-28 19:24:35.5524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/theme/ambiance.css
2015-10-28 19:24:36.0524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/addon/lint/lint.css
2015-10-28 19:24:36.0524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/addon/fold/foldgutter.css
Louis
-
In my case, I've tried IE, EDGE, Firefox, Chrome.
192.168.0.166 (localhost) and 127.0.0.1
Nothing works...
-
When I try this: $ mono /usr/local/bin/homegenie/HomeGenie.exe
I obtain that:
/bin/cp: impossible de supprimer « /usr/local/bin/homegenie/libCameraCaptureV4L.so »: Permission non accordée
-
You probably need to add a sudo command to launch HG.
-
Hi Gene,
Thanks for you're reply :)
The logging i attached wasn't from local host, hg is running on 192.168.2.110, and the logging is from when i try to connect from another win 10 client.
I also frequently see the message event stream disconnected when starting a web session, using chrome, or ie11 or edge.
This happens during page load, when it's not fully loaded.
Sometimes when i press the refresh button the event stream is started ....
If you need more info please let me know.
Louis
Ok... found the solution: do not use localhost for opening the web page. Use 127.0.0.1 instead.
This solved on my side (Win7).
Hi,
I too am seeing some issues with homegenie, since updating to 1.1 I sometimes get an non responsive website, sometimes even on the local pc ... but homegenie plus for android seems to work.
HomeGenie is running on a intel nuc running windows 10.
The client is another windows 10 machine using Chrome, IE11 or Edge
If i check the logging i see some 304 messages, if i google on it, it seems to be something related to a conditional get ... but my knowledge on this is lacking .... somebody else who knows what is happening ?
2015-10-28 19:24:35.5524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/lib/codemirror.css
2015-10-28 19:24:35.5524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/theme/ambiance.css
2015-10-28 19:24:36.0524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/addon/lint/lint.css
2015-10-28 19:24:36.0524 Info WebServiceGateway 192.168.2.113 HTTP GET 304 /hg/html/js/codemirror-4.03/addon/fold/foldgutter.css
Louis
-
Hi Gene,
Another thing, if i open the page from a virtual machine (win 8 ) and start ie and open the page ... all is well.
If i then press the refresh button, it won't refresh ....
Perhaps win 10 does a refresh iso an initial load ???
Louis
-
Sorry Gene,
It seems that somehow the new version is more safe or somehow less forgiving for some network errors.
I have kind of complicated network at home with own dhcp and dns server on linux.
It seems like i had an error in it which caused the new hg version to lose track of ip adresses.
At least that's what it looks like right now ....
I changed some settings in my dns server and now it seems to be working again.
I hope that caused the "pain" :(
Louis
PS Refresh button still not working ... not sure if it ever did ...