English > English corner

Domoticz

<< < (2/5) > >>

dennisdiving:
I hope you had a good holiday.
If you like we can call JSON.

Admin:
Didn´t you get my PM yesterday with the link to a test version?

dennisdiving:
this is the new logfile from your last update.
i only changed my outside ip and port


--- Code: ---[ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver$1] - thuis: Error in get of the server request
java.net.SocketTimeoutException: failed to connect to /123.456.789 (port 1234) after 30000ms: isConnected failed: ETIMEDOUT (Connection timed out)
at libcore.io.IoBridge.isConnected(IoBridge.java:236)
at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
at libcore.io.IoBridge.connect(IoBridge.java:122)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)
at java.net.Socket.connect(Socket.java:882)
at com.android.okhttp.internal.Platform.connectSocket(Platform.java:139)
at com.android.okhttp.Connection.connect(Connection.java:1194)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:392)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:295)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:373)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:323)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:491)
at de.egi.geofence.geozone.utils.Api.doGet(Api.java:101)
at de.egi.geofence.geozone.geofence.GeofenceReceiver$1.doInBackground(GeofenceReceiver.java:684)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Caused by: android.system.ErrnoException: isConnected failed: ETIMEDOUT (Connection timed out)
at libcore.io.IoBridge.isConnected(IoBridge.java:223)

--- Ende Code ---

when i take out the trailing http:// from the  "URL enter and leave zone"
the error is a little different.


--- Code: ---[ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver$1] - home: Error in get of the server request
java.net.MalformedURLException: Protocol not found: 123.456.789:1234/json.htm?type=command&param=switchlight&idx=692&switchcmd=On
at java.net.URL.<init>(URL.java:176)
at java.net.URL.<init>(URL.java:125)
at de.egi.geofence.geozone.utils.Api.doGet(Api.java:73)
at de.egi.geofence.geozone.geofence.GeofenceReceiver$1.doInBackground(GeofenceReceiver.java:684)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
2015-05-13 20:27:05,449 - [ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver] - home: NotInstalled: no Tasker App could be found on the device


--- Ende Code ---

Admin:
The right syntax is something like:
http://123.456.789:1234/json.htm?type=command&param=switchlight&idx=692&switchcmd=On

Now it seems to be an other error like in the last version (java.io.FileNotFoundException)!

The second is because you didn´t write the protocol http in the front of the url.

The first error is a timeout. This is because the app can not connect to the server in 30 seconds. You may try to increase the timeout, but I don´t think it will help.
It could be a firewall on your router or server. I don´t know.


dennisdiving:
Hi Egmont,

i think we are getting there finally.
http:// is added
server time out increased to 45 seconds.

the error is no Tasker App could be found.


--- Code: ---[ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver] - home1: NotInstalled: no Tasker App could be found on the device
2015-05-13 22:00:57,669 - [ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver] - home1: NotInstalled: no Tasker App could be found on the device
2015-05-13 22:39:12,332 - [ERROR::de.egi.geofence.geozone.MainActivity::de.egi.geofence.geozone.MainActivity] - Geofences nach Reboot registriert
2015-05-13 22:40:04,211 - [ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver] - Do not call events after reboot or at update
2015-05-13 22:40:04,231 - [ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver] - Reboot: true
2015-05-13 22:40:04,231 - [ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver] - Update: false
2015-05-13 22:41:56,126 - [ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver] - home1: NotInstalled: no Tasker App could be found on the device
2015-05-13 22:43:34,287 - [ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver] - home1: NotInstalled: no Tasker App could be found on the device



--- Ende Code ---

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln