When trying to launch with python main.py --host 192.168.1.100:4433` it crashes and the following is in client.log:
2025-01-26 08:45:15,056 - ERROR - Fatal error in curses wrapper: [Errno -2] Name or service not known
2025-01-26 08:45:15,057 - ERROR - Traceback: Traceback (most recent call last):
File "/home/josh/meshtastic_cli/contact/main.py", line 57, in <module>
curses.wrapper(main)
File "/usr/lib/python3.12/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/josh/meshtastic_cli/contact/main.py", line 42, in main
globals.interface = initialize_interface(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/josh/meshtastic_cli/contact/utilities/interfaces.py", line 9, in initialize_interface
return meshtastic.tcp_interface.TCPInterface(args.host)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/josh/meshtastic_cli/lib/python3.12/site-packages/meshtastic/tcp_interface.py", line 40, in __init__
sock: Optional[socket.socket] = socket.create_connection(server_address)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/socket.py", line 828, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known
When trying to launch with python main.py --host 192.168.1.100:4433` it crashes and the following is in client.log:
```
2025-01-26 08:45:15,056 - ERROR - Fatal error in curses wrapper: [Errno -2] Name or service not known
2025-01-26 08:45:15,057 - ERROR - Traceback: Traceback (most recent call last):
File "/home/josh/meshtastic_cli/contact/main.py", line 57, in <module>
curses.wrapper(main)
File "/usr/lib/python3.12/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/josh/meshtastic_cli/contact/main.py", line 42, in main
globals.interface = initialize_interface(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/josh/meshtastic_cli/contact/utilities/interfaces.py", line 9, in initialize_interface
return meshtastic.tcp_interface.TCPInterface(args.host)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/josh/meshtastic_cli/lib/python3.12/site-packages/meshtastic/tcp_interface.py", line 40, in __init__
sock: Optional[socket.socket] = socket.create_connection(server_address)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/socket.py", line 828, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known
```
<!-- github-sync-id:2811601184 -->
Interesting enough it still resolves without the port (but other clients cant). Maybe this is an edge case issue that should be handled by meshtastic and avahi first.
Interesting enough it still resolves without the port (but other clients cant). Maybe this is an edge case issue that should be handled by meshtastic and avahi first.
<!-- github-comment-id:2614455251 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When trying to launch with python main.py --host 192.168.1.100:4433` it crashes and the following is in client.log:
Interesting enough it still resolves without the port (but other clients cant). Maybe this is an edge case issue that should be handled by meshtastic and avahi first.