Comments (9)
I was able to fix this issue by placing
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
AFTER EACH call to Connect(). It only seemed to work if I did it after each call. Just doing an insert of the line earlier in the program did not seem to help.
Example:
var customer = new Customer(ApplicationName, ApiKey);
var client = customer.Connect();
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
return client;
from infusionsoft.net.
We didn't need to do that. It seems as if the fixes in the code had already been a few months back. As long as you're compiling for 4.5 or above.
We had been using the Nuget library to reference the binary, but that's old.
Removing that and compiling this library from source and referencing it was all we had to do.
If your projects aren't targeting 4.5 or above, then you'll likely need to do what @markwsanders is talking about above...otherwise it shouldn't be necessary.
from infusionsoft.net.
I am receiving an SSL/TLS abort error. From what I can see the call is being made using TLS1.0. I would also like to know how to specify the TLS version to get around this.
from infusionsoft.net.
we are also seeing this issue and need a fix ASAP. Our system is currently down do to this security protocol change.
from infusionsoft.net.
@markwsanders your fix worked for me. Thanks!
from infusionsoft.net.
Thanks for the information. I will definitely compile this myself since it's unfortunately an abandoned github repo and the newer versions are not on nuget.
As a side note i would recommend that if the version of .NET the application is compiled for is below 4.6 ( whichever one started using the stronger cryptography, i would instead of hardcoded the TLS version everywhere in the code, which is not recommended by microsoft and a bad idea is to simply add the following registry key to your servers to have the start using stronger cryptography protocols by default.
https://blogs.msdn.microsoft.com/friis/2017/10/09/troubleshooting-tls-ssl-scenario-2/
from infusionsoft.net.
I did the same as @axyl ! Get the repo in my machine, compile it and add the reference to the dll instead of the nugget package and that worked for me.
I am still wondering why...if it was becouse the nugget package was not up to date (although it sayed it was) or just that adding the dll localy, made it recognise that was on .net 4.5 and used TLS 1.2 by default
from infusionsoft.net.
The Nuget package hasn't been updated since 2014.
@scottcate upgraded the project to 4.5 back in April.
@scottcate Do you have access to the Nuget package for this project to upgrade that too?
from infusionsoft.net.
That makes sense @axyl !
I forgot to check the history of the commits to confirm my doubt
We may need to change the Open state of this issue right?
from infusionsoft.net.
Related Issues (20)
- OAuth HOT 2
- Using DataService.Query<Table>(page, queryBuilder,fieldSelection) with dates in queryBuilder returns no results. HOT 4
- DataService.Count HOT 3
- RecurringOrderWithContact field HTMLSignature preventing Query<RecurringOrderWithContact>(..)
- Issue calling FileService.UploadFile HOT 8
- ContactService.AddToCampaign {"Server returned a fault exception: [6] [Loading]Error loading follow-up sequence"} HOT 1
- Create Tag/ Get all Tag / Get Tag by Name HOT 2
- .Net Helper Library for REST api support
- Question: What is the "application" value expected? HOT 1
- Error on .Update = A parameter is of, or contains an instance of, type System.Collections.Generic.Dictionary... which cannot be mapped to an XML-RPC type HOT 3
- Unable to get the InfusionSoft project to work in VS2013 HOT 1
- InfusionSoftException when using FindByEmail and IncludeAll
- Hello
- Cannot retrieve custom fields with api call. HOT 1
- Query by Ids
- API ChargeInvoice response contains implicit string value where integer expected HOT 3
- Doesn't work with .net core HOT 2
- New .NET Infusionsoft Client
- How can i create a custom field for Contact? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infusionsoft.net.