Solved

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

Posted on 2014-12-16
1
124 Views
Last Modified: 2014-12-26
Hello,
  I get this error "The underlying connection was closed: An unexpected error occurred on a send" when I make an c#API call. This does not happen when I run local env. It occur when I deploy to production.

Any ideas what could be the issue
0
Comment
Question by:SiemensSEN
1 Comment
 
LVL 33

Accepted Solution

by:
ste5an earned 500 total points
ID: 40502883
Exactly what your messages says: A TCP/IP connection was closed on layer 3 or below. You need to check your connection status before executing your API call.
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

Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
A short film showing how OnPage and Connectwise integration works.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 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

12 Experts available now in Live!

Get 1:1 Help Now