9,811 questions
Advice
0
votes
0
replies
38
views
How to implement session timeout in .NET Framework 4.7.2 application
We have several applications built in .NET Framework 4.7.2 that uses .NET Identity for authorisation and authentication. I am trying to implement a session timeout, in line with OWASP recommendations.
...
-1
votes
0
answers
43
views
How to prevent session timeout in Python [closed]
I am incredibly new to coding and Python, and wanted to know what code I need in order to prevent a session timeout. I am coding a text adventure, and some of the blocks of writing are long, and by ...
0
votes
0
answers
45
views
I'm getting a timeout when adding second page.evaluate with puppeteer
I have this with node 25.0.0 and Windows and puppeteer. Basically the get_card_search_results is called and it loads a page that features lazy loading. It will "scroll" the page down to ...
2
votes
1
answer
84
views
GridDB Cloud Python client: How to handle connection timeout and auto-reconnect?
I’m using GridDB Cloud with the official Python client to insert real-time IoT data into a time-series container.
The script runs continuously, but after a few hours I get a connection timeout and ...
3
votes
0
answers
248
views
Is there a parameter in Android Studio for the Geminin Agent timeout
I have been trying out Gemini Agent. One problem I get very often is that I ask it for a code change, it thinks and responds with t's understanding of my request (usually it's pretty close to what I ...
1
vote
1
answer
72
views
Gunicorn with worker 1 not able to call local API
I have flask app, which we are running using gunicorn.
App structure.
% tree your_flask_app
your_flask_app
├── __init__.py
├── app.py
└── routes
├── __init__.py
├── data.py
└── shared.py
...
1
vote
0
answers
95
views
Postgres stored procedure doesn't return if running longer than 5 minutes
I have the following simple Postgres stored procedure created that just sleeps a number of minutes as passed in to call:
create procedure sleep_test(delay_minutes numeric)
language plpgsql
as
$$
...
0
votes
0
answers
118
views
Selenium Chrome browser hangs and becomes unresponsive after processing a few profiles [duplicate]
I’m using Selenium with a custom Chrome setup via undetected_chromedriver, and I run into a critical issue during automated browsing sessions.
After successfully processing around 5–6 LinkedIn ...
-1
votes
1
answer
83
views
Does Bit Flows Pro limit either the number of nodes executed in a single flow or the maximum duration?
Bit Flows Pro flow stops early (~20–21s) with fewer nodes than expected on WordPress (OpenLiteSpeed + lsphp). Where is the timeout coming from and how do I raise it?
Environment
WordPress + Bricks ...
1
vote
1
answer
69
views
Сonnection timeout for function does not seem to work in Python script
for some reason the connection timeout does not seem to work when connecting to a Firebird database. For example, if an incorrect IP address is specified, the script hangs and waits for a long time.
#!...
0
votes
0
answers
107
views
TimeoutError occured when using wandb.init
I used wandb.init and resulted in the error below.
wandb: Currently logged in as: MyWandbAccount (accountname) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
wandb: ERROR Run ...
1
vote
0
answers
65
views
FastAPI on Azure VM gets `botocore.exceptions.ReadTimeoutError` from AWS Bedrock after idle period
I am running a FastAPI application on an Azure Virtual Machine. This application uses langchain-aws methods (ChatBedrockConverse) to make calls to the AWS Bedrock service.
After a period of inactivity ...
2
votes
1
answer
295
views
How to fix DioException [connection timeout] in Flutter with AlgoliaSearch or Dio package?
I'm trying to fetch data using Algolia Search in Flutter and the data does get fetched the problem is that it gives the following error:
DioException (DioException [connection timeout]: The request ...
0
votes
0
answers
46
views
Timed out error at upload to PyPi with pdm
When I try to upload a new version 0.8.2 of my python software with pdm to PyPi I get the error
[WriteTimeout]: The write operation timed out
while the upload works for another project with very ...
-1
votes
1
answer
108
views
Can't get the data in next.js server side only in production domain
I have next.js application and i need to get metadata from api. i've written basic fetch request in generateMetadata in page.tsx. In local or any other https domain everything is working fine but in ...
0
votes
1
answer
106
views
cannot read this web page using httpsurlconnection or selenium
I am trying to read this https page using java
https://www.hkex.com.hk/eng/stat/smstat/dayquot/d250602e.htm
but always hit Read timed out.
Here is my code
try {
URL url = new URL("https://...
1
vote
1
answer
64
views
How can I get the last result from a retrystrategy in an outer timeout strategy using Polly?
I have the following requirement that I can't really figure out how to solve.
Using Polly in C#/.NET:
Given an user defined timeout and an internally/system defined retry strategy.
How can I get the ...
1
vote
1
answer
356
views
Blazor Server HttpRequest Timeout maximum is fix 30 seconds
I have a Blazor Server C# application in .NET 9 and I use a service to handle remote API calls. I would like to set timeout for requests globally like this:
var timeoutSec = builder.Configuration....
0
votes
0
answers
34
views
NextsJS - fail to fetch data - timeout
I have a problem with a timeout during the build on my VPS machine.
About VPS: VPS 2 vCPU
Is this enoguht for stack strapi + nextjs + docker?
Strapi API Error (header): TypeError: fetch failed
at ...
1
vote
1
answer
324
views
Facing gateway timeout error in apache superset
I am using apache superset to connect to postgresql. I am facing "Gateway Timeout" in Dashboards where few charts come up but few errors out. In fact, when I click on "View Query" ...
0
votes
0
answers
189
views
hey-api client-fetch: How to set AbortController / timeout on a request?
I'm using hey-api's Fetch API client and have been trying to set a timeout time on requests, but I'm running into issues and can't seem to figure it out. Has anyone managed to get this working, or ...
0
votes
1
answer
56
views
TCP/IP Connection Reset --- request Timeout iOS
send a request and it returns with timeout
Integration Team are Using Fortigate as a firewall and NGINX for some reasons
so we use VPN TO Access , requests always succeed but at once it failed with ...
1
vote
0
answers
18
views
TestStack.White UiItemContainer.Get() is blocking for the complete BusyTimeout delay even if the searched item is present earlier
In my Test app, using TestStack.White nuget package (last available version: 0.13.3) I need to search an Item with a given AutomationId in a container (main app window). I want to wait for it for max ...
-1
votes
2
answers
47
views
Dynamically setting the IHttpClientFactory timeout
What is the best way to dynamically change the timeout of an application if we are using IHttpClientFactory? I don't mean I want a different timeout for different addresses or endpoints - I mean all ...
1
vote
0
answers
49
views
git subtree push times out when pushing to remote repo without squash
my team and I are trying to figure out how to incorporate git into our weird use cases. I'll explain what the use cases are and what we thought about handling it. Then I'll ask my question about the ...
-2
votes
1
answer
146
views
Correct re-use of context.WithTimeout in golang?
First the code I have:
for last < end {
// HERE the linter is complaining with:
// nested context in loop (fatcontext)
ctx, cancel = context.WithTimeout(...
2
votes
0
answers
113
views
ClickHouse JDBC Bridge: "Connection was closed" errors with long-running SQL Server queries
I'm experiencing persistent timeout issues when connecting ClickHouse (v25.2.2.39) to SQL Server through the ClickHouse JDBC Bridge (v2.1.0).
Simple queries work fine: SELECT * FROM jdbc('DWH', '...
2
votes
1
answer
52
views
TimeOut when call my Springboot API with Flutter app
After upgrading my version of Flutter to 3.29.3 :
Flutter 3.29.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ea121f8859 (2 weeks ago) • 2025-04-11 19:10:07 +0000
...
-3
votes
1
answer
122
views
What can make a thread uninterruptible and non terminating? [closed]
tl;dr - I want a complete list of mechanisms/patterns that can result in java code that runs forever and cannot be interrupted
There are a number of things that can make a java thread fail to ...
1
vote
0
answers
77
views
Strictly enforce timeouts on JVM for arbitrary code?
I have a situation where a multithreaded service is making parallel calls to user-submitted code over which I have no control. I'm hoping to find a mechanism by which these calls can be timed out if ...
1
vote
1
answer
118
views
ZIO timeout not timing out even with disconnect
I'm trying to set up something in ZIO to timeout other tasks, but not finding anything which is able to interrupt them reliably.
import zio.*
object MainApp extends ZIOAppDefault {
def spinny(): ...
0
votes
2
answers
163
views
Polly in C# is retrying the request, even though HttpClient isn't timing out and there are no errors
I have an API client that calls an API hosted in Kubernetes and using kong for gateway API, which is built using ASP.NET 6.
We've also configured a Polly policy to retry the request if it receives an ...
6
votes
6
answers
6k
views
Mermaid.ink Timeout Error When Using Short Node Name in langgraph Diagram
I’m using langgraph in a Jupyter notebook to build a simple state machine and then render the graph with Mermaid via mermaid.ink. In one snippet of code, naming the node "A" causes a timeout ...
-1
votes
1
answer
65
views
Why does my register action break when deployed?
My register server action works on local host but breaks when deployed to digitalocean. I have tried running it on the server in development mode, but that doesn't make a difference.
I'm receiving a ...
-1
votes
1
answer
59
views
Need help scraping FAA N Number database as I can't seem to communicate with the url
Trying to pull data from FAA N Number results but request.get() doesn't seem to be working.
I followed this tutorial (https://www.youtube.com/watch?v=QhD015WUMxE) and was able to scrape the website he ...
0
votes
1
answer
84
views
How to set timeout for GraphQL client generated by aws-amplify?
I'm getting a following timeout error when execution within the graphql query handler takes longer than 3.01 sec.
{
"data": {
"service_call": null
},
"...
2
votes
1
answer
193
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
0
answers
52
views
Redis Timeouts issue
We have a server configuration 4 servers pretty much maxed out specs possible in Azure. They are behind a load balancer. Our ASP.NET web application uses Redis for Session State. We receive ...
0
votes
1
answer
136
views
dnsjava - How are DNS query retries controlled using Simple Resolver in DNSJava?
How are DNS query retries controlled using Simple Resolver in DNSJava? Using the same resolver, we see retries of 2 and in some cases 3. It is not clear as to how it is retried. Any help in this ...
0
votes
0
answers
31
views
Property Timeout in NHibernate configuration is not working anymore
I have an old application in C# in postgresql 9.3 using this code to connect to server.
FluentMigrator : 1.6.2
NHibernate : 4.1.2
Npgsql : 2.2.7
Configuration configuration = new Configuration();
...
0
votes
1
answer
57
views
AWS - put data on S3 results in TimeOutError
I am creating a dataset on AWS S3, for their Opendata program.
I am fetching audio files, which are already stored on S3.
I then segment them into smaller audio chunks, and putting those on S3 again.
...
0
votes
1
answer
62
views
Discord.py view doesn't call "on_timeout()" method
class MyView(discord.ui.View):
async def on_timeout(self):
print('TIMEOUT')
...
If I set the timeout time to 15 minutes, it works, but if I set it to 24 hours, it doesn't work.
...
0
votes
1
answer
43
views
How do I detect a database timeout in python?
I have some code that executes database queries, like so:
self.db_cursor = self.db_conn.cursor(buffered=False)
self.db_cursor.execute(query)
Now I want to add a timeout, so that long queries are ...
0
votes
1
answer
63
views
A timeout exception is not caught as such
I have a function that calls an API
def somefunction():
#....
try:
response = requests.post(api_url, json=payload, timeout=timeout)
response.raise_for_status()
...
0
votes
1
answer
47
views
Skip to next step on timeout
I'm leveraging Puppeteer to open a website from a list of URLs, grab a few pieces of data, then write to CSV.
While there are a few elements that could be collected from a given URL, not all URLs will ...
0
votes
1
answer
301
views
Sometimes couldn't connect to host, port: smtp.office365.com, 587; timeout -1;
I use org.springframework.mail.javamail.JavaMailSender to send emails via smtp.office365.com. It works most of the time but sometimes emails are not send because of connectivity issue. smtp.office365....
0
votes
2
answers
141
views
Task.WhenAny with Task.Delay to implement a timeout mechanism does not work reliable
From within my ASP.NET application (.NET Framework 4.8) I invoke an external process via Anonymous Pipes. Theoretically, it could happen that the external process hangs (for whatever reason) when my ...
0
votes
0
answers
164
views
FeignException - 504 Gateway Time-out
I have a webscraping service that takes a bit too long (sometimes up to 2 hours).
But I did a good configuration, that can handle long functions, however I got this error:
2025-02-18T10:40:00.017Z ...
0
votes
0
answers
86
views
isPresent method throws Exception after timeout instead of Boolean
I am using Serenity BDD. I have the following code:
@FindBy(id = "privacy-iframe")
WebElementFacade cookieBannerIFrame;
Boolean cookieDisplayed = withTimeoutOf(Duration.ofSeconds(20))....
0
votes
0
answers
18
views
How to set a timeout for usb4java read method?
I using usb4java to read data from a devicer, I'm using
pipe.syncSubmit(byte[])
method, but how can I set a read timeout to avoid infinite wait?