I'm running LC Indy 8.1.6 and Dropbox API library 2.0 with an iOS App that is constantly (24 x 7) downloading/uploading data from/to Dropbox. From time to time the App hangs. I (guess) I was able to find out that it happens when the connection drops in the middle of a transfer.
I'm able to reproduce the behaviour by running on the simulator and removing my ethernet wire in the middle of a transfer.
I'm getting 3 different errors:
1 - "tsneterr: (6) Couldn't resolve host 'content.dropboxapi.com'
2 - "tsneterr: (7) Failed to connect to content.dropboxapi.com port 443: Operation timed out
3 - error Previous request not completed
It seems errors 1 & 2 go away once the connection is back again.
But the last one "error Previous request..." once received never disappears.
I'd like to try a way to clear this error "manually" and see what happens but I wasn't able to find out how to clear it.
Any ideas how to deal with it? I've tried
Code: Select all
tsNetClose
wait for 5 seconds
tsNetInit
I have been dealing with this problem for several months now and am really desperate to find out a solution or work around..
Thanks