-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Exception 3 when trying to connect to api.coinmarketcap.com #3335
Comments
Some more info: |
This is still an issue for me, tested today using 2.4.0-rc1 Here is a basic sketch that reproduces the error. This sketch works fine with the 2.3.0 release Is there a special cert or something that this site uses that causes issues?
Serial from above sketch:
Decoded as:
|
@igrr sorry to reference you directly but would you be able to advice on the next steps with this? It's a pretty old issue at this stage so I'm not sure if me adding a new comment would get noticed, but I am also conscious of creating a duplicate to just bump it to the top |
This seems to be the same issue as reported in this comment: #3140 (comment), it was fixed in c52b0da after 2.4.0-rc1 was released. Can you try the latest git version? (installation instructions are on the front page) Edit: looking at the backtrace again, i see that it is actually not related. Will investigate. |
Fixed in master, please give a try. |
Thanks @igrr I'll try the git version after work this evening. |
SHA512 module stored padding in PROGMEM, but would then pass the pointer to padding into Update function which would do a memcpy. Use the same approach as with SHA256, that is to copy padding to the stack first, and then pass it to Update.
@witnessmenow any feedback on this ? |
@igrr I know you fixed this a long time ago and I forgot to get back to you and then didn't get time to test since davs reminder, but just wanted to say that i tested this out on 2.4 today and it's working fine. Thanks! |
I am getting a Exception 3 when I try connect to coinmarketcap.com's api using WiFiClientSecure. I tried one other library that I have that connects to a HTTPS endpoint using WiFiClientSecure and that worked, so not sure what is different between the two.
Info
Device: Wemos D1 mini
Version of core: latest (updated from master yesterday)
Sketch:
https://github.com/witnessmenow/arduino-coinmarketcap-api/blob/master/examples/ESP8266/GetTickerInfo/GetTickerInfo.ino
(you will need to install the library that this is an example of)
Last part of code of mine before the exception is:
https://github.com/witnessmenow/arduino-coinmarketcap-api/blob/master/src/CoinMarketCapApi.cpp#L15
(the serial print below this line does not get hit if its not commented out)
Serial Output
Decoded Stack:
The text was updated successfully, but these errors were encountered: