kataras / iris-cli

[WIP] Iris Command Line Interface
https://iris-go.com
MIT License
121 stars 11 forks source link

network error #3

Closed 265525 closed 4 years ago

265525 commented 4 years ago

I'm from China. I've already hung up my VPN and reported an error in iris cli new irisprotest basic: When I type:iris-cli new iristest basic Loading projects from https://raw.githubusercontent.com/kataras/iris-cli/master/registry.yml Get "https://raw.githubusercontent.com/kataras/iris-cli/master/registry.yml": dial tcp 0.0.0.0:443: connect: connection refused

kataras commented 4 years ago

I see, I can add a feature to our http client, which will try to proxy the request with multiple online (or local) proxy list, so you don't even need to run a VPN behind, I have it already in my plans but for the moment I must finish some other tasks first if that's ok with you.

EDIT: I forgot to mention that you can edit the registry through iris-cli --registry=./your_registry.yml, however I don't think this will solve your issue because it will still try to fetch from github.com, this option is useful for custom templates.

kataras commented 4 years ago

Hello @265525 can you please try to update the package and run with iris-cli new --proxy=env --module=iristest basic or iris-cli new --proxy=119.28.233.135:8080 --module=iristest basic. Please write down if that is still failing. Thanks!