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

GitHub | bkoruznjak | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    If you're using ExoPlayer with Akamai, try switching to OkHttpDataSource (an ExoPlayer extension that supports OkHttp3)
  2. 0

    Failed to play

    GitHub | 2 months ago | Wangct23
    com.google.android.exoplayer2.ExoPlaybackException
  3. 0

    GitHub comment 1651#271917046

    GitHub | 4 months ago | bkoruznjak
    com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    InvalidResponseCodeException: Response code: 503 audio streaming

    GitHub | 6 months ago | nikacotAndroid
    com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 503

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException

      Response code: -1

      at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open()
    2. com.google.android
      Loader$LoadTask.run
      1. com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:212)
      2. com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:123)
      3. com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:618)
      4. com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:295)
      4 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:234)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
      5. java.lang.Thread.run(Thread.java:838)
      5 frames