In VSCode, local proxy port (e.g. localhost:7897) will override remote proxy and cause Internet connection issues (e.g. Fail to connect to Copilot).
A suggested solution is as follows:
- In VSCode user settings, turn Http: Proxy Support from override to off.
- Connecting ssh, use
ssh -N -L 6443:api.ai.iiis.co:6443 -R 7897:127.0.0.1:7897 ailab@js.ai.iiis.co -p 9022 by reversely mapping remote tunnel to local proxy port :7897.
- On remote cluster, set environment variables
export http_proxy=127.0.0.1:7897
export https_proxy=127.0.0.1:7897
May the README.md be modified to let others know.
In VSCode, local proxy port (e.g. localhost:7897) will override remote proxy and cause Internet connection issues (e.g. Fail to connect to Copilot).
A suggested solution is as follows:
ssh -N -L 6443:api.ai.iiis.co:6443 -R 7897:127.0.0.1:7897 ailab@js.ai.iiis.co -p 9022by reversely mapping remote tunnel to local proxy port :7897.May the README.md be modified to let others know.