Ionic /api/sessions error code 0
See original GitHub issueHello,
I am trying to integrate OpenVidu in Ionic app. I am following official tutorial.
Few days ago I was able to make it work with demo link https://demos.openvidu.io:4443
.
But somehow its not working with demo link as well as local docker deployment. https://docs.openvidu.io/en/2.13.0/tutorials/openvidu-ionic/
I am getting the errors below.


Strange thing is POST request works fine with Intellij Restful Service `POST https://192.168.1.112:4443/api/sessions Content-Type: application/json Authorization: Basic T1BFTlZJRFVBUFA6TVlfU0VDUkVU
{ “mediaMode”: “ROUTED”, “recordingMode”: “MANUAL”, “defaultOutputMode”: “COMPOSED”, “defaultRecordingLayout”: “BEST_FIT” } `
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
How to solve Error Code: 0, Message HTTP failure on android
Problem Solved: Basically you need to change the url on your project where you do service. Change it from localhost:3000 to 10.0.2.2:3000 ....
Read more >Any API call returns status code 0 - Ionic Forum
I'm new to Ionic and will be working on a legacy Android project. As far as I know, I installed everything I need...
Read more >Releases - Docs - OpenVidu
status.avgLoad had an invalid JSON value when numNodes was 0. COMPOSED recordings: characters of non-european fonts could not be properly displayed in ...
Read more >openvidu-ionic
A client-side only application built with Ionic v4 and Angular 8 frameworks. It can be compiled into a native Android app, a native...
Read more >Get Sessions | Infinite Flight
Sample Response. {. "errorCode": 0, ... Response Type: application/json. Name, Type, Description. errorCode, integer, Enum: "Ok = 0" , "UserNotFound = 1" ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The error message is the best we can do. We are not generating that error message: that is what the browser natively returns.
It was problems with permissions, I was not adding permission for bluetooth. But the error message is misleading.