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

Failed to obtain OSF node handle #161

Open
OleBialas opened this issue Oct 14, 2022 · 1 comment
Open

Failed to obtain OSF node handle #161

OleBialas opened this issue Oct 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@OleBialas
Copy link

I have created a GitHub sibling for my data set using OSF as storage following your tutorial
Creating the siblings and pushing the data worked as described and didn't yield any error messages.
However when I install the data set from GitHub and download the data using:

datalad install https://github.com/OleBialas/hivemind.git
cd hivemind
datalad get *

The download fails for a number of files (see error message below). What's weird is that this behavior seems to depend on the file names. There are 20 files for every subject named '_run01.mat' to '_run20.mat' and the download always fails for files 01 and 11 (I verified that the original files are not corrupted).

I have reproduced this error on two computers. One is my local machine using the latest Ubuntu with the datalad apt package (0.15.5-1) and the pip package for datalad-osf (0.2.3.1) . The other is a server using red hat Linux, where I installed datalad using conda (datalad 0.17.2, datalad-osf 0.2.3.1)

get(error): data/preprocessed/oldman/sub01/sub01_run11.mat (file) ['MD5E-s23314264--e4f63a8e6cd680c6105ef3b9d8270b11.mat'
'MD5E-s23314264--e4f63a8e6cd680c6105ef3b9d8270b11.mat'
'MD5E-s23314264--e4f63a8e6cd680c6105ef3b9d8270b11.mat'
Failed to obtain OSF node handle: Response has status code 410 not (200,)
Failed to obtain OSF node handle: Response has status code 410 not (200,)
Failed to obtain OSF node handle: Response has status code 410 not (200,)]
get(error): data/preprocessed/oldman/sub02/sub02_run01.mat (file) ['MD5E-s23785304--209635dbea1d9abb50445b93bc6f19c1.mat'
'MD5E-s23785304--209635dbea1d9abb50445b93bc6f19c1.mat'
'MD5E-s23785304--209635dbea1d9abb50445b93bc6f19c1.mat'
Failed to obtain OSF node handle: Response has status code 410 not (200,)
Failed to obtain OSF node handle: Response has status code 410 not (200,)
Failed to obtain OSF node handle: Response has status code 410 not (200,)]
get(error): data/preprocessed/oldman/sub02/sub02_run11.mat (file) ['MD5E-s23501656--a896f0d9654420c2b9c20de3c5ecabb4.mat'
'MD5E-s23501656--a896f0d9654420c2b9c20de3c5ecabb4.mat'
'MD5E-s23501656--a896f0d9654420c2b9c20de3c5ecabb4.mat'
Failed to obtain OSF node handle: Response has status code 410 not (200,)
Failed to obtain OSF node handle: Response has status code 410 not (200,)
Failed to obtain OSF node handle: Response has status code 410 not (200,)]

@OleBialas OleBialas added the bug Something isn't working label Oct 14, 2022
@mih
Copy link
Member

mih commented Jun 8, 2023

Can it be that the special remote implementation fails to properly authenticate? Wrong token? The error reporting may hide this. You could trying running with DATALAD_LOG_LEVEL=8 to see the chatter of git annex with the remote. That should reveal the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants