Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue When I request to access IP again #88

Open
i-m-aj opened this issue Dec 26, 2019 · 2 comments
Open

Issue When I request to access IP again #88

i-m-aj opened this issue Dec 26, 2019 · 2 comments

Comments

@i-m-aj
Copy link

i-m-aj commented Dec 26, 2019

Mjpeg: error during connection
java.io.InterruptedIOException: thread interrupted
at com.android.okhttp.okio.Timeout.throwIfReached(Timeout.java:145)
at com.android.okhttp.okio.Okio$1.write(Okio.java:78)
at com.android.okhttp.okio.AsyncTimeout$1.write(AsyncTimeout.java:155)
at com.android.okhttp.okio.RealBufferedSink.flush(RealBufferedSink.java:221)
at com.android.okhttp.internal.http.Http1xStream.finishRequest(Http1xStream.java:336)
at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:885)
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:759)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:498)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:434)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:248)
at com.github.niqdev.mjpeg.Mjpeg.lambda$connect$0$Mjpeg(Mjpeg.java:118)
at com.github.niqdev.mjpeg.-$$Lambda$Mjpeg$ciIfwbSmSGAtW1PTgDP7ccdMqCs.call(Unknown Source:4)
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46)
at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)
at rx.Observable.subscribe(Observable.java:10423)
at rx.Observable.subscribe(Observable.java:10390)
at rx.internal.operators.OnSubscribeTimeoutTimedWithFallback.call(OnSubscribeTimeoutTimedWithFallback.java:64)
at rx.internal.operators.OnSubscribeTimeoutTimedWithFallback.call(OnSubscribeTimeoutTimedWithFallback.java:36)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.call(OperatorSubscribeOn.java:100)
at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:230)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:459)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)

then

System.err: java.util.concurrent.TimeoutException
2019-12-26 16:08:00.614 27211-27211/com.simonixlabs.smarthome W/System.err: at rx.internal.operators.OnSubscribeTimeoutTimedWithFallback$TimeoutMainSubscriber.onTimeout(OnSubscribeTimeoutTimedWithFallback.java:166)
2019-12-26 16:08:00.615 27211-27211/com.simonixlabs.smarthome W/System.err: at rx.internal.operators.OnSubscribeTimeoutTimedWithFallback$TimeoutMainSubscriber$TimeoutTask.call(OnSubscribeTimeoutTimedWithFallback.java:191)
2019-12-26 16:08:00.616 27211-27211/com.simonixlabs.smarthome W/System.err: at rx.internal.schedulers.EventLoopsScheduler$EventLoopWorker$2.call(EventLoopsScheduler.java:189)
2019-12-26 16:08:00.617 27211-27211/com.simonixlabs.smarthome W/System.err: at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
2019-12-26 16:08:00.618 27211-27211/com.simonixlabs.smarthome W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:459)
2019-12-26 16:08:00.619 27211-27211/com.simonixlabs.smarthome W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2019-12-26 16:08:00.620 27211-27211/com.simonixlabs.smarthome W/System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
2019-12-26 16:08:00.620 27211-27211/com.simonixlabs.smarthome W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
2019-12-26 16:08:00.621 27211-27211/com.simonixlabs.smarthome W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
2019-12-26 16:08:00.622 27211-27211/com.simonixlabs.smarthome W/System.err: at java.lang.Thread.run(Thread.java:764)

@jayesh83
Copy link

Yes facing the same issue

@jayesh83
Copy link

Whenever the address is not reachable it crashes the app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants