timeout

Application failed on Emulator to launch due to time-out

孤者浪人 提交于 2020-01-03 13:06:33
问题 From past 1 hour,I am unable to launch my application on Eclipse-Helios and the console on my Eclipse gives the following error: [2011-11-21 10:37:00 - PagingScrollerExample] Failed to install PagingScrollerExample.apk on device 'emulator-5554': timeout [2011-11-21 10:37:00 - PagingScrollerExample] Launch canceled! I had come across the same problem before,but whenever I perform Project->Clean process I could overcome this sort of problem.But today I don't know what has happened.I performed

Node.js express, timeout “Can\'t set headers after they are sent.”

徘徊边缘 提交于 2020-01-03 04:53:24
问题 I have some really strange problem with nodejs and express. One of my functions that handles request, have to get something from DB and send it as JSON to client. So it goes like this: Get request Call DB Process data and pack it to JSON response.json(JSON) Normally it will go all OK but if there is timeout between 2 and 3 because it is asynchronously it will automatically create response and there will be error "Can\'t set headers after they are sent." when I call 4 Does anyone else have

multiple calls to WCF service method in a loop (using the same proxy object) causing timeout

元气小坏坏 提交于 2020-01-03 04:40:13
问题 I am calling a WCF service method repeatedly in a loop (with different params on each iteration) and it is causing timeout after around 40 mins. I am using the same proxy object and closing it only once the loop is completed like this. how can I avoid this timeout error? do I need to instantiate a new proxy for each call. (actually I am calling a SQL server reporting server webservice here and passing different params to generate different reports and I am not using a new proxy for each

QDir hangs on accessing CIFS remote folder when disconnected

梦想与她 提交于 2020-01-03 02:23:10
问题 I'm using Qt 4.7 on CentOS 6.0. I have a remote share folder mounted with CIFS: mount -t cifs //PC128/mnt /media/net -o username=user,password=pwd,rw,noexec,soft,uid=user,gid=user When remote folder is somehow incorrectly disconnected (e.g. the network cable is pulled out) my application hangs because of QDir locks on attempt to touch the folder (e.g. QDir::exists call). After ~90 seconds it unlocks and returns false. It looks right - the timeout to 回答1: QDir uses synchronous file API. When

Python: Need to request only 20 times per minute

試著忘記壹切 提交于 2020-01-02 20:43:12
问题 I have made a python code that uses a api to request some data, but the api only allows for 20 requests per minute. I am using urllib to request the data. Also I am using a for loop because the data is located in a file: for i in hashfile: hash = i url1 = "https://hashes.org/api.php?act=REQUEST&key="+key+"&hash="+hash print(url1) response = urllib.request.urlopen(url2).read() strr = str(response) if "plain" in strr: parsed_json = json.loads(response.decode("UTF-8")) print(parsed_json[

Why php script may stop?

老子叫甜甜 提交于 2020-01-02 13:25:07
问题 I'm running really long task in php. It's a website crawler and It has to be polite and sleep for 5 seconds each page to prevent server overloading. Script starts with: ignore_user_abort(1); session_write_close(); ob_end_clean(); while (@ob_end_flush()); set_time_limit(0); ini_set('max_execution_time',0); After few hours (between 3-7h) script dies without any visible reason. I've checked apache error log (nothing) php_errors.log (nothing) output for errors (10 578 467b of debug output, no

Aerospike Timeout Exception

ⅰ亾dé卋堺 提交于 2020-01-02 10:44:06
问题 I have an application that users a lot of batch reads in Aerospike. After some time the application is running, I get a lot these errors: play.api.Application$$anon$1: Execution exception[[AerospikeException: Error Code 9: Timeout]] at play.api.Application$class.handleError(Application.scala:296) ~[com.typesafe.play.play_2.11-2.3.7.jar:2.3.7] at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.11-2.3.7.jar:2.3.7] at play.core.server.netty

SqlException timeout expired without being reached

有些话、适合烂在心里 提交于 2020-01-02 07:14:10
问题 From time to time our server throw this well-known exception: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. This happens under pressure when the server is working on big requests. I did some research and found out that I could change connection string connection timeout setting and/or SqlCommand.Timeout data reader properties. By default, sql command timeout is set to 30 seconds and connection timeout to 15 , and we never

.NET Web Service (asmx) Timeout Problem

◇◆丶佛笑我妖孽 提交于 2020-01-02 04:45:07
问题 I'm connecting to a vendor-supplied web ASMX service and sending a set of data over the wire. My first attempt hit the 1 minute timeout that Visual Studio throws in by default in the app.config file when you add a service reference to a project. I increased it to 10 minutes, another timeout. 1 hour, another timeout: Error: System.TimeoutException: The request channel timed out while waiting for a reply after 00:59:59.6874880. Increase the timeout value passed to the call to Request or

To Increase Request Timeout only on particular Web Page

99封情书 提交于 2020-01-02 02:41:06
问题 Is it possible to increase the request timeout for just the one particular web page? I am working on ASP.Net 4.0 and I need one particular page to have a longer request timeout, since it is responsible for initiating a long running process. Thanks. 回答1: Use Web.config: <location path="Page.aspx"> <system.web> <httpRuntime executionTimeout="180"/> </system.web> </location> 回答2: This is an old thread, but it should be emphasized that updating the executionTimeout of a page or the entire machine