Implementing own test server for iOs & Android

Hi community,

We are trying to implement our custom test server and we are modifying the application. For iOs, the custom configuration works fine, but for Android don’t.

We set the JitsiMeetConferenceOptions with our data:

return new JitsiMeetConferenceOptions.Builder()
                    .setServerURL(buildURL("https://test-jitsi.demo.com"))
                    .setWelcomePageEnabled(false)
                    .setRoom(conferenceId)
                    .setAudioMuted(audioMuted)
                    .setVideoMuted(videoMuted)
                    .setUserInfo(jitsiMeetUserInfo)
                    .build();

We receive this error:

2020-02-12 17:42:08.599 7129-11653/org.jitsi.meet E/JitsiMeetSDK: [features/base/lib-jitsi-meet] Failed to load config from https://test-jitsi.claroconnect.com/config.js?room=168 Error(TypeError){"message":"Network request failed","stack":"onerror@http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=false:26859:31\ndispatchEvent@http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=false:32981:31\nsetReadyState@http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=false:32069:33\n__didCompleteResponse@http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=false:31896:29\nemit@http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=false:5653:42\n__callFunction@http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=false:5081:49\nhttp://localhost:8081/index.android.bundle?platform=android&dev=true&minify=false:4794:31\n__guard@http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=false:5035:15\ncallFunctionReturnFlushedQueue@http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=false:4793:21\ncallFunctionReturnFlushedQueue@[native code]"}

2020-02-12 17:42:08.675 7129-11653/org.jitsi.meet I/JitsiMeetSDK: [features/overlay] The conference will be reloaded after 23 seconds.

2020-02-12 17:42:08.676 7129-11653/org.jitsi.meet D/JitsiMeetSDK: ExternalAPI Sending event: CONFERENCE_TERMINATED with data: { NativeMap: {"url":"https://test-jitsi.claroconnect.com/168","error":"TypeError: Network request failed"} }

2020-02-12 17:42:08.677 7129-7129/org.jitsi.meet D/JitsiMeetActivity: Conference terminated: {error=TypeError: Network request failed, url=https://test-jitsi.claroconnect.com/168}

Also, we tested the domain with the Jitsi Meet application from Play Store and App Store: we changed the server url but only worked for iOs.

Note: I don’t add the real domain for privacy reasons.

I wait for your comments.

Is the SSL certificate in yoour web server self-signed? You can also use https://whatsmychaincert.com/ to check if the cert chain is correct.