react-native-aws3 icon indicating copy to clipboard operation
react-native-aws3 copied to clipboard

an ssl error

Open maxto024 opened this issue 7 years ago • 2 comments

this is my code after it executes i get ssl error

 UploadImage(f){
   console.log(f,options)
  RNS3.put(f, options).then(response => {
    if (response.status !== 201)
      throw new Error("Failed to upload image to S3");
    console.log(response.body);
  }).catch((error)=>{
    console.log(error);
 });
 }

text:"An SSL error has occurred and a secure connection to the server cannot be made."

maxto024 avatar Mar 14 '18 12:03 maxto024

I am also getting the same error text:"An SSL error has occurred and a secure connection to the server cannot be made." Any update on the same?

RohitRajpal avatar Oct 31 '19 14:10 RohitRajpal

RNS3.put(imageUploadObj, optionsAWS).then(response => { if (response.status == 201) { // instead of success , error is received. } }).catch((error) => {

       //error as mentioned above.
    });

RohitRajpal avatar Oct 31 '19 14:10 RohitRajpal