-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error using GetTickets()? #288
Comments
Without more information, I can be sure what your issue is. I have a few ideas. What version of the of the library are you using? |
Hi @mozts2005 We are having the same issue, "The underlying connection was closed: An unexpected error occurred on a send". We have been running this code for 18 months without issue. file ZendeskApi_v2_35 Version 2.0.0.0 |
It appears to be an issue with TLS and .Net Framework 4. The issue was present when trying to run the Models.Ticket.GetTicket() function from a console application on the server. I was unable to complete any requests to our zendesk subdomain from the server using the RestSharp library written by John Sheehan as well. We have since moved to a new 2012 Web Server and all issues have been resolved. Thank you for your time. |
@wclarke99 I would like to help you more. Can you provide a stack trace? @tmenegh I am glad that you were able to fix the issue. |
@mozts2005 Hi Elizabeth, below is the stack track - |
@wclarke99 Based on my testing and I think your issue is TLS cipher suites. I would use IISCrypto to test which ones are supported on your server and by zendesk. |
There has not been a reply in over a week. I am closing this issue |
I had this same problem with an .Net 4.52 application. The underlying network calls use TLS 1.0 as the default. The fix was to add before the API call: Note: .Net 4.6 or higher uses TLS 1.2 as the default |
I also had this problem and @seagulledge 's solution has worked perfectly! Thank you :) |
Thanks @seagulledge! Your solution worked perfectly. |
Thank you so much @seagulledge ! |
Hello,
I've been using the API for quite some time now. I had an issue present itself on 7/4 around 5 A.M. The API is used within a webpage running on Windows Server 2003 with .NET Framework 4. I've verified communication with the server and zendesk via a cURL post but I'm still receive the error below.
The underlying connection was closed: An unexpected error occurred on a send.Error content:
Resource String: tickets/7774013.json +
The issue only occurs on the server. I am able to run it from my development machine without error. Any suggestions?
The text was updated successfully, but these errors were encountered: