Failed to request when installing to docker #311
Unanswered
harishvelli
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
When I run the following command I am getting this error. Please let me know what I am doing wrong.
Command - docker run -it -e USERNAME=myemail -e PASSWORD=mypassword -p 3000:3000 bropat/eufy-security-ws:0.8.4
Error:
2022-04-15 23:25:45.300 INFO Eufy Security server listening on host 0.0.0.0, port 3000
2022-04-15 23:25:50.853 INFO Push notification connection closed
2022-04-15 23:25:55.382 INFO Push notification connection successfully established
2022-04-15 23:25:55.780 ERROR Station T8510Q10212500C7 - Response code not ok
{
code: 20028,
msg: 'Failed to request.'
}
node:internal/errors:464
ErrorCaptureStackTrace(err);
^
TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
at new NodeError (node:internal/errors:371:5)
at Function.from (node:buffer:322:9)
at stringWithLength (/usr/src/app/node_modules/eufy-security-client/build/p2p/utils.js:25:35)
at p2pDidToBuffer (/usr/src/app/node_modules/eufy-security-client/build/p2p/utils.js:49:18)
at buildLookupWithKeyPayload (/usr/src/app/node_modules/eufy-security-client/build/p2p/utils.js:53:26)
at P2PClientProtocol.lookupByAddress (/usr/src/app/node_modules/eufy-security-client/build/p2p/session.js:242:63)
at /usr/src/app/node_modules/eufy-security-client/build/p2p/session.js:226:51
at Array.map ()
at P2PClientProtocol.lookup (/usr/src/app/node_modules/eufy-security-client/build/p2p/session.js:226:29)
at Socket. (/usr/src/app/node_modules/eufy-security-client/build/p2p/session.js:305:26) {
code: 'ERR_INVALID_ARG_TYPE'
}
This is running on RPI4 with Docker.
Beta Was this translation helpful? Give feedback.
All reactions