Comments (6)
Hi Sergio.
There is known limitations in the SSL handling routines.
As far as I know it only works with certificates up to 1024 bits in
strength.
Kind Regards
Neil Franken
On 25 Nov 2015 9:39 PM, "Sergio Sagliocco" [email protected] wrote:
Hi,
I'm trying to use https rest api with different servers: with a lot of
server doesn't works infact
rest.getResponse returns 0
For example connecting using https with github.com it doesn't work...some
ideas or help?
Thank you
Sergio—
Reply to this email directly or view it on GitHub
#42.
from espduino.
Hi Neil,
yes but...sometimes it works on servers with certificate that have 2048 key length! e.g https://yourapihere-com-r2pgihowjx7x.runscope.net/
Regards
Sergio
from espduino.
Hi Sergio.
My bad mqtt only supports 1024 bit. Will check on this some more over next
few days.
Kind Regards
Neil Franken
On 26 Nov 2015 7:29 PM, "Sergio Sagliocco" [email protected] wrote:
Hi Neil,
yes but...sometimes it works on servers with certificate that have 2048
key length! e.g https://yourapihere-com-r2pgihowjx7x.runscope.net/
Regards
Sergio—
Reply to this email directly or view it on GitHub
#42 (comment).
from espduino.
Any news on this? :S
from espduino.
Hi People.
Just a reminder that saying that it does not work does not help nobody.
What errors are you seeing? Did you try and debug it? All of these problems
could be resolved by giving developers at least the error message for
example. In summary if you can't give an error then we can't fix the error.
On 25 Nov. 2015 9:39 pm, "Sergio Sagliocco" [email protected]
wrote:
Hi,
I'm trying to use https rest api with different servers: with a lot of
server doesn't works infact
rest.getResponse returns 0
For example connecting using https with github.com it doesn't work...some
ideas or help?
Thank you
Sergio—
Reply to this email directly or view it on GitHub
#42.
from espduino.
Well, I fixed it after a lot of trial and error.
Couple of things if anybody else has the same problem:
Use rest.begin("HOST",80, false) instead of rest.begin("host");
When GET'ing something, put the response value to exactly the value you're expecting, or more (up to 500 i tried). If you put less, you'll get an invalid CRC error, as well as if you go over 500.
I finally got my sketch to connect to io.adafruit.com and get my feeds!
from espduino.
Related Issues (20)
- Timeout with local http servers (Python, Ruby, Node) HOT 3
- MQTT Topic depth? HOT 3
- When I upload software to esp8266 I get an error that is below. Please help me !!!. HOT 2
- Error "'ESP' does not name a type ESP *esp;" HOT 3
- ESPDuino hang on ESP:process HOT 12
- Using both REST and MQTT results in error HOT 1
- Is there any timeline for the WiFi AP portion? HOT 2
- mqtt.publish from the call back void mqttData(void* response) gives unpredictable result
- malloc assert! HOT 2
- SoftwareSerial as esp serial? HOT 1
- Unable to communicate HOT 6
- Help sending multiple publish (MQTT,Bridge) HOT 2
- AT Command Not Working
- Unable to Set Qos 1 or 2 while Subscribing. HOT 1
- Connect/disconnect loop without pulling down any change info;
- Getting Garbage after esp.ready() HOT 2
- does not work
- How to read MAC of ESP8266?
- How to work on Arduino Mega.
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 espduino.