Solved

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

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

Expert Comment

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

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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 33

Accepted Solution

by:
paulmacd 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 33

Expert Comment

by:paulmacd
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 33

Expert Comment

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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

11 Experts available now in Live!

Get 1:1 Help Now