EgiGeoZone Forum

English => English corner => Thema gestartet von: S-F am 07.02.2018, 21:05:38

Titel: Can't communicate to HomeSeer through VPN
Beitrag von: S-F am 07.02.2018, 21:05:38
When I am running VPN service on my phone EgiGeoZone can't seem to communicate with my HomeSeer system. Other software, such as Backitude, doesn't seem to have this issue. Does anyone have any ideas as to what could be causing this?
Titel: Re: Can't communicate to HomeSeer through VPN
Beitrag von: Admin am 08.02.2018, 07:36:27
Do you get any errors in the log file? Can you post them?
Titel: Re: Can't communicate to HomeSeer through VPN
Beitrag von: S-F am 08.02.2018, 15:56:01
Where do I find the log file? I get the usual error popup that the server could not be reached.
Titel: Re: Can't communicate to HomeSeer through VPN
Beitrag von: Admin am 08.02.2018, 17:51:00
In the directory egigeozone is a file named egigeozone.log.
Titel: Re: Can't communicate to HomeSeer through VPN
Beitrag von: S-F am 08.02.2018, 18:35:17
I get error (GR02) in get of the server response.

OR::de.egi.geofence.geozone.Worker::de.egi.geofence.geozone.Worker$2] - Geofence Home: Error (GR02) in get of the server response
java.net.UnknownHostException: Unable to resolve "my.url": No address associated with hostname
   at java.net.InetAddress.lookupHostByName(InetAddress.java:424)
   at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
   at java.net.InetAddress.getAllByName(InetAddress.java:214)
   at com.android.okhttp.internal.Dns$1.getAllByName(Dns.java:28)
   at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:216)
   at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:122)
   at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:292)
   at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255)
   at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206)
   at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345


The address can be reached via a browser on the same device.
Titel: Re: Can't communicate to HomeSeer through VPN
Beitrag von: Admin am 08.02.2018, 19:41:50
Zitat
java.net.UnknownHostException: Unable to resolve "my.url": No address associated with hostname
   at java.net.InetAddress.lookupHostByName(InetAddress.java:424)
The problem is, that the name can not be resolved. I don´t understand why, because I didn´t make something special. I will research.
Did you try it on the same place in the browser? I mean with wifi or outside.

Can you try it with the ip-address?
Titel: Re: Can't communicate to HomeSeer through VPN
Beitrag von: S-F am 08.02.2018, 19:46:41
I can reach the address from a browser on the phone both using cellular data and wifi. I can't try the IP address because I'm using a dynamic dns service.

Just to be clear I only get the error when I'm using my VPN service. With the VPN turned off everything works as expected.

Thanks for the help!
Titel: Re: Can't communicate to HomeSeer through VPN
Beitrag von: Admin am 09.02.2018, 08:53:44
Zitat
I can't try the IP address because I'm using a dynamic dns service.
I know, but only to test, if it works then.

Zitat
Just to be clear I only get the error when I'm using my VPN service. With the VPN turned off everything works as expected.
Had understood.

I will look, if I can find something.
Titel: Re: Can't communicate to HomeSeer through VPN
Beitrag von: S-F am 09.02.2018, 15:40:13
Great. Thank you again. Please let me know if there is anything I can do to help.
Titel: Re: Can't communicate to HomeSeer through VPN
Beitrag von: Admin am 19.02.2018, 06:23:33
Sorry, but I couldn't find any solution until now.