Image didn't update (Android OP beta)

hello i use openhab 2.5.12 and my picture didn’t update in my app.

i use this code in my sitemap:
Image url="http://192.168.x.xxcapture?_cb=1603733019047" refresh=50

how can i solve my problem?

A refresh every 50ms seems a bit too much. Does it work using a reasonable refresh interval of, say, 2000ms?

I have tried it, but the image is still not updated :frowning:

Is your edited url accurate? I think there should be a / before capture?

sorry, yes there is a “/” before capture.
its a small mistake after changing my IP

my problem is still there :frowning:

Can you enable debug logging, try it again and then post the log of the app?

Here is my log.

Do you find any problem?

18:13:17.261 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - REQUEST for //192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503 on HttpChannelOverHttp@1b5a406{r=1,c=false,c=false/false,a=IDLE,uri=//192.168.xx.xxf:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=0}
GET //192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503 HTTP/1.1
User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19
Cache-Control: no-cache
Host: 192.168.xx.xx:8080
Connection: keep-alive
Accept-Encoding: gzip


18:13:17.270 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - HttpChannelOverHttp@1b5a406{r=1,c=false,c=false/false,a=IDLE,uri=//192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=5} onContentComplete
18:13:17.279 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - HttpChannelOverHttp@1b5a406{r=1,c=false,c=false/false,a=IDLE,uri=//192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=18} onRequestComplete
18:13:17.286 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - HttpChannelOverHttp@1b5a406{r=1,c=false,c=false/false,a=IDLE,uri=//192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=25} handle //192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503 
18:13:17.290 [DEBUG] [eclipse.jetty.server.HttpChannelState] - handling HttpChannelState@695ff{s=IDLE a=NOT_ASYNC i=true r=IDLE w=false}
18:13:17.292 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - HttpChannelOverHttp@1b5a406{r=1,c=false,c=false/false,a=DISPATCHED,uri=//192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=31} action DISPATCH
18:13:17.304 [DEBUG] [eclipse.jetty.server.HttpChannelState] - startAsync HttpChannelState@695ff{s=DISPATCHED a=NOT_ASYNC i=true r=IDLE w=false}
18:13:17.320 [DEBUG] [eclipse.jetty.server.HttpChannelState] - unhandle HttpChannelState@695ff{s=DISPATCHED a=STARTED i=true r=IDLE w=false}
18:13:17.322 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - HttpChannelOverHttp@1b5a406{r=1,c=false,c=false/false,a=ASYNC_WAIT,uri=//192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=61} action WAIT
18:13:17.325 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - HttpChannelOverHttp@1b5a406{r=1,c=false,c=false/false,a=ASYNC_WAIT,uri=//192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=64} handle exit, result WAIT
18:13:17.645 [DEBUG] [eclipse.jetty.server.HttpChannelState] - onWritePossible HttpChannelState@695ff{s=ASYNC_WAIT a=STARTED i=false r=IDLE w=false}
18:13:17.650 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - HttpChannelOverHttp@1b5a406{r=1,c=false,c=false/false,a=ASYNC_WOKEN,uri=//192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=388} handle //192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503 
18:13:17.654 [DEBUG] [eclipse.jetty.server.HttpChannelState] - handling HttpChannelState@695ff{s=ASYNC_WOKEN a=STARTED i=false r=IDLE w=true}
18:13:17.658 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - HttpChannelOverHttp@1b5a406{r=1,c=false,c=false/false,a=ASYNC_IO,uri=//192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=396} action WRITE_CALLBACK
18:13:17.674 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - sendResponse info=null content=DirectByteBuffer@1695e55[p=0,l=5659,c=32768,r=5659]={<<<\xFf\xD8\xFf\xE0\x00\x10JFIF\x00\x01\x01\x01\x00\x00\x00...\xE7\xF4\xA6\x98\x86\xB1\xE4m\xF4\xC14\x9c\x0e\xB8?>>>\x94\xBf!Q\x94^\x99\xFaT\xD9\x89\x89\xFaRg\x0b\xBb...u~\x1c\x91O\x85\xE2\x1b\x89\xF2v\xA0\xFc\xAb\xB0} complete=false committing=true callback=org.eclipse.jetty.server.HttpOutput$AsyncWrite@1e5a831[PROCESSING]
18:13:17.676 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - COMMIT for /proxy on HttpChannelOverHttp@1b5a406{r=1,c=true,c=false/false,a=ASYNC_IO,uri=//192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=415}
200 null HTTP/1.1
Content-Type: image/jpeg
Content-Length: 26249
Content-Disposition: inline; filename=capture.jpg
Access-Control-Allow-Origin: *


18:13:17.700 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - sendResponse info=null content=HeapByteBuffer@1a69fa4[p=0,l=12924,c=12924,r=12924]={<<<Z\xA0\x14\xF3\x85\x1f\xFe\xBa\x14.v\x92\xE3\x8e\xE34\x8d...Qq\x0b\xCa\x8cp}i\x0bqP\x02\x91\xCfN>>>} complete=false committing=false callback=org.eclipse.jetty.server.HttpOutput$AsyncWrite@1e5a831[PROCESSING]
18:13:17.771 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - sendResponse info=null content=DirectByteBuffer@1695e55[p=0,l=7180,c=32768,r=7180]={<<<iy\xFaU\x0cN\xE3\xBd;=\xBb\xFb\x1a\x18h(a...\xB4R\x01(\xA6\x86\\\xCf\x1c\xD2u<\x1aZ\x99>>>n;\r\xEfN\xA2\xE2\x12\x9d\x9c\xF1\x81\xF9sH,3...u~\x1c\x91O\x85\xE2\x1b\x89\xF2v\xA0\xFc\xAb\xB0} complete=false committing=false callback=org.eclipse.jetty.server.HttpOutput$AsyncWrite@6e863f[PROCESSING]
18:13:17.782 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - sendResponse info=null content=HeapByteBuffer@60f5b1[p=0,l=486,c=486,r=486]={<<<\np\xA8\x07z6\xB9\x1d8\xA0\x04\x07 p6\xD1\xD0...P \xA2\x90\xC4\xA5\xA0\x04\xA2\x98\x05\x14\x0c\xFf\xD9>>>} complete=true committing=false callback=org.eclipse.jetty.server.HttpOutput$AsyncWrite@6e863f[PROCESSING]
18:13:17.803 [DEBUG] [eclipse.jetty.server.HttpChannelState] - complete HttpChannelState@695ff{s=ASYNC_IO a=STARTED i=false r=IDLE w=false}
18:13:17.821 [DEBUG] [eclipse.jetty.server.HttpChannelState] - unhandle HttpChannelState@695ff{s=ASYNC_IO a=COMPLETE i=false r=IDLE w=false}
18:13:17.823 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - HttpChannelOverHttp@1b5a406{r=1,c=true,c=false/true,a=COMPLETING,uri=//192.168.xx.xx:8080/proxy?sitemap=test.sitemap&widgetId=07000503,age=562} action COMPLETE
18:13:17.827 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - sendResponse info=null content=HeapByteBuffer@1097ea3[p=0,l=0,c=0,r=0]={<<<>>>} complete=true committing=false callback=Blocker@73502f{null}
18:13:17.832 [DEBUG] [eclipse.jetty.server.HttpChannelState] - onComplete HttpChannelState@695ff{s=COMPLETING a=NOT_ASYNC i=false r=IDLE w=false}
18:13:17.835 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - COMPLETE for /proxy written=26249
18:13:17.838 [DEBUG] [eclipse.jetty.server.HttpChannelState] - recycle HttpChannelState@695ff{s=COMPLETED a=NOT_ASYNC i=false r=IDLE w=false}
18:13:17.863 [DEBUG] [org.eclipse.jetty.server.HttpChannel ] - HttpChannelOverHttp@1b5a406{r=1,c=false,c=false/false,a=IDLE,uri=null,age=0} handle exit, result COMPLETE

i am not sure if it is the right log.
How can i figure it out?

17:56:06.952 [DEBUG] [ipse.jetty.util.SocketAddressResolver] - Resolved 192.168.xx.xx in 0 ms
17:56:06.950 [DEBUG] [se.jetty.util.thread.QueuedThreadPool] - queue org.eclipse.jetty.util.SocketAddressResolver$Async$$Lambda$389/6373406@aa34dd startThread=false
17:56:06.959 [DEBUG] [org.eclipse.jetty.server.session     ] - FinalSession=null, old_session_handler=null, this=org.eclipse.jetty.server.session.SessionHandler26524403==dftMaxIdleSec=600, calling complete=true
17:56:06.959 [DEBUG] [org.eclipse.jetty.io.ManagedSelector ] - Queued change Connect@18351d2{java.nio.channels.SocketChannel[connection-pending remote=/192.168.xx.xx:80],{ssl.peer.port=80, ssl.peer.host=192.168.xx.xx, http.destination=HttpDestination[http://192.168.xx.2xx]@1398528,queue=1,pool=DuplexConnectionPool@81b13[c=1/256,a=0,i=0], http.connection.promise=org.eclipse.jetty.client.HttpClient$1$1@b36e95, client.connector=HttpClient@c49f60{STARTED}}} on ManagedSelector@d3b13f{STARTED} id=1 keys=0 selected=0 updates=0

This seems to be some log on the server. Can you go to the settings page in the app and scroll down to the section “Troubleshooting”? There’s the app log.