Skip to content

Unable to connect to https #3020

Discussion options

You must be logged in to vote

Please see our documentation, and follow the guidelines in our tutorials.
https://mongoose.ws/documentation/tutorials/http/http-client/
https://mongoose.ws/documentation/tutorials/tls/

You are mixing SMTP, MQTT, and HTTP(S) events.
I can't follow your code (we don't check user code for errors, BTW), from the top of my head, looks like somehow either you've setup for mutual/two-way authentication, or your server is setup for that, and you don't seem to be providing your private credentials.
I can't find the error text you say you get, at least not in HEAD. "Mongoose 7" does not exist, there are 16 releases + HEAD.
I don't see how one of the four possible mg_tls_init()s can issue an error l…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@DiegoMartinezRdg
Comment options

@scaprile
Comment options

@scaprile
Comment options

@DiegoMartinezRdg
Comment options

Answer selected by scaprile
Comment options

You must be logged in to vote
1 reply
@DiegoMartinezRdg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants