9,859 questions
0
votes
0
answers
17
views
How to diagnose and correct timeouts in functions that use connection pooling in the backend?
I'm facing timeout issues in several functions of my backend application, such as confirm-email, start-exam and get-genders. After reviewing the logs, we suspect the issue may be related to the ...
0
votes
0
answers
44
views
How to ensure a Lambda processes only one SQS message at a time?
I am working with AWS Lambda triggered by an SQS queue. The problem is that I don’t know exactly how long each task will take to process. It could take anywhere from 2 minutes to 10 minutes. My Lambda ...
0
votes
0
answers
42
views
Websocket with Python error: [WinError 121] The semaphore timeout period has expired
EDIT: I am providing the official code for the websocket asyncio server example from python websocket webpage: https://websockets.readthedocs.io/en/stable/index.html
The [WinError 121] appears when a ...
4
votes
0
answers
74
views
Angular SSG Prerendering gives timeout when rendering big numb of urls (V17+)
I have angular v19 app and I'm using SSG with following angular.json settings
{
...
"prerender":{
"routesFile": "prerender-urls.txt",
...
1
vote
0
answers
32
views
SCL Stuck Low and I2C Timeout Issue with ESP32 and ZTW523A
I’m working on interfacing a ZTW523A touch controller with an ESP32 via I2C, but I’m facing issues with I2C timeouts (Wire.h error 5: timeout) and I am unable to detect the device using an I2C scanner....
0
votes
1
answer
50
views
Cloudfront timeout connection vs response timeout
I have a legacy app running that has an endpoint taking about 65 seconds to return a response. This is configured as an origin behind cloudfront, and the browser shows a 504 gateway timeout from ...
0
votes
0
answers
49
views
Google Sheet read always timeout
I use the following code to read google sheet ,Recently at certain times of the day, and this operation always timeout and it used to work normally
public List<List<Object>> ...
-1
votes
0
answers
29
views
Deadline Middleware in Golang [duplicate]
I wrote middleware which sends 408 response to user if request time was exceeded
func (app *application) TimeoutMiddleware(timeout time.Duration) func(http.Handler) http.Handler {
return func(next ...
2
votes
1
answer
52
views
Retry strategy with exponential timeout
I use Polly to retry HTTP Requests. The following code works fine:
IAsyncPolicy<HttpResponseMessage> waitTimeout = Policy.TimeoutAsync<HttpResponseMessage>(TimeSpan.FromSeconds(5));
// ...
0
votes
0
answers
27
views
Node.js socket io server disconnects python socket.io client after 30 seconds
Node.js socket io server disconnects python socket.io client after 30 seconds..
server sends this:
0{"sid":"6afJCYzsh1Yz3bh3AAAA","upgrades":[],"pingInterval":...
0
votes
1
answer
22
views
Exchange Server Timout issue in .Net Mail Kit
Mail Kit package connect method throw operation timeout exception but EASendMail package send email successfully with same properties in .Net app. You can see written c# code under below.
var host = &...
0
votes
0
answers
13
views
How to enforce a timeout for calling DockerImageLs in Cake?
In order to avoid having builds that run for a long time only to fail at the end with docker push because some issue with docker not running (properly), I want builds to fail immediately then and have ...
-7
votes
0
answers
41
views
How to fix unusual problem in php, mysql? [duplicate]
I use a simple code for login to my website. After entering the username and password, I get this error:
ERROR:
408 Request Timeout in PHP MYSQL
Server timeout waiting for the HTTP request from the ...
0
votes
2
answers
62
views
Timeout response when trying to use AWS S3 SDK with lambda (Node.js)
My Lambda runs fine with all services except S3. Any action I try to perform, the execution hangs and I get a timeout. For testing purposes, I'm using a default vpc configuration.
I have the S3 full ...
0
votes
0
answers
20
views
Weird Redis timeout
I'm having a weird Redis cache timeout on a client. Why weird? It's because the application (a REST service) is running 2 instances on 2 identical VMs thru a load balancer. One box never has any Redis ...
0
votes
0
answers
23
views
HTTPS requests terminate after ~80 seconds with HTTP/2 but not with HTTP/1—only occurs in office environment with client-to-server connections
My team recently upgraded our application to use HTTP/2, and I’ve noticed that HTTPS requests between the client and server are terminating after around 80 seconds. This issue does not occur when ...
-1
votes
1
answer
34
views
Vespa visit 504 Gateway timeouts
I need to fetch couple million worth of records from Vespa. I am utilising vespa visit CLI command and --slice to have the data in manageable chunks. I have tried various slice sizes and but still ...
0
votes
0
answers
164
views
What is the context of "Context Deadline Exceeded" error messages?
There are countless SE questions and github threads trying to debug the hopelessly vague error of "Context Deadline Exceeded". The only thing that's clear is that some sort of timeout ...
0
votes
2
answers
95
views
WCF timeout so quickly
I'm experiencing a timeout issue with WCF communication between two solutions. Occasionally, we receive the following error:
The request channel timed out while waiting for a reply after
00:00:00....
0
votes
0
answers
28
views
MongoDB Kotlin Driver : Client timeout after a few hours
I'm using the MongoDB Kotlin Driver dependency.
My project run with Spring Boot but I don't want to use the Spring Data MongoDB dependency (So as not to be dependant on Spring).
I use a bean to ...
0
votes
0
answers
24
views
Graph API subscription change notification response timeout
I have a Graph API subscription/webhook setup for Teams Call data. The subscription itself is fine and I have been keeping it updated for months. The issue is with the change notification response. ...
0
votes
0
answers
33
views
Discord Bot UND_ERR_CONNECT_TIMEOUT when hosted in AWS EC2
I'm creating a discord bot that I want to host on AWS EC2 instances.
I am mainly following this post to configure my AWS: medium/aws-ecs-cluster-on-ec2-with-terraform.
What is not working:
The client....
1
vote
1
answer
44
views
504 upstream timeout - nginx
we are working on shopware 5 and it is running on php 7.3.
Also, it uses php-fpm.
PHP-FPM config
request_terminate_timeout = 300s
NGINX config
# Timeout settings for Nginx
client_body_timeout 1800s; ...
0
votes
0
answers
46
views
magento installation with composer timeout
When I want to install the latest version of Magento 2 I always have timeout.
The message is the following one. Each time I have this timeout on the same package at (26%) sebastian/phpcd (6.0.3)
"...
2
votes
0
answers
63
views
IHttpClientFactory always causes a timeout in the first request
We are using the IHttpClientFactory to connect to an external service using the following code:
// register service
services.AddHttpClient("NoProxy")
....
0
votes
0
answers
46
views
How to handle multiple URL requests in Java without timeout using multithreading?
I am trying to create an algorithm that makes multiple URL requests using several threads. The code works fine without multithreading, but when I add multiple threads, it runs for a few seconds and ...
0
votes
0
answers
19
views
HttpClient Timeout on Live Server for Paginated API Requests
I am working on an ASP.NET application where I fetch paginated product data from an external API. The code executes fine on the first page, but when fetching page 2 on the live server, the process ...
0
votes
0
answers
21
views
TimeoutException with selenium. Why is happening if the element is there and I'm waiting for it to be visible?
I'm trying to make a simple scrape. The idea is simple: it goes to the search's page of an ecommerce, click on product, go to product's page, scrape the information and go back to search's page to ...
0
votes
0
answers
27
views
How to set timeout for an open pool connection?
I am using knex for db connection and keep encountering an error when specified max pool connection reached says Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a ....
0
votes
0
answers
69
views
ASP.NET Core returns statuscode 0 when long polling timeouts before .NET 8. In .NET 8, it returns statuscode 499
We have an ASP.NET Core application that the client normally uses long polling to get results:
before .NET 8, when long polling times out, the client throws a timeout exception which is expected. On ...
1
vote
1
answer
45
views
Socket Timeout will kill the Thread in Python
I am going to use the following Python program in my dedicated online server. My doubt is for each and every new connection to server, it is creating a new thread number. I already set the timeout ...
0
votes
2
answers
76
views
Timeout exception with selenium and python. What is wrong with this navigation?
the idea of the code is simple. It will go to the search's page, "see" all the products there, click one by one, scrape all the data, go back to the search's page and click on the next ...
0
votes
1
answer
81
views
Client not receiveing response from Application Gateway timing out and collecting 400 httpStatus
I have a NodeJS Express API.
It exposes an endpoint expecting a multipart form to collect files.
It is deployed in an AKS instance.
The AKS is behind an Application Gateway.
A client is performing ...
0
votes
1
answer
63
views
Nodemailer, 504 Gateway Time-out
I am trying to get nodemailer to work. Locally everything works fine, but not online, not with my front-end and not with postman.co. If I send a request, it takes the origin many seconds to give up ...
-1
votes
1
answer
122
views
Get "http://localhost:3100/loki/api/v1/query_range?direct00&step=30000ms": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
I'm encountering a timeout error when trying to run a query in Grafana using Loki. The error message is as follows:
context deadline exceeded (Client.Timeout exceeded while awaiting headers)
I've set ...
0
votes
0
answers
41
views
Android notification - set default timeout
I am using my Android phone (running Android 14 - API34) to test an app which builds a notification. My problem is that the notification disappears after a few seconds (leaving just a notification dot)...
0
votes
1
answer
37
views
Difference between Timeout vs Context cancelled Error
What is the difference between Timeout vs Context canceled Error? Can someone help with a detailed answer with examples?
0
votes
0
answers
22
views
Intermittent Connection Timeout Error in Vendor API Call on Go Server
I'm encountering an issue where one of our vendors is receiving a Connection Timeout error when attempting to call our API, while another vendor's requests to a different API on the same server are ...
0
votes
1
answer
68
views
Set timeout in a http.post call using typescript
I created one API call which is working fine with the following code:
timeoutTime : number = 10000;
this.http.post(this.apiUrl+'/login', JSON.stringify(data), {
headers: new ...
0
votes
1
answer
38
views
Ensure that the MassTransit bus has started correctly and has all the defined consumers configured
I’m using MassTransit 8.0.15 with RabbitMQ in a .NET REST API. During startup, I configure several consumers and activities used within a routing slip. Occasionally, it happens that a queue (for ...
0
votes
0
answers
32
views
Java Socket timeout not honoured with spring open feign client
I am writing integration test to verify that connection timeout works, but what i am observing is socket timeout is not being honored.
I have set the config to timeout in 15seconds, and I tried ...
0
votes
0
answers
37
views
Coding the wait function from Teraterm in Python
I am working on a project where I want to port some Teraterm scripts into Python. I got something working but it is not really matching what I want: read each lines on the UART until either a timeout ...
2
votes
1
answer
265
views
Polly timeout in Blazor WASM Application HttpClient
New to .Net and Blazor. I am trying to extend the timeout of my HTTPClient call (I assume) in my Blazor application. No matter what I do the timeout happens after 10 seconds and a retry initiated, ...
0
votes
1
answer
24
views
API client keeps waiting for response until timeout when server side has already responded
I am testing my API server side code in Java Spring Boot. The server side has already responded but the client side keeps waiting for the response body until the client side timeout, server side ...
0
votes
0
answers
43
views
N_CR and N_AS Timeout in LIN communication
I am new to LIN protocol so far understood LIN communication and implemented the stack which is working fine for me now I want to implement N_CR and N_AS timeout.
I want to know where this timeout is ...
0
votes
0
answers
18
views
Axios on localhost crushes with a timeout error
i׳m working with axios for my api calls and sometimes on localhost axios stucks and falls on a timeout error.
when i tried it on production it does not do it.
Things i tried to do:
change axios ...
0
votes
1
answer
364
views
Blazor Server: Fix "Could not reconnect to the server" problem
I've developed an application in .NET 8 Blazor Server (deployed to Azure with a SignalR service). The user often starts to enter some info (often, quite a lot of info) in a form, gets pulled onto some ...
0
votes
1
answer
43
views
Under high concurrency, frequent timeouts occur when using fetch to pull resources in NodeJs
Now I have written a program like the following:
// NodeJs version: v20.16.0
async function fetchFile(url: string, timeout: number): Promise<Response> {
const controller = new ...
0
votes
0
answers
32
views
Run server-side task for specific duration
I'm running a Flask app on a Google Cloud Run service. When a user sends a request to route /api/start_task, a block of code starts running, which can take a very long time to run. For several reasons,...
0
votes
0
answers
44
views
Does Vercel's maxDuration override the timeout of a http socket connection inside a server action?
I have a nextJs app that has a call to an email notifications client that uses a http socket connection to receive a trigger. This is initiated inside a server action that itself is called in response ...