Comments (4)
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.
@tylerjroach still same issue after restarting the device too.
from aws-sdk-android.
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.
@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)
- You must be signed-in with Cognito Userpools to be able to use getTokens HOT 8
- Consumer proguard rules are too broad HOT 1
- My Device cannot get get/accepted or update/accepted, but same account in other devices is OK. HOT 1
- Pinpoint Analytics causes crash - SQLiteReadOnlyDatabaseException: attempt to write a readonly database HOT 7
- Should I expose Identity pool ID in my android app's source code? HOT 3
- Session issue : No cached session HOT 10
- Crash: java.lang.SecurityException Package android does not belong to 10347 HOT 3
- aws-translate - Need TranslateText function text field accept array HOT 1
- TransferWorkerObserver$attachObserverForPendingTransfer$1.invokeSuspend (API 25)
- Play mp4 file using aws kinesis HOT 3
- AuthClient: launchCustomTabs issue, 1 line called twice. HOT 8
- Duplicate AWS Chime SDK locations? HOT 2
- Broken Lambda Documentation Link HOT 3
- License clarification HOT 3
- Hi, does aws-sdk-android 2.73.0 support JDK17 and JDK21? HOT 1
- Error during SignIn - null object reference HOT 5
- Create Thing: Unauthenticated access is not supported for this identity pool. HOT 1
- Create Thing: Unauthenticated access is not supported for this identity pool. HOT 8
- Fatal Exception: java.lang.OutOfMemoryError HOT 6
- [Android 14+] InvalidForegroundServiceTypeException HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-android.