Hi John,

I replaced the "request" in json with "path" and changed the dataset name to 
its id as follows. Seems the request was parsed correctly but I still got a 500 
status code. The log is also attached.

>{
      "method": "GET",
      "path": "/datasets/d-2f22962d-e0592840-e15c-625d94-9e4cbf/value",
      "params": {
            "domain": "/home/admin/hsds.hdf5",
            "select": "[0:100,0:100]",
            "bucket": "hsds-hyperslab-test"
      }
}


> REQ> GET: /datasets/d-2f22962d-e0592840-e15c-625d94-9e4cbf/value 
> [/home/admin/hsds.hdf5]
sn INFO> getObjectJson d-2f22962d-e0592840-e15c-625d94-9e4cbf
sn INFO> 
http_get('http+unix://%2Ftmp%2Fhs161b1acd%2Fdn_1.sock/datasets/d-2f22962d-e0592840-e15c-625d94-9e4cbf')
sn INFO> Initiating UnixConnector with path: /tmp/hs161b1acd/dn_1.sock
sn INFO> Socket Ready: /tmp/hs161b1acd/dn_1.sock
sn INFO> http_get status: 500 for req: 
http://127.0.0.1/datasets/d-2f22962d-e0592840-e15c-625d94-9e4cbf
sn ERROR> request to 
http://127.0.0.1/datasets/d-2f22962d-e0592840-e15c-625d94-9e4cbf failed with 
code: 500
INFO: hsds app stop at 1661538878.1163843
INFO: sending SIGINT to hsds-servicenode
INFO: sending SIGINT to hsds-rangeget
INFO: sending SIGINT to hsds-datanode





---
[Visit 
Topic](https://forum.hdfgroup.org/t/how-to-issue-requests-to-hsds-lambda/10136/3)
 or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://forum.hdfgroup.org/email/unsubscribe/fd910026a0d68dcad1edb5303439954b736348d7f07fb236f8e565aa97df6da4).

Reply via email to