Hello
Something strange is going on here. I found precisely in your logs where the freeze happens.
For background, you need to understand how the RDP clipboard works. When you copy something on the server, the server tells the client "here is the types of data I have in my clipboard". It doesn't send the actual data, that would be too heavy for every copy that might not need a corresponding paste on the client side. So, now the client knows what kinds of data are in the clipboard but doesn't have the actual data yet. Now, on client side, if you paste somewhere, the system picks the most suitable type of data that's advertised on the clipboard, and only now do we ask the server "send us the data for that type!". Ok, so now the client needs to wait for the server to actually send the data. At this point we must block the UI thread because macOS pasteboard has to happen on the main thread. We wait for the data - usually pretty quick, can be slow depending on what the server does or what the data is; but we have a maximum wait of 30 seconds in our code.
When I see the freeze case in your log, here is what I see:
18:33:39:290 - Server announces unicode text available on the clipboard
18:33:39:322 - macOS side requests the text data
18:34:09:327 - 30 seconds past; the server never sent the data. macOS side immediately request the data again
18:34:39:375 - 30 seconds past; the server never sent the data. macOS side immediately request the data again
18:35:09:405 - 30 seconds past; now all three queued responses arrive in a burst
18:35:10:459 - second and third responses arrive
Do you see why it's strange from the timestamp? You copied on the server, but then the client asked for the data 30ms later. I can't believe you switched back to macOS and initiated a paste in just 30ms! So, something running on your Mac is proactively reading new data from the clipboard as soon as it's copied. Furthermore, if it's not available, it retries two more times. I can't say what that might be - perhaps a clipboard monitor/history application or maybe something else that does clipboard virtualization like VMWare, something like that? Note that this same pattern is happening in the cases you copy on the server and it doesn't freeze - it's just that the server is providing the data very quickly. Every time you copy in RDP, something on your Mac immediately tries to read the clipboard within 15-30 milliseconds.
So the next part of the problem is, why is it taking so long to get the data in the freezing case? In this case that's on the server - it's just not answering in a timely way, although the data does eventually arrive. What are the application(s) you are copying from? Are you copying really big chunks of data, perhaps with images and other heavy content? Are the files in question sitting on slow I/O (network drive, maybe)?
In summary: something on your local machine is aggressively trying to read all the data that gets put into the clipboard. If the RDP server cannot serve that data quickly enough (30 seconds timeout), whatever that is retries a further 2 times, causing an additional 60 seconds timeout. In those timeout periods we're frozen, but it's unavoidable because clipboard interaction is UI thread bound.
Please let me know if you have some questions or something isn't clear