Just upgraded to the latest version (4.5.10, from from 4.0.X) and I experience timeouts and hangs. I cannot revert to the 4.0.X version, since we have customer nugetr packages depening on SS > 4.5.8.
We are experiencing weird behaviour on JsonServiceClient which starts to hang after 5 calls. When I restart the process, the same happens. Note that this only happens when there is more than 1 machine invloved. When I run locally, everything works fine.
I managed to pinpoint the issue to ServiceClientBase.cs, where it calls into PclExport.Instance.GetRequestStream(client))
When the JsonServiceClient hangs it usually means there’s a HttpWebResponse that’s not being disposed somewhere, this can silently happen when sending a POST/PUT request to a Request DTO that doesn’t have a IReturn interface as it will return a HttpWebResponse (since it doesn’t know the Response) which needs to be disposed. These APIs are obsolete so check your warnings to make sure you’re not using any deprecated Service Client APIs, if you are adding an IReturnVoid to the Request DTO will change it to use an API that disposes the Response.
If the issue persists can you create a small stand-alone repro we can run locally to see it.