Giter VIP home page Giter VIP logo

Comments (5)

jjxtra avatar jjxtra commented on August 22, 2024 1

This is officially supported now!

from exchangesharp.

jjxtra avatar jjxtra commented on August 22, 2024

Not at this time officially. Should compile though if you want to make your own project.

from exchangesharp.

ddimkin avatar ddimkin commented on August 22, 2024

I created an empty core 2 console app (ubuntu 17.10) and added from nuget your lib there.
When I try to create new API oblects (ExchangeKrakenAPI api = new ExchangeKrakenAPI();), I got:

Exception has occurred: CLR/System.TypeInitializationException
An unhandled exception of type 'System.TypeInitializationException' occurred in ExchangeSharp.dll: 'The type initializer for 'ExchangeSharp.ExchangeAPI' threw an exception.'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception System.NotSupportedException : The requested security protocol is not supported.
at System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)
at System.Net.ServicePointManager.set_SecurityProtocol(SecurityProtocolType value)
at ExchangeSharp.BaseAPI..cctor()

Probably some libraries are not in the core package yet.. Or?

from exchangesharp.

jjxtra avatar jjxtra commented on August 22, 2024

Thanks for sharing. Any chance you could pull the actual code and add the project to your solution instead of the nuget package? That might give a better breakpoint on where the failure is happening.

from exchangesharp.

jjxtra avatar jjxtra commented on August 22, 2024

I fixed the problem, look for a new nuget soon. You may need to set ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls | SecurityProtocolType.Ssl3; values yourself.

from exchangesharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.