voici ce que ca donne:
eufy action: xxx options:
usage: /var/www/html/plugins/eufy/resources/eufy [-h] [-d device] [-u url] action
-h show this help message and exit
action: { install|uninstall|upgrade|start|stop|restart|status|info|logs|test }
test optional arguments:
-d DEVICE device serial number
-u URL eufy service URL, default 127.0.0.1:3000
eufy action: test options:
test du container: 67958bb44630 options:
python3 path: /var/www/html/plugins/eufy/resources/../resources/python_venv/bin/python3
Traceback (most recent call last):
File "/var/www/html/plugins/eufy/resources/python_venv/lib/python3.11/site-packages/websockets/http11.py", line 282, in parse
status_line = yield from parse_line(read_line, StatusLineTooLong)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/eufy/resources/python_venv/lib/python3.11/site-packages/websockets/http11.py", line 365, in parse_line
line = yield from read_line(MAX_LINE_LENGTH, too_long_exc_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/eufy/resources/python_venv/lib/python3.11/site-packages/websockets/streams.py", line 54, in read_line
raise EOFError(f"stream ends after {p} bytes, before end of line")
EOFError: stream ends after 0 bytes, before end of line
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/html/plugins/eufy/resources/python_venv/lib/python3.11/site-packages/websockets/client.py", line 304, in parse
response = yield from Response.parse(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/eufy/resources/python_venv/lib/python3.11/site-packages/websockets/http11.py", line 284, in parse
raise EOFError("connection closed while reading HTTP status line") from exc
EOFError: connection closed while reading HTTP status line
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/html/plugins/eufy/resources/../resources/test_eufy.py", line 20, in <module>
ws = client.connect("ws://" + url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/eufy/resources/python_venv/lib/python3.11/site-packages/websockets/sync/client.py", line 816, in connect
connection = connecter.connect()
^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/eufy/resources/python_venv/lib/python3.11/site-packages/websockets/sync/client.py", line 496, in connect
connection = self.open_connection(deadline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/eufy/resources/python_venv/lib/python3.11/site-packages/websockets/sync/client.py", line 406, in open_connection
connection.handshake(
File "/var/www/html/plugins/eufy/resources/python_venv/lib/python3.11/site-packages/websockets/sync/client.py", line 132, in handshake
raise self.protocol.handshake_exc
websockets.exceptions.InvalidMessage: did not receive a valid HTTP response
eufy action: logs options:
Unable to start driver RequestError
at ClientRequest.<anonymous> (file:///usr/src/app/node_modules/got/dist/source/core/index.js:667:107)
at Object.onceWrapper (node:events:631:26)
at ClientRequest.emit (node:events:521:24)
at ClientRequest.emit (node:domain:489:12)
at emitErrorEvent (node:_http_client:109:11)
at TLSSocket.socketErrorListener (node:_http_client:593:5)
at TLSSocket.emit (node:events:509:28)
at TLSSocket.emit (node:domain:489:12)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)AggregateError [ETIMEDOUT]:
at internalConnectMultiple (node:net:1194:18)
at afterConnectMultiple (node:net:1784:7) {
input: undefined,
code: 'ETIMEDOUT',
timings: {
start: 1788688280441,
socket: 1788688280442,
lookup: 1788688280509,
connect: undefined,
secureConnect: undefined,
upload: undefined,
response: undefined,
end: undefined,
error: 1788688416580,
abort: undefined,
phases: {
wait: 1,
dns: 67,
tcp: undefined,
tls: undefined,
request: undefined,
firstByte: undefined,
download: undefined,
total: 136139
}
},
options: {
request: undefined,
agent: { http: undefined, https: undefined, http2: undefined },
h2session: undefined,
decompress: true,
timeout: {
connect: undefined,
lookup: undefined,
read: undefined,
request: undefined,
response: undefined,
secureConnect: undefined,
send: undefined,
socket: undefined
},
prefixUrl: '',
body: undefined,
form: undefined,
json: undefined,
cookieJar: undefined,
ignoreInvalidCookies: false,
searchParams: undefined,
dnsLookup: undefined,
dnsCache: undefined,
context: {},
hooks: {
init: [],
beforeRequest: [],
beforeError: [],
beforeRedirect: [],
beforeRetry: [],
afterResponse: []
},
followRedirect: true,
maxRedirects: 10,
cache: undefined,
throwHttpErrors: true,
username: '',
password: '',
http2: false,
allowGetBody: false,
headers: {
'user-agent': 'got (https://github.com/sindresorhus/got)',
accept: 'application/json',
'accept-encoding': 'gzip, deflate, br'
},
methodRewriting: false,
dnsLookupIpVersion: undefined,
parseJson: [Function: parse],
stringifyJson: [Function: stringify],
retry: {
limit: 1,
methods: [ 'GET' ],
statusCodes: [
408, 413, 429, 500,
502, 503, 504, 521,
522, 524
],
errorCodes: [
'ETIMEDOUT',
'ECONNRESET',
'EADDRINUSE',
'ECONNREFUSED',
'EPIPE',
'ENOTFOUND',
'ENETUNREACH',
'EAI_AGAIN'
],
maxRetryAfter: undefined,
calculateDelay: [Function: calculateDelay],
backoffLimit: Infinity,
noise: 100
},
localAddress: undefined,
method: 'GET',
createConnection: undefined,
cacheOptions: {
shared: undefined,
cacheHeuristic: undefined,
immutableMinTimeToLive: undefined,
ignoreCargoCult: undefined
},
https: {
alpnProtocols: undefined,
rejectUnauthorized: undefined,
checkServerIdentity: undefined,
certificateAuthority: undefined,
key: undefined,
certificate: undefined,
passphrase: undefined,
pfx: undefined,
ciphers: undefined,
honorCipherOrder: undefined,
minVersion: undefined,
maxVersion: undefined,
signatureAlgorithms: undefined,
tlsSessionLifetime: undefined,
dhparam: undefined,
ecdhCurve: undefined,
certificateRevocationLists: undefined
},
encoding: undefined,
resolveBodyOnly: false,
isStream: false,
responseType: 'json',
url: URL {
href: 'https://extend.eufylife.com/domain/FR',
origin: 'https://extend.eufylife.com',
protocol: 'https:',
username: '',
password: '',
host: 'extend.eufylife.com',
hostname: 'extend.eufylife.com',
port: '',
pathname: '/domain/FR',
search: '',
searchParams: URLSearchParams {},
hash: ''
},
pagination: {
transform: [Function: transform],
paginate: [Function: paginate],
filter: [Function: filter],
shouldContinue: [Function: shouldContinue],
countLimit: Infinity,
backoff: 0,
requestLimit: 10000,
stackAllItems: false
},
setHost: true,
maxHeaderSize: undefined,
signal: undefined,
enableUnixSockets: false
},
[cause]: AggregateError [ETIMEDOUT]:
at internalConnectMultiple (node:net:1194:18)
at afterConnectMultiple (node:net:1784:7) {
code: 'ETIMEDOUT',
[errors]: [
[Error], [Error],
[Error], [Error],
[Error], [Error],
[Error], [Error]
]
}
}