diff --git a/server/src/uds/REST/methods/tunnel.py b/server/src/uds/REST/methods/tunnel.py index 9df973d0..1a90dcf2 100644 --- a/server/src/uds/REST/methods/tunnel.py +++ b/server/src/uds/REST/methods/tunnel.py @@ -79,6 +79,9 @@ class TunnelTicket(Handler): # Take token from url token = self._args[2][:48] if not models.TunnelToken.validateToken(token): + if self._args[1][:4] == 'stop': + # "Eat" invalid stop requests, because Applications does not like them + return {} logger.error('Invalid token %s from %s', token, self._request.ip) raise AccessDenied()