carlo icon indicating copy to clipboard operation
carlo copied to clipboard

net::ERR_NAME_NOT_RESOLVED domain's server IP address could not be found.

Open johnjbarton opened this issue 5 years ago • 2 comments

When trying to run ndb, a carlo app, in a linux environment with some restrictions I fail with net::ERR_NAME_NOT_RESOLVED and the carlo window shows the chrome sad page icon with domain's server IP address could not be found.

The issue is related to the URL set here: https://github.com/GoogleChromeLabs/carlo/blob/4e8ed7bdfe656f4c2672ab777ab81df777b2b185/lib/carlo.js#L349

Obviously 'domain' is not a real DNS name. How is this supposed to work?

johnjbarton avatar Jan 25 '19 21:01 johnjbarton

Carlo is intercepting all the network requests and as Chrome goes for https://domain/*, carlo feeds it with the resources from the file system / dynamic handler / some other proxied web location. In some cases, the error you see would be there due to zombie chrome instances from the previous ndb launches.

pavelfeldman avatar Jan 29 '19 01:01 pavelfeldman

I had same issue when I "pkg" a nodejs app using carlo. Though I don't know why, but I changed app.serveFolder(__dirname); to app.serveFolder('.');, then this error disappeared.

shosatojp avatar Jan 29 '19 06:01 shosatojp