Questions tagged [timeoutexception]

TimeoutException is thrown when the time allotted for a process or operation has expired.

TimeoutException is thrown when the time allotted for a process or operation has expired.

427 questions
1
vote
0 answers

Solr collection API backup exception Timeout exception | "Could not backup all shards" | Directory containing snapshot doesnot exist

I was trying to backup around 20 million datas in solr through solr collection api backup. But getting timeout exception soon after executing the backup query in pod. adding stacktrace below: { "responseHeader":{ "status":500, …
Ayanajo
  • 11
  • 2
1
vote
0 answers

how to timeout the request made through webClient in 60 seconds including retry

I have put few attempts for retry for web requests, but I want to control overall timeout as well, like the any request which comes from the client to the webclient should not take more then 60 seconds which included retry as well. Now, I see the…
1
vote
0 answers

Google Sheets Script - Copy formulas to values based on column - times out

The following formula works well with less than 6000 rows. With more than 6000 rows or 100s it fails. Any suggestions? function removed() { var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('test'); var range = sheet.getRange(1,…
1
vote
2 answers

Why am I getting timeout exceptions or cannot find the element errors?

With this current block of code I am getting a timeout exception error and I am not exactly sure why. Can someone help me fix it? The program currently will get to the correct webpage, it just won't do anything after that. I originally added the…
Banthrall
  • 27
  • 1
1
vote
1 answer

TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time or###

I am writing a python program for 'send gamil' but we getting errror name as "TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed…
user20017494
1
vote
1 answer

Python requests raises timeout error on a website that works on a browser

I'm working on a python script that periodically checks many sites, and sends warnings when a site doesn't work for too long. We recieved warnings for some sites, but when we checked it with classical browsers (lastest Firefox version) it actually…
BenBouck
  • 23
  • 2
1
vote
1 answer

TimeoutException using Google Chrome in headless mode through Python Selenium

I wanted to use headless mode in my python selenium project, and I get this error: Exception has occurred: TimeoutException The last traceback was on line 26, and it was also the first line after succesfully opening a website. Here is the line in…
1
vote
1 answer

Entity Framework Core throwing timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding

I am using the following LINQ query using EF Core and getting the following error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Not sure what I am doing wrong here. ECUserId is…
Mukil Deepthi
  • 6,072
  • 13
  • 71
  • 156
1
vote
1 answer

TimeoutError: [WinError 10060] A connection attempt failed : Except block doesn't execute either

In my program i have a try and except block like so try: if exitCritera(ceLiveprc,peLiveprc,ceEntry,peEntry): closeAllOpenAndPendingTrades(cTok,pTok,ceEntry,peEntry) except(TimeoutError) as e: print("Timeout error occured…
rkhshm
  • 49
  • 1
  • 4
1
vote
1 answer

Selenium + Python: Unable to catch a TimeoutException with Try & WebDriverWait

Python version: 3.10; Selenium Webdriver: Firefox; IDE: PyCharm 2021.3.2 (CE); OS: Fedora 35 VM I am writing a python selenium script to scrape data from a website. I would like to navigate through a website, find an element & print it. I am able…
Auditor
  • 45
  • 1
  • 10
1
vote
0 answers

WCF: StreamedResponse throws Timeout after a few processed calls

i'm trying to set up an WCF-Web that returns data from the database as Streamed Response to the Client. The method returns 45.000 Items currently. My problem is, that when i try to call this method a couple of times, some requests will succeed,…
Chris
  • 11
  • 2
1
vote
0 answers

ExecutionException: java.util.concurrent.TimeoutException

Facing below exception while making multiple concurrent requests to an external API. But when I am trying to perform the same operation using any bulk load testing tool like Jmeter, the issue is not encountered. Also, the issue is not encountered…
acsh
  • 83
  • 1
  • 14
1
vote
1 answer

Selenium TimeoutException handling doesn't work

I am doing a project mentioned in the book 'Automate the Boring Stuff with Python'. Task is to download all images for a specific search tag from either flicks or imgur. So I chose flickr but my Timeout Exception doesn't work even if it's defined…
B3T0N
  • 31
  • 5
1
vote
0 answers

Handling TimeOutException in Kotlin retrofit with interceptor

I have built my retrofit like this private fun createAPI(apiClass: Class, baseUrl: String, vararg interceptors: Interceptor): T { val clientBuilder = OkHttpClient().newBuilder() .connectTimeout(10, TimeUnit.SECONDS) …
Oluwafemi
  • 306
  • 1
  • 4
  • 14
1
vote
1 answer

Getting TimeoutException when scraping an empty Webelement using Python Selenium

I am trying to scrape a web page to get the Pet shops names and corresponding addresses through looping the country states and cities. Then export it to a Excel file. I found out that when there is a city that does not contain any Pet Shop I get a…
Carlos
  • 37
  • 7