Giter VIP home page Giter VIP logo

Comments (4)

tylerjroach avatar tylerjroach commented on August 15, 2024

Can you restart the device and try again? SocketTimeoutExceptions are typically seen due to bad network or a DNS issue. Please let me know once you have tested again after a device restart.

from aws-sdk-android.

Sivaram1227 avatar Sivaram1227 commented on August 15, 2024

@tylerjroach still same issue after restarting the device too.

from aws-sdk-android.

ankpshah avatar ankpshah commented on August 15, 2024

Hey @Sivaram1227,
Are you still seeing this issue? We need more information on the mobile connection. Socket timeout indicates lack of outbound internet. Maybe mobile network has good download speed but not upload speed.
UnknownHostException usually implies no network connection. Two possible causes:

  • make sure your app has permission android.permission.INTERNET.

  • make sure the device has a stable network connection.

Another possible cause could be that host is blocked by ISP.

  • If possible, use a network diagnostic tool or a terminal emulator available on the device to perform a DNS lookup (nslookup or dig commands) for the hostname ?
  • Could you try to access the same host using a browser on same device to see if the issue persists. This can help identify if the problem is specific to the app using the AWS SDK.

Also following details might help:

  • Network Signal Strength: This can often affect the upload process. Weak signal strength might lead to timeouts or other connectivity issues.

  • Network Type (4G, LTE, 5G, etc.): The type of network you're on can impact upload speeds and reliability.

  • Any VPN or Proxy Use: Are you using any VPN or proxy services that could affect the routing of your data?

from aws-sdk-android.

Sivaram1227 avatar Sivaram1227 commented on August 15, 2024

@ankpshah Yes, this issue still persist. The issue in when user connected to mobile network, then socket timeout issue occurs. But when user connect to wifi and try to upload files, it's works fine. Both mobile network and wifi has same network provider.

I will try your suggested cause to find the root cause and let you know. Thank you.

from aws-sdk-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.