webMUSHRA icon indicating copy to clipboard operation
webMUSHRA copied to clipboard

time-out when sending results leads to SUCESS

Open faroit opened this issue 1 year ago • 3 comments

during the process of sending the results, it might happen that the server can't be reached. This results in an time-out error that is unfortunately not caught correctly:

image

A solution is to implement this differently like proposed here https://stackoverflow.com/questions/10458632/try-catch-doesnt-work-with-xmlhttprequest

faroit avatar Sep 25 '24 12:09 faroit

I have seen a related issue, where I have invalid ID as the test name, the user clicks "send results", the UI displays that it was successful, but nothing was written to disk. There was no indication that the results failed to write to disk correctly.

w4iei avatar Feb 21 '25 14:02 w4iei

@cifkao do you remember what the simple fix was for this?

faroit avatar Mar 07 '25 14:03 faroit

I'm not sure there was a simple fix. I suspect this has something to do with the fact that synchronous XmlHttpRequests are deprecated. It would probably be a good idea to switch to the Fetch API.

cifkao avatar Mar 07 '25 16:03 cifkao