Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

 
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!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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