Description
I am using the CDN code locally on a desktop for Web Meeting SDK 2.7.0 (and tried 2.6.0 with no difference in result) to attempt to access a meeting opened from my phone. Open the attempt to join, the “Joining Meeting” spinner spins continuously, the the Network shows 3 promises at a time failing continuously, and the console shows a NET::err_empty_response for the GETs.
The only change to the code is pasting of the SDK key and secret key. I’ve tried to access meetings with passcode required and with waiting room option alone.
The signature is the one generated in the index.js code.
Since there is no exact example of setting up a meeting and the sample code to ensure success, it is unclear whether something is not setup correctly with the meeting or in the code.
Browser Console Error
GET https://rwcnv.nv.zoom.us/wc/ping/4390449920?ts=1662821021552&auth=1Hpt … &dmz=1 net::ERR_EMPTY_RESPONSE
xhr requests in the Network viewer show failed. Initiator is zoom-meeting (3 of these at a time)
Which Web Meeting SDK version?
2.7.0 (same problem when tried 2.6.0)
Meeting SDK Code Snippets
function beginJoin(signature) {
ZoomMtg.init({
debug: true,
isSupportAV: true,
leaveUrl: meetingConfig.leaveUrl,
webEndpoint: meetingConfig.webEndpoint,
disableCORP: !window.crossOriginIsolated, // default true
//disablePreview: false, // default false
externalLinkPage: ‘file://d:/xampp/zoom-sdk-web-2.7.0/CDN/externalLinkPage.html’,
success: function () {
console.log(meetingConfig);
console.log(“signature”, signature);
ZoomMtg.i18n.load(meetingConfig.lang);
ZoomMtg.i18n.reload(meetingConfig.lang);
ZoomMtg.join({
meetingNumber: meetingConfig.meetingNumber,
userName: meetingConfig.userName,
signature: signature,
sdkKey: meetingConfig.sdkKey,
userEmail: meetingConfig.userEmail,
passWord: meetingConfig.passWord,
success: function (res) {
console.log(“join meeting success”);
console.log(“get attendeelist”);
ZoomMtg.getAttendeeslist({});
ZoomMtg.getCurrentUser({
success: function (res) {
console.log(“success getCurrentUser”, res.result.currentUser);
},
});
},
error: function (res) {
console.log(“error1”,res);
},
});
},
error: function (res) {
console.log(“error2”,res);
},
});
To Reproduce(If applicable)
It seems everyone should be having this problem who use the sample code. So, I’m likely missing a detail. But, setting up a meeting with passcode (and tried with only waiting room), join as hose on my cell phone through normal zoom app. Then attempt to access with the index.html of the sample code. The entire SDK folder is copied as is with only changes to the keys as needed.
role: 0
passWord is the passCode
signature generated by the index.js call:
var signature = ZoomMtg.generateSDKSignature({
meetingNumber: meetingConfig.mn,
sdkKey: SDK_KEY,
sdkSecret: SDK_SECRET,
role: meetingConfig.role,
success: function (res) {
console.log(res.result);
meetingConfig.signature = res.result;
meetingConfig.sdkKey = SDK_KEY;
var joinUrl = “file://d:/xampp/zoom-sdk-web-2.7.0/CDN/meeting.html?” + testTool.serialize(meetingConfig);
console.log(meetingConfig);
console.log(joinUrl);
window.open(joinUrl, “_blank”);
},
});
Screenshots
They wouldn’t post here.
Troubleshooting Routes
Using the sample for 2.7.0 and 2.6.0. Even put on a website rather on local machine and would not work there.
Device (please complete the following information):
- Dell G7 17
- OS: Windows 10
- Browser: Chrome
- Browser Version: 105.0.5195.102 (Official Build) (64-bit)
- Using a VPN, but also tried with it turned off.
type or paste code here