Giter Club home page Giter Club logo

Comments (6)

evadogstar avatar evadogstar commented on July 18, 2024 1

@Dragon2fly I'm still at old previous python version (now again only it available? good :) ). And have the same problem: I fight with this issue by adding more timeout seconds at each operation.

from vpngate-with-proxy.

Dragon2fly avatar Dragon2fly commented on July 18, 2024

Hi @wuhualu185086661

The program tries to access http://www.vpngate.net/ . In case it failed, then it will try the next mirror link defined in config.ini. When all links return error, "Failed to get VPN servers data" shown up.

Be sure that you can access http://www.vpngate.net/ or any mirror in the link below
https://github.com/waylau/vpngate-mirrors
http://www.vpngate.net/en/sites.aspx

If you can't access any of those links, then The Great Firewall of China has blocked them all.
However, you can build a webserver to fetch http://www.vpngate.net/api/iphone/ file in any free host outside of China, encrypt and then download it.

from vpngate-with-proxy.

CarlosTheory avatar CarlosTheory commented on July 18, 2024

Hi, I can not get connection neither. I'm getting a connection timeout when I execute ./run cli

using gate: http://www.vpngate.net
HTTPConnectionPool(host='www.vpngate.net', port=80): Read timed out.
Connection to gate http://www.vpngate.net failed

using gate: http://p76ed4cd5.tokynt01.ap.so-net.ne.jp:16169
HTTPConnectionPool(host='p76ed4cd5.tokynt01.ap.so-net.ne.jp', port=16169): Max retries exceeded with url: /api/iphone/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fdd72035250>, 'Connection to p76ed4cd5.tokynt01.ap.so-net.ne.jp timed out. (connect timeout=3)'))
Connection to gate http://p76ed4cd5.tokynt01.ap.so-net.ne.jp:16169 failed

using gate: http://103.1.249.67:29858
HTTPConnectionPool(host='103.1.249.67', port=29858): Max retries exceeded with url: /api/iphone/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fdd7208ea10>, 'Connection to 103.1.249.67 timed out. (connect timeout=3)'))
Connection to gate http://103.1.249.67:29858 failed

using gate: http://211.217.242.42:3230
HTTPConnectionPool(host='211.217.242.42', port=3230): Max retries exceeded with url: /api/iphone/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fdd7208eb10>, 'Connection to 211.217.242.42 timed out. (connect timeout=3)'))
Connection to gate http://211.217.242.42:3230 failed

using gate: http://zp018093.ppp.dion.ne.jp:36205
HTTPConnectionPool(host='zp018093.ppp.dion.ne.jp', port=36205): Max retries exceeded with url: /api/iphone/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fdd7208eb90>, 'Connection to zp018093.ppp.dion.ne.jp timed out. (connect timeout=3)'))
Connection to gate http://zp018093.ppp.dion.ne.jp:36205 failed

Failed to get VPN servers data
Check your network setting and proxy

from vpngate-with-proxy.

leewp14 avatar leewp14 commented on July 18, 2024

What if I can actually access the mirror sites on browser, but ./run cli shows read timed out?

from vpngate-with-proxy.

Dragon2fly avatar Dragon2fly commented on July 18, 2024

@leewp14 Is your browser using a proxy to connect to the mirror sites?
Does it happen also with ./run tui?

The http_proxy in the environment may affect the program.

from vpngate-with-proxy.

leewp14 avatar leewp14 commented on July 18, 2024

@Dragon2fly No, my browser has no proxy connection, and the http_proxy environment is not set. I'm also able to ping the mirror sites through terminal.
But I retried with a normal wifi just now (previously I'm on mobile data hotspot) and it works. I'm not sure, maybe it is a problem with my data? (i already not using the mobile data anymore)
But anyway it works now, thanks!

from vpngate-with-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.