connection-timeout

SoapUI: ConnectException: Connection timed out:

给你一囗甜甜゛ 提交于 2019-12-30 02:33:12
问题 i try to send request via REST. I get success response when using firefox rest-client, but in SoapUI i get exception attached below. How to resolve this issue? Thanks. java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown

Loopj timeout exception in Android

北战南征 提交于 2019-12-25 02:48:21
问题 I am having a strange problem with Loopj Async HTTP library. I sometimes get the response using GET or POST, sometimes the response comes after a long time, some times the response does not come at all. This happens only when wifi is used. I have used loopj in so many projects and those work fine with wifi but not this project. When I use my mobile data 3G connection, always the response comes. I have overridden the onFaliure method and this is what I get when the response from server does

Limit ConnectionTimeout for Oracle Database

我与影子孤独终老i 提交于 2019-12-25 01:44:18
问题 How can I limit timeout for connecting to Oracle Database? I use devart dotConnect Express Edition on data access layer. I tried add Connection timeout=30; to connection string but it doesn't give right result (even a little weird, first time it really limits to 30 seconds, but not on all connection attempts). Then I find out that Connection Timeout Time (in seconds) to wait while trying to establish a connection before terminating the attempt and generating an error. A value of 0 indicates

how to set mysql_ping timeout with MySQL++

假如想象 提交于 2019-12-24 10:36:35
问题 I want mysql_ping to timeout in matter of seconds. In the testcase below if a connection is established followed by "ifconfig eth0 down" the false side of conn.ping() is never reached. The thread/process enters what seems like an endless wait. I want to change this and make it timeout faster, preferably using MySQL++ options. Any idea which option that might be ? Maybe I also need to set how many times it will retry ? Reading up on the documentation for MySQL, it tells us mysql_ping will try

Getting a 504 only when Fiddler is present?

杀马特。学长 韩版系。学妹 提交于 2019-12-24 07:44:37
问题 A GET request is constructed to test the network and it is configurable to purposely wait for 15 minutes within the IIS process before responding. When the request is issued in Chrome without Fiddler it completes successfully. However, with Fiddler it is usually either 5 or 10 minutes. When replayed from Fiddler it is 5 minutes (only a few trials so not conclusive). Within the 10 minute cases, inside the Fiddler Statistics tab is Request was retried after a Receive operation failed This

xmlhttprequest timeout / abort not working as expected?

随声附和 提交于 2019-12-23 12:12:03
问题 Here is my AJAX function: /** * Send an AJAX request * * @param url The URL to call (located in the /ajax/ directory) * @param data The data to send (will be serialised with JSON) * @param callback The function to call with the response text * @param silent If true, doesn't show errors to the user * @param loader The element containing "Loading... Please wait" */ AJAX = function(url,data,callback,silent,loader) { var a, attempt = 0, rsc = function() { if( a.readyState == 4) { if( a.status !=

Hibernate / MySQL connection timeouts — Trying to deal with thread-pooled executors not releasing Hibernate connections to C3P0 after exit

北城余情 提交于 2019-12-22 05:27:04
问题 I have a Tomcat application that uses MySQL, and Hibernate for ORM. The nature of our application demands that we have to pull and aggregate a lot of analytics data from a NoSQL store for each request , so we split the pulling and aggregating for each request into several tasks and delegate those to a thread-pooled executor service. When each thread performs a task, it needs to query / update MySQL regarding certain things so it borrows Hibernate sessions from C3P0 ( which we use for

What is the default timeout for AngularJS $http service requests?

泄露秘密 提交于 2019-12-22 03:40:38
问题 In $http docs it does not mention which is the default timeout in case of undefined. How can I know which is the default value for this configuration? 回答1: At one time the default timeout for http requests was 30 seconds, but now many browsers perform "keep-alive" polling by default so in all practicality there isn't one. I've had http requests sit for several minutes before the server itself finally gave up and issued a timeout. 来源: https://stackoverflow.com/questions/37547229/what-is-the

How to fix FastCGI timeout issues in Plesk?

扶醉桌前 提交于 2019-12-21 04:19:29
问题 PHP support is currently set to: run as Fast CGI. I keep getting these errors in my server log: mod_fcgid: read data timeout in 45 seconds Premature end of script headers: index.php Should be quick fix I think, but I cant find the file to edit. Is this something I can change from Plesk. Anyone know how to increase the timeout? 回答1: In Plesk 12.x and similar go to Web Server Settings and set the following directives: Additional directives for HTTP & HTTPS FcgidBusyTimeout 300 FcgidIOTimeout

Nginx timeouts when uWSGI takes long to process request

两盒软妹~` 提交于 2019-12-20 09:09:37
问题 I have Nginx + uWSGI for Python Django app. I have the following in my nginx.conf : location / { include uwsgi_params; uwsgi_pass 127.0.0.1:9001; uwsgi_read_timeout 1800; uwsgi_send_timeout 300; client_header_timeout 300; proxy_read_timeout 300; index index.html index.htm; } but for long running requests on uWSGI which takes about 1 minute to complete I get a timeout error in Nginx error log as below: 2013/04/22 12:35:56 [error] 2709#0: *1 upstream timed out (110: Connection timed out) while