Closed mathpaquette closed 6 years ago
I need more information for reproducing this error.
Calling MarketSymbolDownloader.GetMarketSymbolsFile(...)
works fine for me.
The issue still persist on Framework 4.5.....
@license786 can you please put the screenshot here.
Visual Studio 2017
@license786, If the ssl issue still persists, Please try this answer and let us know the results. https://stackoverflow.com/a/48930280
Regarding the problem with ZipFile
, @mathpaquette, we'll need to add nuget reference to System.Compression
because it has issues in NET45 (only to this framework).
See: https://stackoverflow.com/a/48431402
@Nucs the weird thing about the compression, @license786 targeting 4.6.1.... on my side it runs flawlessly
What is the solution, i should try for now.
I tried both: ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; and ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
@Nucs on his computer, I had to uninstall the IQFeed.Client change the target to NET4.5 reinstall to fix the issue.
System.Net.WebException : The request was aborted: Could not create SSL/TLS secure channel. at System.Net.WebClient.DownloadFile(Uri address, String fileName) at IQFeed.CSharpApiClient.Lookup.Symbol.MarketSymbols.MarketSymbolDownloader.GetMarketSymbolsFile(String downloadPath, String marketSymbolsUrl) at IQFeed.CSharpApiClient.Lookup.Symbol.SymbolFacade.GetAllMarketSymbols(String downloadPath, String marketSymbolsArchiveUrl) at IQFeed.CSharpApiClient.Tests.Integration.Lookup.Symbol.SymbolFacadeTests.Should_Return_MarketSymbols_From_Sample_Archive_File()