Closed ZeqiGu closed 1 month ago
@Lucaweihs Hi Luca, could you please help with this?
Hi @ZeqiGu , this is a bit weird, when I visit https://pub-daedd7738a984186a00f2ab264d06a07.r2.dev/holodeck/2023_09_23.tar in my web browser it downloads without any problems (tried it on my phone as well to ensure this wasn't some VPN issue on my end). Is it possible that the pub-daedd7738a984186a00f2ab264d06a07.r2.dev
URL is being blocked by a firewall on your end (I notice that you're on a school
account)?
Hi Luca and Yue, Yeah, it turned out the links were blocked on my school machines and networks. Thank you so much!!
Best, Zeqi
On Tue, Oct 15, 2024 at 5:48 PM Luca Weihs @.***> wrote:
Hi @ZeqiGu https://github.com/ZeqiGu , this is a bit weird, when I visit https://pub-daedd7738a984186a00f2ab264d06a07.r2.dev/holodeck/2023_09_23.tar in my web browser it downloads without any problems (tried it on my phone as well to ensure this wasn't some VPN issue on my end). Is it possible that the pub-daedd7738a984186a00f2ab264d06a07.r2.dev URL is being blocked by a firewall on your end (I notice that you're on a school account)?
— Reply to this email directly, view it on GitHub https://github.com/allenai/Holodeck/issues/60#issuecomment-2415219370, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCKO3PUGIHBZ3YHJBW5WW3Z3WEBDAVCNFSM6AAAAABP5MKOKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJVGIYTSMZXGA . You are receiving this because you were mentioned.Message ID: @.***>
I've been trying to download the data, but the request keeps being timed out. I also tried to open the download link from browser, which based on my understanding is https://pub-daedd7738a984186a00f2ab264d06a07.r2.dev/holodeck/2023_09_23.tar, but this couldn't be opened either. Could you check if the data is being hosted normally? Thank you!
python -m objathor.dataset.download_holodeck_base_data --version 2023_09_23 Downloading /Users/school/.objathor-assets/holodeck/2023_09_23.tar Traceback (most recent call last): File "/Users/school/anaconda3/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/Users/school/anaconda3/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/Users/school/anaconda3/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) TimeoutError: [Errno 60] Operation timed out
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/school/anaconda3/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/Users/school/anaconda3/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/Users/school/anaconda3/lib/python3.9/site-packages/objathor/dataset/download_holodeck_base_data.py", line 13, in
path = load_holodeck_base(dsc)
File "/Users/school/anaconda3/lib/python3.9/site-packages/objathor/dataset/init.py", line 168, in load_holodeck_base
download_with_progress_bar(
File "/Users/school/anaconda3/lib/python3.9/site-packages/objathor/utils/download_utils.py", line 28, in download_with_progress_bar
response = requests.get(url, stream=True)
File "/Users/school/anaconda3/lib/python3.9/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, kwargs)
File "/Users/school/anaconda3/lib/python3.9/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, kwargs)
File "/Users/school/anaconda3/lib/python3.9/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, send_kwargs)
File "/Users/school/anaconda3/lib/python3.9/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, kwargs)
File "/Users/school/anaconda3/lib/python3.9/site-packages/requests/adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='pub-daedd7738a984186a00f2ab264d06a07.r2.dev', port=443): Max retries exceeded with url: /holodeck/2023_09_23.tar (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x105f335b0>: Failed to establish a new connection: [Errno 60] Operation timed out'))