title: Glide Android - Failed to load resource from url
body: <p>I'm trying to load an image from url async (On a background thread).</p>
  
  <p>Trying something like this:</p>
  
  <pre><code>  val futureTarget = glide
      .asBitmap()
      .load("https://dummyimage.com/300/09f/fff.png")
      .submit(300, 300)
  
    val bitmap = futureTarget.get() 
  </code></pre>
  
  <p>But it crashes the app when trying to load any image from URL, it works fine when loading local resources.</p>
  
  <p>Logcat</p>
  
  <pre><code>There was 1 cause:
      com.bumptech.glide.load.HttpException(Not Found)
       call GlideException#logRootCauses(String) for more detail
          at com.bumptech.glide.request.RequestFutureTarget.doGet(RequestFutureTarget.java:205)
          at com.bumptech.glide.request.RequestFutureTarget.get(RequestFutureTarget.java:108)
          at com.....Notifier$sendNotificationTest$1.run(Notifier.kt:85)
          at java.lang.Thread.run(Thread.java:764)
       Caused by: com.bumptech.glide.load.engine.GlideException: Failed to load resource
      There was 1 cause:
      com.bumptech.glide.load.HttpException(Not Found)
       call GlideException#logRootCauses(String) for more detail
  </code></pre>
  
  <p>I have added Internet permissions. </p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  </code></pre>
  
  <p>Providing Glide using Dagger 2</p>
  
  <pre><code>@Provides
  @Singleton
  static RequestManager provideGlide(final Application application) {
      return GlideApp.with(application);
  }
  </code></pre>
  
  <p>Any idea what I'm missing?</p>
  
  <p><strong>UPDATE</strong> </p>
  
  <blockquote>
    <p>I figured out that there was an issue with some HttpInterceptors. This solution works downloading bitmaps synchronously. </p>
  </blockquote>