253 questions
2
votes
1
answer
192
views
google-api-python-client random timeout error
I have project that involves taking a picture every one hour with a Raspberry and saving it to Google Drive. I'm using the google-api-python-client to connect to a Google Drive and apscheduler to ...
0
votes
1
answer
79
views
How to detect before throwing SocketException a closed connection?
I try to write a TcpClientPool to manage a KeepAlive behavior with the host
public class TcpClientPool : IDisposable
{
private readonly ConcurrentDictionary<string, TcpClient> _clients = new ...
0
votes
0
answers
91
views
Xero API SocketTimeoutException
I am facing below issue while fetching data from Xero.
javax.ws.rs.ProcessingException:java.net.SocketTimeoutException: SocketTimeoutException invoking
https://api.xero.com/api.xro/2.0/Payments?page=1:...
1
vote
0
answers
192
views
Android Quick Setting SocketTimeoutException
I recently got a power plug with WIFI to control a lamp. Toggling the lamp on/off works great when calling the URL from a browser.
For more convenience, I wanted to implement a quick settings toggle ...
1
vote
0
answers
151
views
What is causing java.net.SocketTimeoutException: Read timed out while writing large file to REDIS
Our microservice is writing large volume of data to redis. Since the sequential processing is taking nearly 50 min to process the file, i tried to implement asynchronous processing.
Following are the ...
0
votes
1
answer
863
views
How do I stop java.net.SocketTimeoutException: timeout whilst using the ChatGPT API for my Android app?
I have the issue where whenever I attempt to get a response from the ChatGPT Java API by Theo Kanning, I get the error message java.net.SocketTimeoutException: timeout after waiting ~10 seconds. I was ...
0
votes
0
answers
817
views
Getting java.net.SocketTimeoutException: Read timed out when making Jira Server Search Rest API call
I am making following Jira Issue Search Rest API call to fetch all the issues in a project having 1 or more issuelinks from my Jira instance and I am using pagination for collecting all issues from a ...
1
vote
1
answer
1k
views
How to change the socket time out value in Jira?
We are trying to change the socket timeout in Jira as some of the REST API calls are taking too long to respond due to which we are getting Request Time Out Error.
For changing it, we tried the ...
1
vote
1
answer
276
views
Connnections handling
So I've been using karate for a while now, and there has been an issue we were facing since over the last year: org.apache.http.conn.ConnectTimeoutException
Other threads about that mentioned ...
0
votes
1
answer
1k
views
FirebaseAuthException: Timed out while making an API call: Read timed out
I have an android project I've started working on that connects to a backend API. Both the backend and the client use Firebase Authentication. The problem is that I've been running into an issue when ...
3
votes
2
answers
9k
views
Apache 5 HttpClient Retry Strategy Not Working
I am trying to add a custom retry strategy to my HttpClient such that it retries on SocketTimeoutException and NoHttpResponseException. However, the custom retry strategy is not getting invoked in ...
3
votes
1
answer
8k
views
Apache HttpClient throws java.net.SocketException: Connection reset if I use it as singletone
I created an Apache HTTP client
CloseableHttpClient client = HttpClients.custom()
.setMaxConnPerRoute(25)
.setMaxConnTotal(50)
....
-1
votes
2
answers
4k
views
How can I catch the SocketTimeoutException "raised" in setSoTimeout()?
I am doing socket programming in Java and I am confused by setSoTimeout() and its exceptions.
I have a simple Callable<String> on the server-side for accepting connections:
private Callable<...
0
votes
1
answer
977
views
DeleteByQueryRequest socket timeout exception - java high level rest client api
I'm a beginner to elasticsearch and I want to delete a huge amount of document which matches to the particular query. I'm using DeleteByQueryRequest for this purpose. I tried the code below.
String ...
2
votes
0
answers
274
views
My Android App give me SocketTimeoutException
Recently I am working on an android app, but there is something working with my APIs
my phone and my laptop at the same wifi,
here is the scenario
I send the request to API from the postman then go to ...
0
votes
1
answer
936
views
ECONNRESET & ESOCKETTIMEDOUT errors when testing high traffic load on express.js application and RDS MySQL 5.6
I have:
An express application which exposes a REST api and needs to connect to a MySQL database (see below)
An AWS RDS MySQL 5.6.34 database on a db.t2.medium instance
In the case of a single ...
1
vote
1
answer
2k
views
Android app is crashing on SocketTimeoutException in retrofit Interceptor
Following is my offline interceptor code. It crashes in case of low network and throws SocketTimeoutException. How to avoid app from crashing in this case?
internal class CacheOfflineInterceptor : ...
0
votes
0
answers
2k
views
How to load ConfigMaps using kubernetes-config extension
I've been following https://quarkus.io/guides/kubernetes-config in order to create a configMap and test my Quarkus service into my CDK v3.5.0-1 before to push it to OpenShift 3.11 but ...
0
votes
0
answers
538
views
java.net.SocketTimeoutException in JAVA okhttp client and AWS server php script
I want to send a formbody using okhttp in java from the Android APP client-side to check if new file is available on the server, and handle this request through a PHP script on AWS EC2 server to send ...
2
votes
0
answers
2k
views
MongoDB SocketException: : Connection reset
I have a spring boot applicaiton running which connects to mongoserver in azure cloud.
The app continuesly gets java.net.SocketException: Connection reset exception for the first request after 4 secs ...
2
votes
2
answers
16k
views
How to solve "Socket read timed out" when using hikari connection pool
I am developing an application using play framework (version 2.8.0), java(version 1.8) with an oracle database(version 12C).
There is only zero or one hit to the database in a day, I am getting below ...
1
vote
0
answers
340
views
Why am I getting a timeout exception with flask on googles app engine when trying to append a value to a wtforms validtor?
I'm having trouble deploying a flask app to the Google app engine. It works fine when I run it locally but as soon as it's deployed to the app engine it fails. With two exceptions (I'm always getting ...
-1
votes
1
answer
316
views
Error SocketTimeoutException connecting to google in android
i'm having a problem with the connection for my app (Android). I'm using the following code to check if i have internet connection.
ConnectivityManager cm = (ConnectivityManager)context
...
0
votes
0
answers
3k
views
Handle SocketTimeoutException in Apache Camel
I have a java application with Apache ServiceMix and Apache Camel.
Here is my Camel Spring XML configuration:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="...
2
votes
0
answers
215
views
poco Socket::select() APi not waiting for a file descriptor to become ready for gievn Poco::Timespan
I am using POCO library for socket connection.
I Notice poco select API doesn't wait till the poco::timespan.
ReadData() {
SocketList read;
SocketList write;
Socket::select(read, write, ...