Jump to content

Question

The internet in Asia is weird.

Depending on where I am (at home, cafe, co-working space, etc) and connected to the wifi I sometimes can access ig.com and this forum and the app on my phone and sometimes need to connect to a VPN first.

However, I haven't encountered a way yet to connect to the API without a VPN connection, even if on the same wifi I can access the website and even the API companion (https://labs.ig.com/sample-apps/api-companion/index.html) just fine.

Anyone knows what's the deal here?
(Yesterday I missed the open, cause my VPN didn't work hence looking for a solution now)

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 0
23 minutes ago, DSchenk said:

The internet in Asia is weird.

Depending on where I am (at home, cafe, co-working space, etc) and connected to the wifi I sometimes can access ig.com and this forum and the app on my phone and sometimes need to connect to a VPN first.

However, I haven't encountered a way yet to connect to the API without a VPN connection, even if on the same wifi I can access the website and even the API companion (https://labs.ig.com/sample-apps/api-companion/index.html) just fine.

Anyone knows what's the deal here?
(Yesterday I missed the open, cause my VPN didn't work hence looking for a solution now)

I can talk about China, I am not sure about the rest of Asia. A VPN is very random as you say depending on where you are. It is mainly because of the DNS providers that are pretty slow resolving connections. I normally setup a VPS and connect to it remotely via RDP, that way I connect via IP addresses and don't need to resolve any hostname. You can setup a VPS on Amazon for about 20 quid a month and will bypass any issues you have there. 

  • Like 2
  • Sad 1

Share this post


Link to post
  • 0
Just now, jlz said:

I can talk about China,

What were you doing in China, Hans?

  • Sad 1

Share this post


Link to post
  • 0
23 minutes ago, dmedin said:

What were you doing in China, Hans?

Just "hans"ing around. 

  • Sad 1

Share this post


Link to post
  • 0

You could easily "roll your own" VPN that probably wouldn't get blocked. Rent a VPS from somewhere like Linode then use these scripts to set it up. Or actually just run your code on the VPS itself and just use RDP (Windows machine) or SSH for a Linux machine for headless setup. 

https://github.com/angristan/openvpn-install

https://github.com/Nyr/openvpn-install

 

  • Like 1

Share this post


Link to post
  • 0

Hm, never thought of using a VPS for this. In fact I have one running :D 

Might give it a try. Just trying ExpressVPN, which seems to run a more stable connection to NordVPN what I was previously using

Share this post


Link to post

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
You are posting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×