We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
Forst of all: thank you for this project. Sharing something like this is not a matter of course!
I tried to set up e3dc-rest in addition to my teslamate (docker). The docker-compose.yml has the following content:
services: e3dc: image: ghcr.io/vchrisb/e3dc-rest:latest restart: unless-stopped environment: - E3DC_IP_ADDRESS=10.10.7.10 # IP-Address of my e3/dc - [email protected] # my3dc-Cloud-Account-User - E3DC_PASSWORD=a123b456c780 # my3dc-Cloud-Account-PW - E3DC_KEY=123456 # RSCP-PW - ADMIN_PASSWORD=admin ports: - 8080:8080
But when i try to start the container, the following error messages appear:
docker compose up [+] Running 2/2 ✔ Network e3dc_default Created 0.1s ✔ Container e3dc-e3dc-1 Created 0.4s Attaching to e3dc-1 e3dc-1 | [2024-04-07 12:54:18 +0000] [1] [INFO] Starting gunicorn 21.2.0 e3dc-1 | [2024-04-07 12:54:18 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1) e3dc-1 | [2024-04-07 12:54:18 +0000] [1] [INFO] Using worker: sync e3dc-1 | [2024-04-07 12:54:18 +0000] [7] [INFO] Booting worker with pid: 7 e3dc-1 | [2024-04-07 12:54:19 +0000] [7] [ERROR] Exception in worker process e3dc-1 | Traceback (most recent call last): e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 102, in sendRequest e3dc-1 | receive = self._receive() e3dc-1 | ^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 73, in _receive e3dc-1 | data = self.socket.recv(BUFFER_SIZE) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | ConnectionResetError: [Errno 104] Connection reset by peer e3dc-1 | e3dc-1 | During handling of the above exception, another exception occurred: e3dc-1 | e3dc-1 | Traceback (most recent call last): e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 225, in sendRequest e3dc-1 | self.rscp.connect() e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 133, in connect e3dc-1 | self.sendRequest( e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 108, in sendRequest e3dc-1 | raise CommunicationError e3dc-1 | e3dc._e3dc_rscp_local.CommunicationError e3dc-1 | e3dc-1 | During handling of the above exception, another exception occurred: e3dc-1 | e3dc-1 | Traceback (most recent call last): e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker e3dc-1 | worker.init_process() e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py", line 134, in init_process e3dc-1 | self.load_wsgi() e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi e3dc-1 | self.wsgi = self.app.wsgi() e3dc-1 | ^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py", line 67, in wsgi e3dc-1 | self.callable = self.load() e3dc-1 | ^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 58, in load e3dc-1 | return self.load_wsgiapp() e3dc-1 | ^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp e3dc-1 | return util.import_app(self.app_uri) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/util.py", line 371, in import_app e3dc-1 | mod = importlib.import_module(module) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module e3dc-1 | return _bootstrap._gcd_import(name[level:], package, level) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import e3dc-1 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load e3dc-1 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked e3dc-1 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked e3dc-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module e3dc-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed e3dc-1 | File "/app/wsgi.py", line 1, in <module> e3dc-1 | from api import app e3dc-1 | File "/app/api.py", line 34, in <module> e3dc-1 | e3dc = E3DC( e3dc-1 | ^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 140, in __init__ e3dc-1 | self.get_system_info_static(keepAlive=True) e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 816, in get_system_info_static e3dc-1 | self.sendRequestTag(RscpTag.EMS_REQ_DERATE_AT_PERCENT_VALUE, keepAlive=True) e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 263, in sendRequestTag e3dc-1 | return self.sendRequest( e3dc-1 | ^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 237, in sendRequest e3dc-1 | raise SendError("Max retries reached") e3dc-1 | e3dc._e3dc.SendError: Max retries reached e3dc-1 | [2024-04-07 12:54:19 +0000] [7] [INFO] Worker exiting (pid: 7) e3dc-1 | [2024-04-07 12:54:19 +0000] [1] [ERROR] Worker (pid:7) exited with code 3 e3dc-1 | [2024-04-07 12:54:19 +0000] [1] [ERROR] Shutting down: Master e3dc-1 | [2024-04-07 12:54:19 +0000] [1] [ERROR] Reason: Worker failed to boot. e3dc-1 exited with code 3 e3dc-1 | [2024-04-07 12:54:20 +0000] [1] [INFO] Starting gunicorn 21.2.0 e3dc-1 | [2024-04-07 12:54:20 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1) e3dc-1 | [2024-04-07 12:54:20 +0000] [1] [INFO] Using worker: sync e3dc-1 | [2024-04-07 12:54:20 +0000] [7] [INFO] Booting worker with pid: 7 e3dc-1 | [2024-04-07 12:54:21 +0000] [7] [ERROR] Exception in worker process e3dc-1 | Traceback (most recent call last): e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 102, in sendRequest e3dc-1 | receive = self._receive() e3dc-1 | ^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 73, in _receive e3dc-1 | data = self.socket.recv(BUFFER_SIZE) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | ConnectionResetError: [Errno 104] Connection reset by peer e3dc-1 | e3dc-1 | During handling of the above exception, another exception occurred: e3dc-1 | e3dc-1 | Traceback (most recent call last): e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 225, in sendRequest e3dc-1 | self.rscp.connect() e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 133, in connect e3dc-1 | self.sendRequest( e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 108, in sendRequest e3dc-1 | raise CommunicationError e3dc-1 | e3dc._e3dc_rscp_local.CommunicationError e3dc-1 | e3dc-1 | During handling of the above exception, another exception occurred: e3dc-1 | e3dc-1 | Traceback (most recent call last): e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker e3dc-1 | worker.init_process() e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py", line 134, in init_process e3dc-1 | self.load_wsgi() e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi e3dc-1 | self.wsgi = self.app.wsgi() e3dc-1 | ^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py", line 67, in wsgi e3dc-1 | self.callable = self.load() e3dc-1 | ^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 58, in load e3dc-1 | return self.load_wsgiapp() e3dc-1 | ^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp e3dc-1 | return util.import_app(self.app_uri) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/util.py", line 371, in import_app e3dc-1 | mod = importlib.import_module(module) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module e3dc-1 | return _bootstrap._gcd_import(name[level:], package, level) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import e3dc-1 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load e3dc-1 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked e3dc-1 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked e3dc-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module e3dc-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed e3dc-1 | File "/app/wsgi.py", line 1, in <module> e3dc-1 | from api import app e3dc-1 | File "/app/api.py", line 34, in <module> e3dc-1 | e3dc = E3DC( e3dc-1 | ^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 140, in __init__ e3dc-1 | self.get_system_info_static(keepAlive=True) e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 816, in get_system_info_static e3dc-1 | self.sendRequestTag(RscpTag.EMS_REQ_DERATE_AT_PERCENT_VALUE, keepAlive=True) e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 263, in sendRequestTag e3dc-1 | return self.sendRequest( e3dc-1 | ^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 237, in sendRequest e3dc-1 | raise SendError("Max retries reached") e3dc-1 | e3dc._e3dc.SendError: Max retries reached e3dc-1 | [2024-04-07 12:54:21 +0000] [7] [INFO] Worker exiting (pid: 7) e3dc-1 | [2024-04-07 12:54:21 +0000] [1] [ERROR] Worker (pid:7) exited with code 3 e3dc-1 | [2024-04-07 12:54:21 +0000] [1] [ERROR] Shutting down: Master e3dc-1 | [2024-04-07 12:54:21 +0000] [1] [ERROR] Reason: Worker failed to boot. e3dc-1 | [2024-04-07 12:54:23 +0000] [1] [INFO] Starting gunicorn 21.2.0 e3dc-1 | [2024-04-07 12:54:23 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1) e3dc-1 | [2024-04-07 12:54:23 +0000] [1] [INFO] Using worker: sync e3dc-1 | [2024-04-07 12:54:23 +0000] [7] [INFO] Booting worker with pid: 7 e3dc-1 | [2024-04-07 12:54:23 +0000] [7] [ERROR] Exception in worker process e3dc-1 | Traceback (most recent call last): e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 102, in sendRequest e3dc-1 | receive = self._receive() e3dc-1 | ^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 73, in _receive e3dc-1 | data = self.socket.recv(BUFFER_SIZE) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | ConnectionResetError: [Errno 104] Connection reset by peer e3dc-1 | e3dc-1 | During handling of the above exception, another exception occurred: e3dc-1 | e3dc-1 | Traceback (most recent call last): e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 225, in sendRequest e3dc-1 | self.rscp.connect() e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 133, in connect e3dc-1 | self.sendRequest( e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc_rscp_local.py", line 108, in sendRequest e3dc-1 | raise CommunicationError e3dc-1 | e3dc._e3dc_rscp_local.CommunicationError e3dc-1 | e3dc-1 | During handling of the above exception, another exception occurred: e3dc-1 | e3dc-1 | Traceback (most recent call last): e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker e3dc-1 | worker.init_process() e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py", line 134, in init_process e3dc-1 | self.load_wsgi() e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi e3dc-1 | self.wsgi = self.app.wsgi() e3dc-1 | ^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/app/base.py", line 67, in wsgi e3dc-1 | self.callable = self.load() e3dc-1 | ^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 58, in load e3dc-1 | return self.load_wsgiapp() e3dc-1 | ^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp e3dc-1 | return util.import_app(self.app_uri) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/gunicorn/util.py", line 371, in import_app e3dc-1 | mod = importlib.import_module(module) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module e3dc-1 | return _bootstrap._gcd_import(name[level:], package, level) e3dc-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ e3dc-1 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import e3dc-1 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load e3dc-1 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked e3dc-1 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked e3dc-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module e3dc-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed e3dc-1 | File "/app/wsgi.py", line 1, in <module> e3dc-1 | from api import app e3dc-1 | File "/app/api.py", line 34, in <module> e3dc-1 | e3dc = E3DC( e3dc-1 | ^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 140, in __init__ e3dc-1 | self.get_system_info_static(keepAlive=True) e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 816, in get_system_info_static e3dc-1 | self.sendRequestTag(RscpTag.EMS_REQ_DERATE_AT_PERCENT_VALUE, keepAlive=True) e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 263, in sendRequestTag e3dc-1 | return self.sendRequest( e3dc-1 | ^^^^^^^^^^^^^^^^^ e3dc-1 | File "/usr/local/lib/python3.12/site-packages/e3dc/_e3dc.py", line 237, in sendRequest e3dc-1 | raise SendError("Max retries reached") e3dc-1 | e3dc._e3dc.SendError: Max retries reached e3dc-1 | [2024-04-07 12:54:23 +0000] [7] [INFO] Worker exiting (pid: 7) e3dc-1 | [2024-04-07 12:54:24 +0000] [1] [ERROR] Worker (pid:7) exited with code 3 e3dc-1 | [2024-04-07 12:54:24 +0000] [1] [ERROR] Shutting down: Master e3dc-1 | [2024-04-07 12:54:24 +0000] [1] [ERROR] Reason: Worker failed to boot.
I am grateful for any ideas!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
Forst of all: thank you for this project. Sharing something like this is not a matter of course!
I tried to set up e3dc-rest in addition to my teslamate (docker).
The docker-compose.yml has the following content:
But when i try to start the container, the following error messages appear:
I am grateful for any ideas!
The text was updated successfully, but these errors were encountered: