Closed rollesky closed 2 years ago
@rollesky
EAI_AGAIN is a DNS lookup timed out error. There is a problem with the DNS lookup of "extend.eufylife.com" on your side.
In fact changing the network from "bridge" to "host" solved the issue. Thanks for direction.
Version
0.8.4
Node version
12.22.11
Operating System type
Docker
Operating system version
Debian 10
Describe the bug
Docker installation done but server doesn't run because of errors.
To reproduce
deploy bropat/eufy-security-ws:latest PORT CONFIGURATION | 0.0.0.0:3000 3000/tcp:::3000 3000/tcp Volumes /home.../data:/data ENV COUNTRY PL PASSWORD | password USERNAME | user NODE_VERSION | 16.14.0 PASSWORD | E!ufy123 PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin YARN_VERSION | 1.22.17
wait
open logs
Screenshots & Logfiles
2022-03-31 19:13:54.052 INFO Eufy Security server listening on host 0.0.0.0, port 3000 2022-03-31 19:14:21.301 ERROR Error: RequestError getaddrinfo EAI_AGAIN extend.eufylife.com details: { code: 'EAI_AGAIN', timings: { start: 1648754056291, socket: 1648754056292, lookup: 1648754061292, connect: undefined, secureConnect: undefined, upload: undefined, response: undefined, end: undefined, error: 1648754061293, abort: undefined, phases: { wait: 1, dns: 5000, tcp: undefined, tls: undefined, request: undefined, firstByte: undefined, download: undefined, total: 5002 } } m error stack: • index.js:962
node_modules/got/dist/source/core/index.js:962:111
• node:events:640 onceWrapper
node:events:640:26
• node:events:532 emit
node:events:532:35
• index.js:43 origin.emit
node_modules/@szmarczak/http-timer/dist/source/index.js:43:20
• node:_http_client:442 socketErrorListener
node:_http_client:442:9
• node:events:520 emit
node:events:520:28
• destroy:157 emitErrorNT
node:internal/streams/destroy:157:8
• destroy:122 emitErrorCloseNT
node:internal/streams/destroy:122:3
• task_queues:83 processTicksAndRejections
node:internal/process/task_queues:83:21
2022-03-31 19:14:21.313 ERROR Status return code not 200
{
status: undefined,
statusText: undefined
}
2022-03-31 19:14:21.319 ERROR Error:
Error
input
must not start with a slash when usingprefixUrl
error stack: • index.js:484 normalizeArguments node_modules/got/dist/source/core/index.js:484:23 • create.js:112 got node_modules/got/dist/source/create.js:112:39 • api.ts:496 request node_modules/eufy-security-client/src/http/api.ts:496:43 • api.ts:171 authenticate node_modules/eufy-security-client/src/http/api.ts:171:58 • eufysecurity.ts:565 connect node_modules/eufy-security-client/src/eufysecurity.ts:565:36 • task_queues:96 processTicksAndRejections node:internal/process/task_queues:96:5 2022-03-31 19:14:21.322 ERROR Status return code not 200 { status: undefined, statusText: undefined }Additional context
No response