Solved

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

Posted on 2014-12-29
7
751 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to check to see if datatable has headers or not 2 30
How do you do a one to many list in .NET CORE? 2 28
HttpPostedFile 1 26
JSON  parse help 7 27
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

831 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