Skip to content
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

Clarify/remove sketch example from WiFiWebClientSSL #281

Open
hlwalZ opened this issue Mar 13, 2024 · 0 comments
Open

Clarify/remove sketch example from WiFiWebClientSSL #281

hlwalZ opened this issue Mar 13, 2024 · 0 comments
Labels
topic: documentation Related to documentation for the project type: imperfection Perceived defect in any part of project

Comments

@hlwalZ
Copy link

hlwalZ commented Mar 13, 2024

Please for all that is good clarify/remove this old example:

// if you don't want to use DNS (and reduce your sketch size)
// use the numeric IP instead of the name for the server:
IPAddress server(74,125,232,128);  // numeric IP for Google (no DNS)

This simply hasn't worked for years...

After changing the host request header accordingly to:

client.println("Host: 74.125.232.128");

No response will be given back by the server.

I also tried using a different Google IP (142.250.179.174) and no response will be sent back.

People (like me) who create a temporary server with simply self-signed SSL certificates and no domain name for demo purposes will be met with more work than if we were to have actually gotten a real certificate + domain.

Other people seem to have had similar problems using different WiFi libraries for years: https://forum.arduino.cc/t/sslclient-with-static-ip-not-working/910236/3

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: documentation Related to documentation for the project labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: documentation Related to documentation for the project type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants