[TypeError: Network request failed] - react-native

I am working on social media where u can upload images video text it work perfectly fine when I upload text image and video but when I try to upload image or video individually it give this error network request failed!! why??
[enter image descriptenter image description hereion here]2
error log

Try updating flipper version in android/gradle.properties
FLIPPER_VERSION=0.75.1
Make sure to sync the project and rebuild.
Edit: If you're using react-native-debugger, you would have to disable network inspect, otherwise the media files will not be able to upload.

Related

Image stored on s3 Bucket not loading on physical device - React Native

I'm working on an application in React Native that requires to display images from the network. These images are stored on an S3 bucket that I own.
When I try to display the images on my simulator everything goes perfectly. However when I test my code on TestFlight (same behavior on android) no image is displayed.
Here are the tracks I have already explored :
The images I store have no extension. Is this a problem?
My guess would be that the problem is due to an error in the HTTPS certificate? I've also tested it on Amazon Cloud Front and got the same result.
Do you have any idea what could cause this error and an idea for the solution.
Thank you for your time,

Access to content on sony camcorder

I'm playing with the API on a camcorder Sony CX-625. I can start/stop a record, change zoom over a Wifi connection.
This is nice, but ...
Now, I need to download the content store on the SD card over Wifi with the API. I have make a lot of research, but it seem the function is not available.
Maybe another model of Sony Handycam can give this functionnality. Anybody can help me in this research ?
My goal is to have a camcorder (or an IP Camera with quality of a camcorder), remotely administrable by an API (start/stop record, manage zoom, get/delete the content)
You should be able to download the image using HTTP get. For instance if you run the "actTakePicture" command you will be returned the url for the image. Having this url will allow you to download the image. How you download the image depends on what language you are using. For instance here is an example of how to download an image over HTTP get using nodejs:
Downloading images with node.js
To find out how to download the image using your particular language try a google search on "download an image using http get {language of choice}"

iTunesconnect App Preview Error

I'm trying to upload an app preview video to my itunesconnect account, but i'm receiving the following error...
"This video has audio that is not two-channel, no-surround stereo"
As far as I can tell, there is not specific documentation discussing how to deal with this is issue, so any extra insight on this would be very helpful.
In my case I had created the video in iMovie and (intentionally) did not include any audio. To resolve the issue, I imported a silent audio track, added it to the timeline, decreased its volume to 0% just to be sure, then I shared the App Preview again. Uploading this file worked just fine. Seems the videos have to have audio included.
I have use this tool making the video https://handbrake.fr/ and uploaded the video in iTune . Work perfectly.

iMovie error when trying to upload to YouTube

iMovie will not allow me to upload a video to YouTube because it says I exceeded my quote. Can someone help?
I know that iMovie have some bugs uploading directly to youtube... I suggest exporting a regular Quicktime files (choose mpeg4 codec) and then upload this exported file inside youtube website

net::ERR_CONNECTION_RESET when uploading to vimeo

Hey when i use the api to upload a video like 334m from my site to vimeo it returned to me this error with no details any suggestion please and is it different from pro to regular user in upload size below 500m (failed) net::ERR_CONNECTION_RESET by the way it works with small videos i uploaded 127m video and it uploaded well so the problem i think with huge videos ?
Connection reset errors are to be expected. Any time you encounter any error while transferring files to the Vimeo upload servers you should verify the progress of your upload: https://developer.vimeo.com/api/upload/videos#verify-the-upload and then resume uploading from where you left off.