<p dir="auto">There were 5 causes:<br>
java.io.IOException(java.lang.RuntimeException: setDataSource failed: status = 0x80000000)<br>
java.io.IOException(java.lang.RuntimeException: setDataSource failed: status = 0x80000000)<br>
java.io.IOException(java.lang.RuntimeException: setDataSource failed: status = 0x80000000)<br>
java.io.IOException(java.lang.RuntimeException: setDataSource failed: status = 0x80000000)<br>
java.io.FileNotFoundException(No content provider: url)</p>
<p dir="auto">but the url'pic can be load by my pc</p>
<p dir="auto"><strong>Integration libraries</strong>:<br>
using Glide version:  4.6.1<br>
using com.github.bumptech.glide:okhttp3-integration:4.6.1</p>

<p dir="auto"><strong>Device/Android Version</strong>:<br>
Samsung S6<br>
Android version 24</p>
<p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>:<br>
I am trying to load an image from Internet into ImageView but it seems like Glide is trying to load from assets directory instead of Internet.</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="  //this is the ApplicationContext
  RequestManager requestManager = Glide.with(this)
                .applyDefaultRequestOptions(RequestOptions.diskCacheStrategyOf(DiskCacheStrategy.NONE))
                .applyDefaultRequestOptions(RequestOptions.placeholderOf(R.drawable.placeholder));
            requestManager
                    .applyDefaultRequestOptions(RequestOptions.skipMemoryCacheOf(true));
        }
        requestManager.load(&quot;http://opendata.toronto.ca/transportation/tmc/rescucameraimages/CameraImages/loc8015.jpg&quot;)
                .into(image);
"><pre class="notranslate">  <span class="pl-c">//this is the ApplicationContext</span>
  <span class="pl-smi">RequestManager</span> <span class="pl-s1">requestManager</span> = <span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-smi">this</span>)
                .<span class="pl-en">applyDefaultRequestOptions</span>(<span class="pl-smi">RequestOptions</span>.<span class="pl-en">diskCacheStrategyOf</span>(<span class="pl-smi">DiskCacheStrategy</span>.<span class="pl-c1">NONE</span>))
                .<span class="pl-en">applyDefaultRequestOptions</span>(<span class="pl-smi">RequestOptions</span>.<span class="pl-en">placeholderOf</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">placeholder</span>));
            <span class="pl-s1">requestManager</span>
                    .<span class="pl-en">applyDefaultRequestOptions</span>(<span class="pl-smi">RequestOptions</span>.<span class="pl-en">skipMemoryCacheOf</span>(<span class="pl-c1">true</span>));
        }
        <span class="pl-s1">requestManager</span>.<span class="pl-en">load</span>(<span class="pl-s">"http://opendata.toronto.ca/transportation/tmc/rescucameraimages/CameraImages/loc8015.jpg"</span>)
                .<span class="pl-en">into</span>(<span class="pl-s1">image</span>);</pre></div>

<p dir="auto"><strong>Layout XML</strong>:</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;ImageView
            android:id=&quot;@+id/cam_view&quot;
            android:layout_width=&quot;match_parent&quot;
            android:layout_height=&quot;wrap_content&quot;
            android:adjustViewBounds=&quot;true&quot;
            android:layout_gravity=&quot;center&quot;
            android:gravity=&quot;center&quot;
            android:scaleType=&quot;fitCenter&quot;
            /&gt;"><pre class="notranslate">&lt;<span class="pl-ent">ImageView</span>
            <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/cam_view<span class="pl-pds">"</span></span>
            <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span>
            <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span>
            <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">adjustViewBounds</span>=<span class="pl-s"><span class="pl-pds">"</span>true<span class="pl-pds">"</span></span>
            <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_gravity</span>=<span class="pl-s"><span class="pl-pds">"</span>center<span class="pl-pds">"</span></span>
            <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">gravity</span>=<span class="pl-s"><span class="pl-pds">"</span>center<span class="pl-pds">"</span></span>
            <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">scaleType</span>=<span class="pl-s"><span class="pl-pds">"</span>fitCenter<span class="pl-pds">"</span></span>
            /&gt;</pre></div>
<p dir="auto"><strong>Stack trace / LogCat</strong>:</p>
<div class="highlight highlight-source-ruby notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Root cause (1 of 1)
  java.io.FileNotFoundException: No content provider:  http://opendata.toronto.ca/transportation/tmc/rescucameraimages/CameraImages/loc8015.jpg 
      at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1049)
      at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:904)
      at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:831)
      at com.bumptech.glide.load.data.AssetFileDescriptorLocalUriFetcher.loadResource(AssetFileDescriptorLocalUriFetcher.java:22)
      at com.bumptech.glide.load.data.AssetFileDescriptorLocalUriFetcher.loadResource(AssetFileDescriptorLocalUriFetcher.java:13)
      at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:44)
      at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:62)
      at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:299)
      at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:266)
      at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:230)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      at java.lang.Thread.run(Thread.java:841)
      at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:446)"><pre class="notranslate"><span class="pl-en">Root</span> <span class="pl-en">cause</span> <span class="pl-kos">(</span><span class="pl-c1">1</span> <span class="pl-en">of</span> <span class="pl-c1">1</span><span class="pl-kos">)</span>
  <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">io</span><span class="pl-kos">.</span><span class="pl-en">FileNotFoundException</span>: <span class="pl-en">No</span> <span class="pl-en">content</span> <span class="pl-pds">provider</span>:  <span class="pl-en">http</span>:/<span class="pl-sr">/opendata.toronto.ca/transportation</span>/<span class="pl-en">tmc</span>/<span class="pl-en">rescucameraimages</span>/<span class="pl-v">CameraImages</span>/<span class="pl-en">loc8015</span><span class="pl-kos">.</span><span class="pl-en">jpg</span> 
      <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">content</span><span class="pl-kos">.</span><span class="pl-en">ContentResolver</span><span class="pl-kos">.</span><span class="pl-en">openTypedAssetFileDescriptor</span><span class="pl-kos">(</span><span class="pl-v">ContentResolver</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1049</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">content</span><span class="pl-kos">.</span><span class="pl-en">ContentResolver</span><span class="pl-kos">.</span><span class="pl-en">openAssetFileDescriptor</span><span class="pl-kos">(</span><span class="pl-v">ContentResolver</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:904</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">content</span><span class="pl-kos">.</span><span class="pl-en">ContentResolver</span><span class="pl-kos">.</span><span class="pl-en">openAssetFileDescriptor</span><span class="pl-kos">(</span><span class="pl-v">ContentResolver</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:831</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">data</span><span class="pl-kos">.</span><span class="pl-en">AssetFileDescriptorLocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">loadResource</span><span class="pl-kos">(</span><span class="pl-v">AssetFileDescriptorLocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:22</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">data</span><span class="pl-kos">.</span><span class="pl-en">AssetFileDescriptorLocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">loadResource</span><span class="pl-kos">(</span><span class="pl-v">AssetFileDescriptorLocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:13</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">data</span><span class="pl-kos">.</span><span class="pl-en">LocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">loadData</span><span class="pl-kos">(</span><span class="pl-v">LocalUriFetcher</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:44</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">SourceGenerator</span><span class="pl-kos">.</span><span class="pl-en">startNext</span><span class="pl-kos">(</span><span class="pl-v">SourceGenerator</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:62</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">runGenerators</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:299</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">runWrapped</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:266</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">DecodeJob</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:230</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">util</span><span class="pl-kos">.</span><span class="pl-en">concurrent</span><span class="pl-kos">.</span><span class="pl-en">ThreadPoolExecutor</span><span class="pl-kos">.</span><span class="pl-en">runWorker</span><span class="pl-kos">(</span><span class="pl-v">ThreadPoolExecutor</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1112</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">util</span><span class="pl-kos">.</span><span class="pl-en">concurrent</span><span class="pl-kos">.</span><span class="pl-en">ThreadPoolExecutor</span>$Worker<span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">ThreadPoolExecutor</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:587</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">Thread</span><span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">Thread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:841</span><span class="pl-kos">)</span>
      <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">.</span><span class="pl-en">engine</span><span class="pl-kos">.</span><span class="pl-en">executor</span><span class="pl-kos">.</span><span class="pl-en">GlideExecutor</span>$DefaultThreadFactory$1<span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">GlideExecutor</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:446</span><span class="pl-kos">)</span></pre></div>