perrig / scionlab

Software for supporting SCIONLab
Apache License 2.0
3 stars 7 forks source link

Bandwidth tester server breaks when path to client cannot be obtained #17

Closed xabarass closed 6 years ago

xabarass commented 6 years ago

Server was running on AS 1-6. Client was able to send a request to server, but sciond on server side timed out while requesting paths. This made bwtestserver to crash with following output:

INFO[12-17|14:23:59] Registered with dispatcher               ia=1-6 host=192.33.93.173 port=30100
Received request: 1-1029,[10.42.0.180]:30102
INFO[12-17|14:24:07] Registered with dispatcher               ia=1-6 host=192.33.93.173 port=30101
EROR[12-17|14:24:09] Unable to find path                      src=1-6 dst=1-1029 code="SCIOND timed out while requesting paths"
Received request: 1-1029,[10.42.0.180]:30102
A bwtest is already ongoing
error, clientCCAddrStr == currentBwtest
Received request: 1-1029,[10.42.0.180]:30102
A bwtest is already ongoing
error, clientCCAddrStr == currentBwtest
2017/12/17 14:24:09 Dispatcher error err="Path not found srcIA="1-6" dstIA="1-1029""

This exception should be handled.