openevse_esp32_firmware icon indicating copy to clipboard operation
openevse_esp32_firmware copied to clipboard

Get Diagnostics, always upload failed

Open flyrobot opened this issue 1 year ago • 4 comments

Sending: [2,"48496111-3ac1-4461-8b17-9c224a5e7b24","GetDiagnostics",{"location":"C:"}] Received: [3,"48496111-3ac1-4461-8b17-9c224a5e7b24",{"fileName":"diagnostics.log"}] Received: [2,"1000003","DiagnosticsStatusNotification",{"status":"UploadFailed"}]

I do not know if i'm doing wrong to put location : , or its a bugs

flyrobot avatar Jan 16 '24 15:01 flyrobot

Get Diagnostics works for http:// URLs only at the moment. If you send the location parameter "http://example.com/my/diagnostics.log", then OpenEVSE will initiate an HTTP upload to that server to the path "/my/diagnostics.log".

matth-x avatar Jan 16 '24 16:01 matth-x

ok thanks, i will try

flyrobot avatar Jan 16 '24 16:01 flyrobot

"GetDiagnostics",{"location":"http://localhost:1180/"} {"fileName":"diagnostics.log"} "DiagnosticsStatusNotification",{"status":"Uploading"}

this is what we got status uploading and same as reported from test result

flyrobot avatar Jan 17 '24 09:01 flyrobot

Try to figure out the correct upload URL with a second computer first. I.e. your test HTTP server is on computer 1, and the test client is computer 2 (both are in the same LAN).

If you're able to upload a file from computer 2 to 1, then the same URL will work for OpenEVSE too.

matth-x avatar Jan 21 '24 20:01 matth-x