Skip to content
New issue

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

Unable to start EVCC and SECC #192

Closed
eaglets150 opened this issue Jan 20, 2023 · 0 comments · Fixed by #195
Closed

Unable to start EVCC and SECC #192

eaglets150 opened this issue Jan 20, 2023 · 0 comments · Fixed by #195

Comments

@eaglets150
Copy link

I cloned the repo on a MacOS device and followed the instruction for Docker:

make build
make dev

I see the containers starting but they are throwing errors. This is for the SECC:

iso15118-secc-1 | ERROR 2023-01-20 22:03:44,345 - iso15118.shared.security (152): SSLError, can't load SECC certificate chain for SSL context. Private key (keyfile) probably doesn't match certificate (certfile) or password for private is key invalid. Returning None instead.
iso15118-secc-1 | Traceback (most recent call last):
iso15118-secc-1 | File "/venv/lib/python3.10/site-packages/iso15118/shared/security.py", line 146, in get_ssl_context
iso15118-secc-1 | ssl_context.load_cert_chain(
iso15118-secc-1 | ssl.SSLError: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:3862)
iso15118-secc-1 | INFO 2023-01-20 22:03:44,346 - iso15118.secc.transport.udp_server (129): UDP server socket ready
iso15118-secc-1 | INFO 2023-01-20 22:03:44,346 - iso15118.secc.transport.udp_server (115): UDP server started at address FF02::1%eth0 and port 15118
iso15118-secc-1 | ERROR 2023-01-20 22:03:44,346 - iso15118.shared.utils (126): [Errno 99] Cannot assign requested address
iso15118-secc-1 | Traceback (most recent call last):
iso15118-secc-1 | File "/venv/lib/python3.10/site-packages/iso15118/shared/utils.py", line 124, in wait_for_tasks
iso15118-secc-1 | task.result()
iso15118-secc-1 | File "/venv/lib/python3.10/site-packages/iso15118/secc/transport/tcp_server.py", line 39, in start_tls
iso15118-secc-1 | await self.server_factory(ready_event, tls=True)
iso15118-secc-1 | File "/venv/lib/python3.10/site-packages/iso15118/secc/transport/tcp_server.py", line 97, in server_factory
iso15118-secc-1 | sock.bind(self.full_ipv6_address)
iso15118-secc-1 | OSError: [Errno 99] Cannot assign requested address
iso15118-secc-1 | ERROR 2023-01-20 22:03:44,346 - iso15118.shared.utils (126): [Errno 99] Cannot assign requested address
iso15118-secc-1 | Traceback (most recent call last):
iso15118-secc-1 | File "/venv/lib/python3.10/site-packages/iso15118/shared/utils.py", line 124, in wait_for_tasks
iso15118-secc-1 | task.result()
iso15118-secc-1 | File "/venv/lib/python3.10/site-packages/iso15118/secc/transport/tcp_server.py", line 45, in start_no_tls
iso15118-secc-1 | await self.server_factory(ready_event, tls=False)
iso15118-secc-1 | File "/venv/lib/python3.10/site-packages/iso15118/secc/transport/tcp_server.py", line 97, in server_factory
iso15118-secc-1 | sock.bind(self.full_ipv6_address)
iso15118-secc-1 | OSError: [Errno 99] Cannot assign requested address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant