socket-timeout-exception Questions

24

Solved

Can somebody help me on this? i am getting following error: Angular & Node version Installed Angular CLI: 12.0.1 Node: 14.16.0 Package Manager: npm 7.11.2 OS: win32 x64 D:\Learning\Angular>...
Aphorize asked 23/5, 2021 at 8:12

1

I'm having a problem handling socket timeouts with python35 ftplib. When a socket timeout error occurs, for some reason I am unable to catch the exception and the script raises the error anyway and...
Dismantle asked 17/7, 2017 at 17:48

8

I have a Tomcat based web application. I am intermittently getting the following exception, Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Nat...
Glenda asked 13/6, 2013 at 4:30

6

I am trying to POST request to server for fetch data but sometime It's occure SocketTimeoutException! I used Ok3Client to resolve it but I facing the same Exception How can I resolve it? My code ...
Aduwa asked 30/8, 2016 at 5:5

2

I am facing the issue of socket timeout exception while using retrofit 2.0.2 library and okhttp 2.3.0. I am trying to upload the image file which is between 500kb to 1.5mb it is uploading successfu...
Moussaka asked 13/11, 2017 at 8:13

2

I setup for Retrofit: private Interceptor interceptor = new Interceptor() { @Override public Response intercept(Chain chain) throws IOException { Request request = chain.request(); if (!Networ...
Darius asked 13/12, 2017 at 3:34

2

I have set an Alarm when app goes background which working fine, but inside the service I have api which is calling every 5 minutes interval for sending location to server, after app goes in backgr...
Wroth asked 4/7, 2017 at 7:18

2

Solved

I'm using Retrofit and OkHttp to connect to server. in most times it works good. but is some case it fail. some times HTTP FAILED: java.net.UnknownHostException and some times java.net.SocketTimeou...
Fourteen asked 12/5, 2017 at 14:54

2

I am using HttpURLConnection to upload an image and get its response. It works on emulator and my XiaoMi device. However, it always get a SocketTimeoutException on my Sony device on the line connec...

1

Solved

I keep getting a java.net.SocketTimeoutException when attempting an OkHttp3 asynchronous Get. This suggests that I haven't set the read timeout value high enough (I think the default is 10 seconds)...
Mcmullen asked 19/1, 2017 at 19:23

2

Solved

I am building a restful client using retrofit in my android app, however i am struggling with an exception while trying to retreive data from my webservice, the first call works with no exception b...
Hebdomadal asked 19/9, 2016 at 12:33

1

Solved

I'm trying to do a POST request to our backend server, but I keep getting SocketTimeOutExceptions or HTTP 500 error. And it keeps switching between those two randomly (even with the same values). ...
Disrepair asked 18/5, 2015 at 8:7

2

I have used following code to connect - URL url = new URL("https://results.bput.ac.in/"); HttpURLConnection urlc = (HttpURLConnection) url.openConnection(); urlc.setConnectTimeout(1000 * 20); ur...
Circumgyration asked 4/4, 2016 at 4:35

2

Using the requests python lib, I make a GET request, and handle Timeout exceptions (as well as other exceptions I don't show here) like import requests timeout1=20 timeout2=40 try: #first attemp...
Absorbent asked 25/3, 2014 at 8:57

0

We are getting 500: Server Error page on our IIS 8.5 server, on different frequency of times, and the number of error is increasing and decreasing with the traffic level. After investigating Event ...

1

Solved

AWS Java SDK 1.9.3 When downloading many large files (~3Gb) from AWS S3 in Java server app I get SocketTimeoutException from time to time as following: Caused by: com.amazonaws.AmazonClientExcept...
Whispering asked 28/1, 2015 at 14:50

0

I am trying to load a (very big) serialized RDD of objects into the memory of a cluster of ec2 nodes, and then do some extraction on those objects and store the resulting RDD on disk (as object fil...
Somniloquy asked 12/3, 2015 at 21:53

1

Solved

It's a simple client/server based ping/pong program. Unfortunately, IT doesn't work and displays this error message: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream....
Actinouranium asked 5/11, 2014 at 18:17

2

Solved

I am writing a JAVA code to traverse FTP Location using Apache Commons Net FTPClient and getting output in an Excel file. the code execute correctly for approx 5 min but then gives an IOException: ...

1

Solved

I'm working on coding a program that will go and retrieve the price of a person from a table on a website. The code gets a last name and searches the table for that name before returning the price ...
Phobe asked 13/3, 2014 at 0:18

2

So I'm running into a not working socket timeout. I followed all instructions given by existing posts, but its still not working (I never get a socket timeout exception). Here is my code: AsyncTas...

1

Solved

So, i wrote a thread on my client side , which tries to readObject() from a socket stream. This thread runs as long the client is connected. The connection to the server can be closed on the clie...
Ivaivah asked 21/2, 2013 at 10:17

1

I've a complex app which downloads plenty of content from my webservice on AWS. However, I keep getting SocketTimeoutException 50% of the time. Based on my research, I suspect that there might be f...

2

Solved

I'm developing a mobile application for android. There, I creating socket and transfer data between android mobiles and windows application (which is run on pc,laptop). I'm using android 2.3 Testi...

2

Possible Duplicate: Receiving request timeout even though connect timeout and read timeout is set to default (infinite)? I tried to connect to a web service and received a SocketTimeo...

© 2022 - 2024 — McMap. All rights reserved.