SCS-CBU-CED-IAM / mobileid-helper

Mobile ID Test Signature Portal
1 stars 1 forks source link

Timeout shows red instead of yellow error #78

Closed hpwaldegger closed 7 years ago

hpwaldegger commented 8 years ago

Timeout (sending a request and waiting until the error is displayed) shows red error (infrastructure error) instead of 'yello error' (user error). This is probably triggered by a system timeout before the system retuns 208, as the test number (+41000092208) shows the correct behavoir.

hpwaldegger commented 8 years ago

Solution concept: Set the "red dot" as default and change to "green dot" after the signature request finished successful.

phaupt commented 7 years ago

I agree that the a timeout waiting for the user should result in a yellow warning rather than a red error. However the problem is related to the "connection_timeout"-parameter of 90s that has actually no effect. So the default socket timeout of 60s was hitting instead and lead to the red error. This will be fixed in the next commit.