You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The get_default_hrirs() method in the io package seems to be broken.
Calling with default parameters gives the following error: requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
It might be that something has happened on the server, where the default hrir files are loaded from.
The problem is coming from line in the source code:
r = requests.get("https://depositonce.tu-berlin.de/bitstream/11303/"
"6153.5/9/HRIRs_neutral_head_orientation_v4.zip")
I was able to find three different workarounds to get it working.
change https to http in the URL: r = requests.get('http://depositonce.tu-berlin.de/bitstream/11303/6153.5/9/HRIRs_neutral_head_orientation_v4.zip')
Use an URL with less redirects: r = requests.get("https://depositonce.tu-berlin.de/bitstreams/91447f43-b5c3-446a-bb7e-0d9e53f95ff9/download")
Disable use of http2 (not sure what this means. ChatGPT told me to do it 😆 ) r = requests.get('https://depositonce.tu-berlin.de/bitstream/11303/6153.5/9/HRIRs_neutral_head_orientation_v4.zip', headers={'Connection': 'close'})
Option 2 is my favorite, but you choose..
Thanks for the excellent library. I use it all the time!
The text was updated successfully, but these errors were encountered:
Hi!
The
get_default_hrirs()
method in the io package seems to be broken.Calling with default parameters gives the following error:
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
It might be that something has happened on the server, where the default hrir files are loaded from.
The problem is coming from line in the source code:
I was able to find three different workarounds to get it working.
change https to http in the URL:
r = requests.get('http://depositonce.tu-berlin.de/bitstream/11303/6153.5/9/HRIRs_neutral_head_orientation_v4.zip')
Use an URL with less redirects:
r = requests.get("https://depositonce.tu-berlin.de/bitstreams/91447f43-b5c3-446a-bb7e-0d9e53f95ff9/download")
Disable use of http2 (not sure what this means. ChatGPT told me to do it 😆 )
r = requests.get('https://depositonce.tu-berlin.de/bitstream/11303/6153.5/9/HRIRs_neutral_head_orientation_v4.zip', headers={'Connection': 'close'})
Option 2 is my favorite, but you choose..
Thanks for the excellent library. I use it all the time!
The text was updated successfully, but these errors were encountered: