# Wazo SDK (SoftPhone React Native Connection)

**URL:** <https://wazo-platform.discourse.group/t/wazo-sdk-softphone-react-native-connection/1482>\
**Category:** Development: API/Events\
**Created:** [April 16, 2024, 4:59pm UTC](https://wazo-platform.discourse.group/t/wazo-sdk-softphone-react-native-connection/1482 "2024-04-16T16:59:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sri\_555](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@Sri\_555](https://wazo-platform.discourse.group/u/Sri_555)\
**Post date:** [April 16, 2024, 4:59pm UTC](https://wazo-platform.discourse.group/t/wazo-sdk-softphone-react-native-connection/1482/1 "2024-04-16T16:59:59Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/72a2ed9fe3cca9565993a6b9f8640cc4ae618f3f.jpeg)

I tried to connect to the wazo server using the above code but the response is  
 ![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/c551810c58ea4d89ce83649c6b7178099e0fb57e.png)

how to resolve this?

---

<div class="post-metadata">

**Author:** ![quintana](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/quintana/32/916_2.png) [@quintana](https://wazo-platform.discourse.group/u/quintana)\
**Post date:** [April 16, 2024, 7:11pm UTC](https://wazo-platform.discourse.group/t/wazo-sdk-softphone-react-native-connection/1482/2 "2024-04-16T19:11:46Z")

</div>

Hello, i think this is probably an issue with you SSL certificate. To use cross domain you need have a valid certificate or localhost.

---

<div class="post-metadata">

**Author:** ![Sri\_555](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@Sri\_555](https://wazo-platform.discourse.group/u/Sri_555)\
**Post date:** [April 17, 2024, 9:37am UTC](https://wazo-platform.discourse.group/t/wazo-sdk-softphone-react-native-connection/1482/3 "2024-04-17T09:37:16Z")

</div>

Hi Sylvain:  
How to create a valid certificate that is running in my localhost I do not want to deploy it in any cloud services.

---

<div class="post-metadata">

**Author:** ![julienfr](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/julienfr/32/797_2.png) [@julienfr](https://wazo-platform.discourse.group/u/julienfr)\
**Post date:** [April 17, 2024, 9:40am UTC](https://wazo-platform.discourse.group/t/wazo-sdk-softphone-react-native-connection/1482/4 "2024-04-17T09:40:44Z")

</div>

hi,  
just open a new tab,  
go to 192.168.87.135 in your case  
chrome will ask you go to back, but you can click to continue to this website.

then, your app will work !

---

<div class="post-metadata">

**Author:** ![Sri\_555](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@Sri\_555](https://wazo-platform.discourse.group/u/Sri_555)\
**Post date:** [April 18, 2024, 9:11am UTC](https://wazo-platform.discourse.group/t/wazo-sdk-softphone-react-native-connection/1482/5 "2024-04-18T09:11:10Z")

</div>

Hi [julienfr](https://wazo-platform.discourse.group/u/julienfr):  
This method is not working so I tried to follow this [https://wazo-platform.org/uc-doc/system/https\_certificate](https://wazo-platform.org/uc-doc/system/https_certificate). Since my project is running in localhost it says as

 ![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/e04fd8eedcd3a8a902f60efb08e92320038fdbb1.png)

So I was not able to create the PEM files . How to overcome this issue.

---

<div class="post-metadata">

**Author:** ![julienfr](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/julienfr/32/797_2.png) [@julienfr](https://wazo-platform.discourse.group/u/julienfr)\
**Post date:** [April 20, 2024, 9:33am UTC](https://wazo-platform.discourse.group/t/wazo-sdk-softphone-react-native-connection/1482/6 "2024-04-20T09:33:42Z")

</div>

detailled response here:

> [@SSl (Certificate Validation)](https://wazo-platform.discourse.group/t/ssl-certificate-validation/1486/2):
>
> Hi, I use VirtualBox to have a Wazo platform server, for test and dev. I have a web app, using quite the same code for auth. I start my Wazo server, i start my dev app. When i try to log to my web app (with chrome), i got: then, i open a new tab in chrome, go to the wazo ip server address: Then click on “avanced parameters”, then, i click “continue to the website” i go back to my dev app, and tada, auth is working !

Maybe you should not create multiple topics for the same issue.

cheers

---

<div class="post-metadata">

**Author:** ![julienfr](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/julienfr/32/797_2.png) [@julienfr](https://wazo-platform.discourse.group/u/julienfr)\
**Post date:** [April 20, 2024, 9:38am UTC](https://wazo-platform.discourse.group/t/wazo-sdk-softphone-react-native-connection/1482/7 "2024-04-20T09:38:30Z")

</div>

in your virtualBox or whatever, share the network correctly

 ![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/edb9d8395cbc0cb638fc00f6193e819a0ad5d86e.png)

on your server, be sure to have the correct ip:

![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/5fad5f633444b137097e336f82e82d69505b00c2.png)

here an example of the /etc/network/interfaces file on wazo server

 ![image](https://global.discourse-cdn.com/free1/uploads/wazo_platform/original/1X/ba141582b8016c243e9d3871e8799234621bd4bb.png)

cheers

---

<div class="post-metadata">

**Author:** ![quintana](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/quintana/32/916_2.png) [@quintana](https://wazo-platform.discourse.group/u/quintana)\
**Post date:** [April 27, 2024, 11:00am UTC](https://wazo-platform.discourse.group/t/wazo-sdk-softphone-react-native-connection/1482/8 "2024-04-27T11:00:25Z")

</div>

Hello, i don’t now if you have already used ngrok, but this is a very nice service, i’m using it everyday and it help a lot when you want to develop something and if you need to expose your dev to internet with https and certificate already configured correctly.
