Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Clarify/remove sketch example from WiFiWebClientSSL #281

Copy link
Copy link
Open
@hlwalZ

Description

@hlwalZ
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: documentationRelated to documentation for the projectRelated to documentation for the projecttype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.