Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests fail to download files from dataserver when in homeoffice #2491

Open
LukasBeiske opened this issue Jan 12, 2024 · 5 comments
Open

Comments

@LukasBeiske
Copy link
Contributor

LukasBeiske commented Jan 12, 2024

When I try to run the unit tests while in homeoffice the download of the needed files from the dataserver is very slow to the point of failing to download some files resulting in multiple errors like:

ERROR ctapipe/io/tests/test_eventseeker.py - requests.exceptions.ConnectionError: HTTPConnectionPool(host='cccta-dataserver.in2p3.fr', port=80): Read timed out.

Apparently this is related to the IP address trying to download the data, since this does not happen when I am in the office (using the same machine).

@maxnoe
Copy link
Member

maxnoe commented Jan 12, 2024

I also encountered this issue in the past and could only solve it by using a VPN.

@bregeon couldn't help if I remember correctly, since he doesn't have control over the external firewall at in2p3 or whatever else is causing these issues

@kosack
Copy link
Contributor

kosack commented Jan 12, 2024

We actually have a new data server being set up at DESY, so we can at some point drop CCin2p3 and have more control... For now probably there is nothing we can do. Maybe there is some blocklist set up there now, as for me at home it works fine.

@maxnoe
Copy link
Member

maxnoe commented Jan 12, 2024

You're in France...

@kosack
Copy link
Contributor

kosack commented Jan 15, 2024

You're in France...

Though it works from GitHub's CI, which probably isn't. But yes, it's likely they block some IPs (GitHub is likely an exception)

@maxnoe
Copy link
Member

maxnoe commented Jan 15, 2024

it's likely they block some IPs

It's not completely blocked, just very very slow, I get something like 20 kB/s at home without VPN, and 4 MB/s with VPN.

My home is ~2 km away from the university...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants