Can't download app code

My Raspberry can’t download app code, here’s what I get in the logs:

25.01.18 12:10:24 (+0000) Failed to download application 'registry2.resin.io/demoaws/e3c350b70ef3c149fd338aa4a08244b5765bce57' due to 'failed to register layer: Error processing tar file(exit status 1): unexpected EOF'
25.01.18 12:10:53 (+0000) Downloading application 'registry2.resin.io/demoaws/e3c350b70ef3c149fd338aa4a08244b5765bce57'
25.01.18 12:11:26 (+0000) Failed to download application 'registry2.resin.io/demoaws/e3c350b70ef3c149fd338aa4a08244b5765bce57' due to 'could not get decompression stream: Get https://registry2.resin.io/v2/demoaws/e3c350b70ef3c149fd338aa4a08244b5765bce57/blobs/sha256:4b9c0f1a415433a98643bdda391dcf4fe5d9653fc3ed3845c7ac1be99eb43399: net/http: TLS handshake timeout'
25.01.18 12:11:27 (+0000) Downloading application 'registry2.resin.io/demoaws/e3c350b70ef3c149fd338aa4a08244b5765bce57'
25.01.18 12:11:57 (+0000) Failed to download application 'registry2.resin.io/demoaws/e3c350b70ef3c149fd338aa4a08244b5765bce57' due to 'error pulling image configuration: Get https://registry2.resin.io/v2/demoaws/e3c350b70ef3c149fd338aa4a08244b5765bce57/blobs/sha256:98363ac204c8504bc58b834c43bb6b8a7db5a864ab21e557d5b56b384cf363fb: net/http: TLS handshake timeout'
25.01.18 12:13:00 (+0000) Downloading application 'registry2.resin.io/demoaws/e3c350b70ef3c149fd338aa4a08244b5765bce57'

Downloading images is extremely slow as well, while internet connection is quite fast.
17

I was able to download the image in 30 seconds using DigitalOcean droplet VNC, and then scp from DO to my machine took also 30 seconds.

But it still takes hours to download directly.

Seems like it is my internet provider issue, as routing through a remote VPN (on a home router settings level) made it work.