Question

Scenario:

  • I try to post a video to YouTube with the following code:

    YouTubeEntry createdEntry = service.Upload(newEntry);

  • This works fine on my developer machine (running Windows XP).

  • It fails on a Win2k server (running .NET 2.0) with the following error:

2010-07-15||01:14:08 PM||An established connection was aborted by the software in your host machine||System|||| at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) --> at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)

My Question:

  • How should I troubleshoot this?
Was it helpful?

Solution

  1. Check to ensure that you are not being blocked by firewalls or TCP filtering on the server
  2. Run a network trace to see what traffic is actually being communicated from your server
  3. Check HTTP KeepAlive is disabled (seeing a lot of people having issues with this on)
  4. Google it for any other possible reasons that this could fail on your server.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top