473,705 Members | 2,539 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to write data to the transport connection & Timeout

We are continually receiving timeout, and "Unable to
write data to the transport connection" errors while using the
System.Net.Http WebRequest class from an ASP.Net web page. Below are the two
errors we continue to
receive:

Source: System
Message: The operation has timed-out.
Target Function: System.Net.WebR esponse GetResponse()

Stack Trace:
at System.Net.Http WebRequest.GetR esponse()
at Transaction.Pro cess()

and

Source: System
Message: Unable to write data to the transport connection.
Inner Exception: System.IO.IOExc eption: Unable to write data to the
transport connection. ---> System.Net.Sock ets.SocketExcep tion: An
established connection was aborted by the software in your host machine
at System.Net.Sock ets.Socket.Begi nSend(Byte[] buffer, Int32 offset, Int32
size, SocketFlags socketFlags, AsyncCallback callback, Object state)
at System.Net.Sock ets.NetworkStre am.BeginWrite(B yte[] buffer, Int32 offset,
Int32 size, AsyncCallback callback, Object state)
--- End of inner exception stack trace ---
at System.Net.Sock ets.NetworkStre am.BeginWrite(B yte[] buffer, Int32 offset,
Int32 size, AsyncCallback callback, Object state)
at System.Net.TlsS tream.BeginWrit e(Byte[] buffer, Int32 offset, Int32 size,
AsyncCallback asyncCallback, Object asyncState)
Target Function: System.IAsyncRe sult BeginWrite(Byte[], Int32, Int32,
System.AsyncCal lback, System.Object)

Stack Trace:
at System.Net.TlsS tream.BeginWrit e(Byte[] buffer, Int32 offset, Int32 size,
AsyncCallback asyncCallback, Object asyncState)
at System.Net.Conn ection.BeginWri te(Byte[] buffer, Int32 offset, Int32 size,
AsyncCallback callback, Object state)
at System.Net.Conn ectStream.Begin Write(Byte[] buffer, Int32 offset, Int32
size, AsyncCallback callback, Object state)
at System.Net.Conn ectStream.Write (Byte[] buffer, Int32 offset, Int32 size)
at Transaction.Pro cess()

Do I need to contract out someone to develope a solid socket object that I
can interface with, whether it be .Net or COM? It's critical that these
connections make it through in real-time, and the fact is, that the above
two
errors happen to about 5% of our requests. I have verified that when
requests timeout, it has nothing to do with the receiving party. They never
even receive the request from us. The second error occurs seemingly at
random, and while it usually makes it to the target server, it drops off
before we can receive the response.

Any tips, or advice would be appreciated, and there is nothing between the
server and the internet(no proxies, no web services) other than the firewall
which works perfectly fine.

Thanks,
Steve
Nov 15 '05 #1
0 9977

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1617
by: DT | last post by:
We have service oriented architecture that comprises of a number of Win2k/IIS boxes. Some of these web service applications access an AS400 system for data acess (We are using HitSoftware's Ritmo .net native driver). For fail over we route these requests through a hardware based load balancer (BigIP). The BigIP allows us to fail over to a secondary AS400 system in case the primary one fails.
1
2424
by: dina_vr | last post by:
Hi All, I am getting lot of System.IO.IOException: Unable to write data to the transport connection. exceptions when I write to a Stream which is connected to a Remote HTTPS server using a proxy and a certificate. ASCIIEncoding encoding = new ASCIIEncoding(); byte data = encoding.GetBytes(..........);
2
1756
by: Keith Avery | last post by:
We have an ASP.NET application. This is loading data using XML from another ASP web site. It all works fine for small XML data files. For larger XML data file being streamed from the ASP web site the error "Unable to read data from the transport connection" is raised midway through the import. It all works fine on the development server, but not in the live environment. Anybody have any idea why this is occuring and how to fix it? I'm...
0
1277
by: steve.edison | last post by:
I have an application that pulls an xml file from another site that is around 4 megs in size and posts it to a webservice for processing. In our development environment it works fine. However, in our production environment it consistently generates a "Unable to write data to the transport connection" error. Is there some sort of configuration setting that might be causing this? Some notes: HttpWebRequest.Timeout is set to 1000 * 60 *...
0
679
by: Arno | last post by:
Hi, I've written a class for client-socket connection, but I get a lot of times the error message "Unable to read data from the transport connection" when restart reading the stream with socket.BeginRead in the Sub SocketIncomingMsg. I'm debugging now for weeks, but I can't detect where it's going wrong. the part of code where it fails:
0
789
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. Stack Trace at System.Net.Sockets.NetworkStream.Write(Byte buffer, Int32 offset, Int32
3
14052
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. Stack Trace at System.Net.Sockets.NetworkStream.Write(Byte buffer, Int32 offset, Int32
7
3093
by: Jay Balapa | last post by:
Hello, We have a Pocket PC client application which just connects to our webservice. When a client connects his Pocket PC through his WIFI he gets the following- Unable to read data from the transport connection . I have the same setup and am unable to reproduce this problem. This method just tests the webmethod with a helloworld returned. Any help is greatly appreciated.
6
8163
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql server mobile ce database. Until recently I was synching everything thru a com port serial cable. The devices would connect to the computer thru activesync and are able to acquire an internet connection. The sync for the program occurs thru a website...
0
8771
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8691
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9140
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8981
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7895
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5934
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2492
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2084
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.