Hi Nathan,
Thanks for your interest in h5pyd!
Yes, 403 does sound like an auth issue. Did you setup a test user/passwd
as decribed here: http://h5serv.readthedocs.io/en/latest/AdminTools.html? And
are you passing the username/password in the Auth header? In any case, it’s
helpful to scan the log output of the container to see if there is any
additional info about the nature of the failed request.
H5serv should recognize new files as they are dropped into the server data
folder. Can you point me to the doc references you mentioned? There may need
to be an update here.
One a file is indexed, any new groups or datasets that creating using the
REST API (or h5pyd) will be recognized. Modifying the file directly will cause
problems though. So best policy is to not touch the file after it is added to
server.
Cheers,
John
From: Hdf-forum <[email protected]> on behalf of Nathan
Johnson <[email protected]>
Reply-To: HDF Users Discussion List <[email protected]>
Date: Friday, May 19, 2017 at 6:55 AM
To: "[email protected]" <[email protected]>
Subject: [Hdf-forum] h5pyd
Hi hdf-forum
I couldn't find any previous posts on h5pyd, so this must be the first. I'm
having a few teething problems and am looking for a bit of clarification as the
tutorial docs seem a bit of a work in progress.
I have h5serv set up (using https://hub.docker.com/r/hdfgroup/h5serv/) with a
test user and am trying to use h5pyd.File to write a new file, but am getting
403s back, which suggests I don't have authorisation.
Regardless of the 403s, can someone explain the write behaviour to me?
According to the h5serv docs, it will recognize new files and index them, but
will not recognise any updates on pre-indexed files. So am I to believe that a
file created with h5pyd will be recognised, but any group or datasets I add
after instantiating the File object, will not be indexed, and will require a
server restart?
Thanks
Nathan
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5