cloud.onion.io Device Explorer File Write Error



  • I can use most of the API calls using the generated curl command just fine, but whenever I try to write a file to my omega using the File Write generated curl command, the file does get written to my omega, but the curl command hangs for a really long time then ultimately returns,

    {"message": "Endpoint request timed out"}

    The generated curl command is as follows,

    curl -H "Content-Type: application/json" -H "X-API-KEY: <Your_Api_Key>" -X POST -d '{"path":"/root/foo2.txt","data":"this is a test","append":false,"mode":420,"base64":false}' https://api.onion.io/v1/devices/<my address>/file/write

    The hanging symptom is the real problem. I can deal with the error message.

    Any pointers?


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.