danikula / danikula/AndroidVideoCache

HttpUrlSource Error fetching info from

Open
#202 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
5.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Hello I have next Exception

`02-19 14:41:38.929 10576-10648/com.demo E/HttpUrlSource: Error fetching info from http://testko.demo.com/pub/media/master.mp4
java.net.SocketTimeoutException: timeout
at com.android.okhttp.okio.Okio$3.newTimeoutException(Okio.java:212)
at com.android.okhttp.okio.AsyncTimeout.exit(AsyncTimeout.java:261)
at com.android.okhttp.okio.AsyncTimeout$2.read(AsyncTimeout.java:215)
at com.android.okhttp.okio.RealBufferedSource.indexOf(RealBufferedSource.java:306)
at com.android.okhttp.okio.RealBufferedSource.indexOf(RealBufferedSource.java:300)
at com.android.okhttp.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:196)
........ `

How can I catch exception from HttpUrlSource.java?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading HttpUrlSource.java and tracing the logged SocketTimeoutException using the supplied stack trace. The report does not name a test, desired behavior, or concrete change, so completion would first require defining how this exception should be caught or handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.