getaddrinfo ENOTFOUND https://project.app
See original GitHub issue{ "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:
- Created 7 years ago
- Comments:16 (11 by maintainers)
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.
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.