domogik / domodroid

Android client for Domogik
Other
12 stars 4 forks source link

Connection Issue with no wifi client #158

Open jaywax opened 7 years ago

jaywax commented 7 years ago

Device with no wifi card can't connect to the domogik server. During the synchronisation process, the error "no connection" is comming up.

tikismoke commented 7 years ago

Did you still have this bug?

jaywax commented 7 years ago

Yes, still the same issue with my android device which doesn't have wifi card (only ethernet adaptator).

jaywax commented 7 years ago

Two different situations with the same symptom, same error :

tikismoke commented 6 years ago

Need to have a look with this:

https://stackoverflow.com/questions/22302548/how-to-know-whether-android-is-connected-to-wifi-or-ethernet

But trough GSM I don't understand why sync won't work.

jaywax commented 6 years ago

Hello, I've done the following tests :

jaywax commented 5 years ago

Shame on me :)

Under GSM (Wan IP + RDR port for MQ & REST SSL for domogik server) Under Openvpn (not connected to wifi) with and without proxy configuration for rest domogik I've still the same error (no connection) By using "external parameters" on domodroid with good configuration, i'm able to connect to my home, with gsm, ssl, proxy etc.... I will try on my wired tablet by using this configuration (by letting my wifi card unconfigured) to see.

tikismoke commented 5 years ago

You could test like that but it should not work like this.

External won't use MQ (not sure) and is really to use when you're domogik is not at the same address.

For example on my local WiFi I use the local up of domogik (192.....) And from external I use the good dns (Wich is forward to domogik) but with another port.

Also you could simply try with the QR code from domogik and it should work as simple as possible.