why https request is not working in my react-native app?

Viewed 456

In my react native app , http requests are working fine, but when it comes to https request, it is giving error , network request failed . Problem is bit strange here as if I pick and run any example api from the internet, it is working alright even with https. I can't tell ,if problem is with my api or with my system.

i have tried few solutions ,but they didnt work

1 Answers

I checked my domain for the correct SSL certificate on many resources, but they apparently don't check FQDM. Today I tried it on https://www.digicert.com/help/ and was notified for

not a fully qualified public domain name or public IP address.

My issue was SSL related. Just wasn't set up correctly with nginx. Had to combine SSL certificates etc.

Related