com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: -1


Solutions on the web13

Solution icon of github
via GitHub by bkoruznjak
, 9 months ago
Response code: -1

Solution icon of github
Response code: 503

Solution icon of github
via GitHub by timonchev
, 1 year ago
Response code: 416

Solution icon of stackoverflow
Response code: 503

Solution icon of github
via GitHub by moacir69
, 9 months ago
Response code: 404

Solution icon of github
via GitHub by Wangct23
, 6 months ago
Response code: 404

Solution icon of stackoverflow
Response code: 505

Solution icon of github
Response code: 401

Solution icon of github
Response code: 400

Solution icon of github
via GitHub by JaydeepRathod
, 2 months ago
Response code: 416

Stack trace

com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: -1
	at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:212)
	at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:123)
	at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:618)
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:295)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
	at java.util.concurrent.FutureTask.run(FutureTask.java:234)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
	at java.lang.Thread.run(Thread.java:838)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.