Skip to content
This repository was archived by the owner on Jul 3, 2019. It is now read-only.
This repository was archived by the owner on Jul 3, 2019. It is now read-only.

Connection reset by peer when a process shuts down #55

@ottopasuuna

Description

@ottopasuuna

When I shut down the software on the rover, the JoystickProcess that runs on my machine throws this error:

Traceback (most recent call last):
  File "/home/carl/Programming/usst/robocluster/robocluster/looper.py", line 86, in _daemon_wrapper                                    
    await coro(*args, **kwargs)
  File "/home/carl/Programming/usst/robocluster/robocluster/member.py", line 238, in _recv_loop                                        
    size = await self._socket.recv(4)
  File "/home/carl/miniconda3/envs/robocluster2/lib/python3.5/asyncio/futures.py", line 381, in __iter__                               
    yield self  # This tells Task to wait for completion.
  File "/home/carl/miniconda3/envs/robocluster2/lib/python3.5/asyncio/tasks.py", line 310, in _wakeup                                  
    future.result()
  File "/home/carl/miniconda3/envs/robocluster2/lib/python3.5/asyncio/futures.py", line 294, in result                                 
    raise self._exception
  File "/home/carl/Programming/usst/robocluster/robocluster/net.py", line 80, in wrapper                                               
    result = func(*args, **kwargs)
ConnectionResetError: [Errno 104] Connection reset by peer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions