You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to send any other commands from the controller while interacting with the one of the clients I get this error:
[SERVER - ERROR] Client closed the connection
[INFO] Retreiving connections again...
The only commands that work successfully are the ones that are the "CD" and "quit" commands listed before the else statement here:
else:
allConnections[chosenone].send(data)
msg = allConnections[chosenone].recv(20480)
sendController(msg, q)
if (sendController(msg, q) == 0):
breakit = True
break
I have narrowed the error to its origin somewhere in that block of code, but I cannot find anything wrong with this code.
I am running the client, server, and controller from separate Windows machines. If someone could please help me out that would be great. Thanks!
The text was updated successfully, but these errors were encountered:
Upon further investigation the client is closing causing the controller to break. the line of code that is causing this issue is the "signal.signal(signal.SIGALRM, alarm_handler)" line in this block.
Hello,
When trying to send any other commands from the controller while interacting with the one of the clients I get this error:
[SERVER - ERROR] Client closed the connection
[INFO] Retreiving connections again...
The only commands that work successfully are the ones that are the "CD" and "quit" commands listed before the else statement here:
else:
allConnections[chosenone].send(data)
msg = allConnections[chosenone].recv(20480)
sendController(msg, q)
if (sendController(msg, q) == 0):
breakit = True
break
I have narrowed the error to its origin somewhere in that block of code, but I cannot find anything wrong with this code.
I am running the client, server, and controller from separate Windows machines. If someone could please help me out that would be great. Thanks!
The text was updated successfully, but these errors were encountered: