Closed audigex closed 3 years ago
Never experienced something like this, perhaps some serverside throtteling? Don't think it has something to do with the library if it works sometimes.
This turned out to be an issue with the client's internet speed and either a timeout, or socket exhaustion due to starting too many uploads before others had finished.
The solution was to implement a better upload queue and have them shout at their ISP...
I'm getting an "HttpRequestException: Error when copying content to a stream" error when uploading images, but only sometimes.
Strangely, the image appears to upload correctly, but the request fails and I don't get a URL back.
It also seems to succeed several times in a row, and then start failing - I guess the problem is some kind of timeout? But I can't see any obvious way to change this. Any suggestions?
The top exception (System.Exception: Error when uploading image) is my own exception thrown when the task fails, the rest is the inner trace