The client is complaining of freezing and data loss

The client is complaining of freezing and data loss, when they are saving new a record. Its happening maybe 1 out of 4 or 5 times. They tried pressing wait, but it never succeeds. Then they get Page Unresponsive error.

I realise there can be many reasons for this, including their internet dropping out.

Have you any suggestions for trapping this and logging (or saving) with additional information, so I can find out what's wrong.

The project is using TMS Webcore, Aurelius, XData Rest server, Mysql database and is hosted on Amazon EC2 Windows server.

Hard to tell.
But first suggestion is to click F12 and open browser developer tools, there you might have lots of information that might give you insight, such as console output, network communication (requests to XData server) and maybe other relevant info.

I think I have a number of issues.

  1. {FMessage: 'XData server request error.\nUri: https://example…SQL] Lost connection to MySQL server during query', FHelpContext: 0, FJSError: Error: XData server request error.
    Uri: https://example.com:2003/chopper_test/Registrations…, FStack: 'Error: XData server request error.\nUri: https://exammple.com/ops-test/ops_1_0_110.js:56475:34)', FErrorResult: {…}}

  2. ops-test/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

Any clues, where I should look?

First message indicates instability/error in your server, especially with the RBDMS, as the message indicates.

For the second message some googling indicates that it might be a problem with browser extensions, or maybe the way you are calling the server.