-
Notifications
You must be signed in to change notification settings - Fork 684
Description
My situation is simple and I presume very common.
I work in a company and as always there is a proxy.
So I have to configure my laptop and all my frameworks, apps, etc. like npm, git, … in order to make them pass that proxy.
Everything works except one thing : the proxy feature of ionic serve.
Proxy configuration is good inside ionic.project
because I can see via chrome dev tools the url is good. I receive that kind of error : "Error: connect ETIMEDOUT".
If I do a curl …
command on ionic server with that kind of url for instance http://localhost:8100/api…
, I receive an html error page from my corporate proxy.
My guess is that ionic's proxy is not using any credentials defined via PROXY, http_proxy, … and other environment variables. Other ionic commands like ionic start …
works well but not this one.
My proxy require a login/pwd.
I'm using ionic 1.1.1.
The only solution I found is to use tethering on my mobile in order to not be on a network protected by a proxy. It works because my backend is accessible from internet. But this not a good solution.
Any hint or solution ?
Thanks a lot.