webdav-cli
webdav-cli copied to clipboard
Cruising whenever I try to access
My Os : Alpine v3.16 My command:
/r npx webdav-cli --host 10.240.4.151 --port 5236 --directory true --autoIndex true --path /root
Response:
· _ _ _ _
__ __ ___ | |__ __| | __ _ __ __ ___ | | (_)
\ \ /\ / / / _ \ | '_ \ / _` | / _` | \ \ / / _____ / __| | | | |
\ V V / | __/ | |_) | | (_| | | (_| | \ V / |_____| | (__ | | | |
\_/\_/ \___| |_.__/ \__,_| \__,_| \_/ \___| |_| |_|
Homepage: https://github.com/svtslv/webdav-cli
Server running at http://10.240.4.151:5236
[rights]: all
[digest]: false
username: zhl8jupfs6l75du7
password: 76kgoerjd72ienb9
Hit CTRL-C to stop the server
Run with --help to print help
Everything was fine. Logged in to the WebDAV server successfully using Chrome browser & rclone.
But when I tried to log in the WebDAV server using Mix Explorer the application crushed.
Here is the log:
>> PROPFIND / > 401 Unauthorized
node:_http_outgoing:576
throw new ERR_HTTP_HEADERS_SENT('set');
^
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at new NodeError (node:internal/errors:372:5)
at ServerResponse.setHeader (node:_http_outgoing:576:11)
at HTTPRequestContext.writeBody (/root/.npm/_npx/fc0ee8b65271df27/node_modules/webdav-server/lib/server/v2/RequestContext.js:278:31)
at done (/root/.npm/_npx/fc0ee8b65271df27/node_modules/webdav-server/lib/server/v2/commands/Propfind.js:293:25)
at /root/.npm/_npx/fc0ee8b65271df27/node_modules/webdav-server/lib/server/v2/commands/Propfind.js:358:33
at Workflow.doneFn (/root/.npm/_npx/fc0ee8b65271df27/node_modules/webdav-server/lib/server/v2/commands/Propfind.js:350:37)
at /root/.npm/_npx/fc0ee8b65271df27/node_modules/webdav-server/lib/helper/Workflow.js:47:57
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
code: 'ERR_HTTP_HEADERS_SENT'
}
My Configuration Inside Mix Explorer:

Note:I can access other WebDAV server using Mix Explorer without any Issues. So, There is no problem with Mix Explorer WebDAV module