Solved

The underlying connection was closed: An unexpected error occurred on a send

Posted on 2014-12-29
7
707 Views
Last Modified: 2015-01-02
Using WebClient..  I get the following error - ONLY on 1 server trying to get OUT?
any ideas..  It's using HTTPS

The underlying connection was closed: An unexpected error occurred on a send

   WebClient client = new WebClient();
                byte[] data = client.UploadValues(url, nvc);
0
Comment
Question by:JElster
  • 4
  • 2
7 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40522664
From that server, can you get to the URL using IE (or any other web browser)?
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40522723
Is the server's certificate valid?
0
 
LVL 1

Author Comment

by:JElster
ID: 40522741
No can't get out.. from that server to that URL
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 total points
ID: 40523578
It's likely there's a firewall (or some similar product) on that server that's blocking web traffic.  It may also be that that server has been configured to use a proxy.  I would start by checking those two items first, and see if they lead to a solution.
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40528194
Thank you for the points, but can you tell us what ended up solving your problem?  It might help someone else in the future...
0
 
LVL 1

Author Comment

by:JElster
ID: 40528201
The vendor had tightened up their SSL security on their firewall and so was dropping our connection from our web server as 2003 does not support the deployment of the most recent version of SSL and TLS. Put the routine on our new app server that runs 2008 and created a redirect to it.
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40528211
Excellent!  Thanks, and thanks again for the points.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error in page 3 45
IIS Authorization for Web Service 2 21
Close form "before" open 3 23
Automated testing suggestions? 2 24
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now