Connection issues ("dotted" data)

Hi there ! I’m having some issues with both my esp (d1 and d1_mini_pro) : Even if my router show them as connected, i can’t connect to them and the graphics on home assistants are showing there is some problems : as you can see there is a lot of little dots

Also, that’s what i have when i’m connecting to the esp via cmd

Both esp are closes to the router and the wifi connection is pretty good

But yeah my router (Asus Zenwifi) still show espgaz as connected since a long time (even if the other one seems to disconnect from time to time)

Please please stop posting pictures of text!

Sorry ! Here is some example with text :

INFO Trying to reconnect to espgaz.local in the background
INFO Successfully connected to espgaz.local
[19:11:16][D][api:098]: Accepted 192.168.50.84
[19:11:16][D][api.connection:736]: Home Assistant 2021.12.0 (192.168.50.84): Connected successfully
INFO espgaz.local: Ping timed out!
ERROR Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "c:\users\valen\appdata\local\programs\python\python39\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "c:\users\valen\appdata\local\programs\python\python39\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
OSError: [WinError 10038] Une opération a été tentée sur autre chose qu’un socket
INFO Disconnected from ESPHome API for espgaz.local
WARNING Disconnected from API
WARNING Can't connect to ESPHome API for espgaz.local: Error connecting to ('192.168.50.146', 6053): [WinError 121] Le délai de temporisation de sémaphore a expiré
INFO Trying to reconnect to espgaz.local in the background
ERROR Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "c:\users\valen\appdata\local\programs\python\python39\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "c:\users\valen\appdata\local\programs\python\python39\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
OSError: [WinError 10038] Une opération a été tentée sur autre chose qu’un socket

Perhaps this: Python Asyncio errors: "OSError: [WinError 6] The handle is invalid" and "RuntimeError: Event loop is closed" - Stack Overflow

I dunno, I avoid Windows