timeout

SqlException timeout on GetConnection, but only from one node in a cluster

We have two nodes in a cluster. Both run an ASP.NET web application that connects to a database on another server. Node1 has no problems, but Node2 throws SqlExceptions, stating there's a timeout. The stacktrace shows me it's on DbConnectionPool.GetConnection. I checked the versions of our DLLs, the web.config files, the connection stri...

Using IErrorHandler and TCP Message Security causes a timeout

I have a WCF service with a custom IServiceBehavior attached used to return a specific fault on the client side. When I enable this code with TCP Message Security I receive a service timeout. Below you can see the full client and server code to reproduce the error. Server code: using System; using System.Collections.Generic; using Sy...

Flex - Script timeouts (Error #1502) and WebService component

Hello StackOverflow community, I am getting a script timeout (error #1502) when I am calling a SharePoint Web Service (CopyIntoItems) when trying to upload large files (greater than 40 MB). The error does not occur when using the Web Service for smaller files. The large files can be uploaded directly to SharePoint using the web interfa...

iptables flush issue

I am using iptables to change the ip address of a snmptrap packet so it looks like it came from different device. I wrote a PERL script that I pass flags to and it sends the simulated traps but I ran into a issue when trying to send a trap for one IP and then immediately trying to send another trap for a different IP. If I don't wait 3...

What Exception is thrown on timeout ?

What Exception is thrown on connection timeout in HTMLUnit ? ...

jQuery hover that changes various backgrounds with infinite loop until mouse is out

I've a <div> with a background-image that will change the background 4 times with a delay of 300ms. I've tried with setTimeout which seems to work correct, but clearTimeout(t); when the mouse moves out fails because the backgrounds continue changing. $(document).ready(function() { $(".image").hover(function(){ var obj = $('....

How long can a XMPP Session last?

Without timeout? Or is there even a timeout? ...

Jquery: Set a timeout of a page for loading

Hi to all, i would like make a script that detect if the page is full loading in 30 or else refresh the page with method (CTRL + F5) of Firefox that clear the cache of that page and refresh.. Is possibile to make? P.S: If is not possibile to make in Jquery i can use normal javascript. Thanks in advance. Kind Regards. Luca. ...

Hibernate C3p0 MySQL - Getting frequent CommunicationsException

My Java App communicates to MySQL using Hibernate and C3p0 libraries. I am getting following exception almost every day. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException MESSAGE: Communications link failure The last packet successfully received from the server was 32,088,839 milliseconds ago. The last packet sent successfully ...

How do I implement a request timeout in grails?

I'd like to be able to set a configurable (by controller/action) request timeout in grails. The objective is to handle a rare high-load failure mode in a deterministic way. For example, I know that if a given controller/action doesn't return in 30 seconds, then something is horribly wrong and I don't want to keep the user hanging. I'd ...

Help needed with submenu functionality, Timeout

Hi All, I'm working on this menu for a intranet system. I have a menu system which is partially working. I have added the code to here: http://jsbin.com/eloxe3/8 The menu items with a light grey background have a submenu...whereas the others do not. I need some help in making the submenu disappear after I hover over a link without a s...

Timeout on slow WebService Calls in C#

Hi, im calling a webservice with variable response times. I want to be able to "Timeout" the request if a response takes longer than 15 seconds. Meaning, i will move forward in my code, not waiting for the response. Everything is done in C#. Could anyone help me out with some code examples on how to do this? ...

Is PHP timing out, or is it something else that's causing my script's results to vary after each execution?

I have a directory full of XML files. For each of these files I make a search at RIPE. For each search I do a couple of RegEx searches through the returned HTML code. But after a couple of loops, file_get_contents stop returning data, and all my operations after are done on an empty string. I figured PHP may be timing out since these pa...

SQL Server Timeout after 10 Seconds

We are using OleDbConnection in a C# legacy application to connecto to a SQL Server 2000 where the connect string contains "Connect Timeout=5;" and we have the CommandTimeout set to 30 seconds. Yet when we run a command (a few inserts in a transaction) when the server is slow the query times out after only 10 seconds. System.Data.S...

PHP Upload Timeouts: More Efficient Upload Script?

Hi Guys, I have written a pretty basic upload script that takes the file and uploads it using the standard move_uploaded_file method as you see below: //UPLOAD IMAGE $path = "../../clients/$realClient/" . $_FILES["image"]["name"][$x]; move_uploaded_file($_FILES["image"]["tmp_name"][$x], $path); $displayPath = "pr...

ASP.NET Increase SQL Timeout on Gridview Databind

Getting the following sql timeout on a page System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. GridView1.DataBind(); While I know I need to review the actual Stored Procedure used, can someone point me to a quick fix to increase the time...

how to apply jacorb client side timeout

Hi , I am using a jacorb client to connect to a server using jacorb. I have created a file named jacorb.properties in the classpath. it only contains the following properties : jacorb.retries=3 jacorb.retry_interval=30000 jacorb.connection.client.pending_reply_timeout=30000 jacorb.connection.client.connect timeout=60000 i create or...

Python subprocess timeout?

Hello is there any argument or options to setup kinda subprocess.Popen(['..'], ..., timeout=20)? Sultan ...

PHP exec() not working - exiting early? no error?

i am using PHP to run exec() on a script which looks like this: exec("pdftk xx.pdf fill_form xx.fdf output xx.pdf flatten"); the strangest thing is that when i log in to ssh and put the command in manually - it works fine! it outputs a 224k pdf. but when i use the exec() command, only the first 36k of the script comes out. (i checked ...

SqlConnection and TransactionScope Timeout

I have a TransactionScope (over DTC, read committed) with a timeout of 60 minutes. In the TransactionScope I have opened the connection (I hope to enlist in the transaction) but after 30 seconds I get a timeout. In the machine.config I changed the system.transaction maxTimeout to 60 minutes. Why does the timeout occur after 30 seconds?...