-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[ios] Request timeout when PUT file to AWS S3 #155
Comments
@MQZhangThu , thanks for the information, I assume this is due to the library computed in incorrect Besides, is the |
To be more specific, I use pre-signed url to
|
The image selector used is react-native-image-picker. It is not
For the third image, after |
@wkh237 To check whether it is Do I have to modify some other codes in RNFetchBlob module to make this setting effective? I mean, will the RNFetchBlob calculate the length again and over-write it? |
It seems that It works well for android, as addressed in #94 . |
I'm not sure if you can overwrite the |
works well on iPhone devices, rather weird. |
@MQZhangThu , thank you for the informations 👍 I'm wondering if it only happens when sending reuqests simutaneously, I'll do some test on it. |
fix progress and uploadProgress not callback in iOS
hi, when I
PUT
image to AWS S3, sometimes AWS returns error as below:<Error><Code>RequestTimeout</Code><Message>Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.</Message><RequestId>94D59C19C07F4820</RequestId><HostId>QuLF/WaJ5QWW8SdFKIc5e8f0WnNgVFedPz/FPeBcT0pdwfq+hhgYcor0Nggx5qTfON4rHtsGWWSkqybJSUGcFOO5c2dYmP4Y</HostId></Error>
.Sometimes we have this problem, but sometimes not. In my environment, the image is about 3~4MB, with Xcode 8 and iPhone 6 simulator. After some investigation, it seems it is the Content-Length problem. Previously I also opened a relative (maybe) issue #94 (not sure whether they are relative, just FYI).
The text was updated successfully, but these errors were encountered: