DeprecationWarning in Node 12: setting the TLS ServerName to an IP address

See original GitHub issue

Current behavior:

There is a DeprecationWarning printing during cypress run that someone reported seeing.

image

https://nodejs.org/api/deprecations.html#deprecations_dep0123_setting_the_tls_servername_to_an_ip_address

Desired behavior:

Handle deprecations introduced in switching to Node 12.

Versions

3.6.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
flotwigcommented, Nov 18, 2019

@jennifer-shehane Was the user cy.visiting an IP address?

0reactions
jennifer-shehanecommented, Feb 5, 2021

Closing as resolved.

This warning no longer displays when visiting an IP address in our current version.

If you’re experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node:10212[DEP0123]DeprecationWarning:Setting the TLS ...
The code runs fine and I get the message as "Connected to database". However I get a message as "(node:10212) [DEP0123] DeprecationWarning: ...
Read more >
Setting the TLS ServerName to an IP address is not ... - GitHub
DeprecationWarning : Setting the TLS ServerName to an IP address is not permitted by ... There has to be some issue with mssql...
Read more >
Setting the TLS ServerName to an IP address is not permitted ...
DeprecationWarning : Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future...
Read more >
Setting the TLS ServerName to an IP address is not permitted ...
I am using tedious 6.6.2 in one of my projects, it is a GCP cloud function environment, with nodejs 10, and i am...
Read more >
Setting the TLS ServerName to an IP address ... - Elastic Discuss
Node.js process-warning detected: DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found