typicode / hotel

🏩 A simple process manager for developers. Start apps from your browser and access them using local domains
MIT License
9.98k stars 424 forks source link

Internet unreachable with proxy-pac-with-proxy.pug #278

Closed nchudleigh closed 6 years ago

nchudleigh commented 6 years ago

Ran into an issue with my set up where I had to copy proxy-pac.pug's content to proxy-pac-with-proxy.pug in order for the internet to be reachable again.

I don't have any insight into why this doesnt work and why this fix works. But it do.

nchudleigh commented 6 years ago

image

image

typicode commented 6 years ago

Hi @nchudleigh,

Sorry for the doc, it may be unclear. If you have a company network proxy, you should put its address or leave false otherwise (true is probably what's making it fail): https://github.com/typicode/hotel/blob/master/src/conf.js#L14-L16

So here, if you don't have an existing network proxy, simply remove "proxy": true" line and restarthotel stop && hotel start`.

On a side note, in recent versions, Hotel will use default values if they're not present in ~/.hotel/conf.json. So if you only want to change the tld, your conf could look like this:

{
  "tld": "deb"
}

Let me know if it helps.

nchudleigh commented 6 years ago

That helps a lot will give that a shot, thanks.