Glide не загружает GIF URL в Android 4.4.4 и ниже - PullRequest
0 голосов
/ 11 мая 2019

Я пытаюсь загрузить URL GIF в моем приложении, используя Glide.код отлично работает с Android 5.0 до 9.0.но тот же код не работает для Android 4.4.4 и ниже.URL никогда не загружается, вот лог

05-11 21:08:16.819 6245-6245/com.pikasapps.carswallpapershd W/Glide: Load failed for https://my-android-apps.com/wallpapers/fotos/upload/category/motivacion.jpg with size [516x341]
    class com.bumptech.glide.load.engine.GlideException: Failed to load resource
    There was 1 cause:
    java.net.SocketTimeoutException(failed to connect to my-android-apps.com/2a01:238:20a:202:1091:: (port 443) after 2500ms)
     call GlideException#logRootCauses(String) for more detail
      Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class java.io.InputStream, REMOTE
    There was 1 cause:
    java.net.SocketTimeoutException(failed to connect to my-android-apps.com/2a01:238:20a:202:1091:: (port 443) after 2500ms)
     call GlideException#logRootCauses(String) for more detail
        Cause (1 of 1): class java.net.SocketTimeoutException: failed to connect to my-android-apps.com/2a01:238:20a:202:1091:: (port 443) after 2500ms
...