question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

getaddrinfo ENOTFOUND https://project.app

See original GitHub issue

image

{ "appKey": "90mf4eojc6ogu4sfpg4g12i9escptj68p1qg2iu34rmnr09d58lj7f5h4j4g", "authEndpoint": "/broadcasting/auth", "authHost": null, "database": "sqlite", "databaseConfig": { "redis": {}, "sqlite": { "databasePath": "/database/laravel-echo-server.sqlite" } }, "devMode": false, "host": "https://project.app", "port": "6001", "referrers": [ { "host": "pasta-masta.app", "apiKey": "44ter5dm3isq6p89f8s1ufufkfo4jddun22ijbga617sedige4lsj9c8mc0r" } ], "sslCertPath": "/home/user/.valet/Certificates/pasta-masta.app.crt", "sslKeyPath": "/home/user/.valet/Certificates/pasta-masta.app.key" }

The problem is with host attribute. It works without “https://” prefix. But I need SSL.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

6reactions
sgtazizcommented, Sep 10, 2016

It also causes the same issue when using http://. After looking into it, it seems like the http module doesn’t like protocols in its options. I temporarily fixed it by removing “https://” and “http://” in options.host under the httpServer function in server.js.

2reactions
Thaarscommented, Sep 20, 2016

No, the protocol option is still needed, but you don’t need the protocol in the host option anymore. This is a part of my json config.

{
    "host": "example.local",
    "port": "6001",
    "protocol": "https"
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: getaddrinfo ENOTFOUND when sending https request ...
It seems that is trying to getaddrinfo of the full url, instead of just the hostname. I would put hostname in option as...
Read more >
getaddrinfo ENOTFOUND github.com when I try to generate a ...
Hi When I try to generate a project , I run into this error. I'm behind a firewall. ? Choose a project type:...
Read more >
Node applications on App Service Linux and getaddrinfo ...
ENOTFOUND is a DNS lookup failure thrown back by Node specifically - doc, meaning - this is something Node has created and is...
Read more >
Node.js Error Message “getaddrinfo ENOTFOUND localhost ...
Node.js Error Message “getaddrinfo ENOTFOUND localhost” Solution. Today I want to go over a quick fix to ... Setup and Run Web App...
Read more >
I am trying to testing the endpoint URL from whitelist IP and ...
I am trying to testing the endpoint URL from whitelist IP and Port. I am getting error like error: getaddrinfo ENOTFOUND ...
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