# Joining meeting timeout. - websdk-sample-angular

**URL:** <https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048>\
**Category:** Web\
**Created:** [April 20, 2020, 1:32pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048 "2020-04-20T13:32:57Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipe\_alvess](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/felipe_alvess/32/6555_2.png) [@felipe\_alvess](https://devforum.zoom.us/u/felipe_alvess)\
**Post date:** [April 20, 2020, 1:32pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/1 "2020-04-20T13:32:57Z")

</div>

I am receiving the following message

**Joining meeting timeout.**  
Your connection has timed out and you cannot join the meeting. Verify your network connectivity and try again.

I clone the websdk-sample-angular  
the code is apparently correct  
but I’m getting this error

{  
method: “join”  
status: false  
result: null  
errorMessage: undefined  
errorCode: 1  
}

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 21, 2020, 10:07am UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/2 "2020-04-21T10:07:38Z")

</div>

Hey @felipe_alvess,

Can you please private message me the signature you are generating so I can debug?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![felipe\_alvess](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/felipe_alvess/32/6555_2.png) [@felipe\_alvess](https://devforum.zoom.us/u/felipe_alvess)\
**Post date:** [April 21, 2020, 5:20pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/3 "2020-04-21T17:20:58Z")

</div>

Hi Tommy !

thanks for answering

I’m putting my code so you can run it if you want

import { Component, OnInit, Inject } from ‘@angular/core’;

import { HttpClient } from ‘@angular/common/http’;

import { DOCUMENT } from ‘@angular/common’;

import { ZoomMtg } from ‘@zoomus/websdk’;

ZoomMtg.preLoadWasm();

ZoomMtg.prepareJssdk();

@Component({

selector: ‘app-root’,

templateUrl: ‘./app.component.html’,

styleUrls: [’./app.component.css’]

})

export class AppComponent implements OnInit {

signatureEndpoint = MY\_ENDPOINT;

apiKey = MY\_API\_KEY

meetingNumber =;

role = 0;

leaveUrl = ‘localhost:4200’;

userName = ‘WebSDK’;

userEmail = ‘’;

passWord = ‘’;

constructor(

```
public httpClient: HttpClient,

@Inject(DOCUMENT) document: any

```

) { }

ngOnInit() {

}

getSignature() {

```
this.httpClient.get(`${this.signatureEndpoint}?apiKey=${this.apiKey}&meetingNumber=${this.meetingNumber}&role=${this.role}`,

  { responseType: 'text' }).toPromise().then((data: any) => {

    this.startMeeting(data);

  });

```

}

startMeeting(signature: any) {

```
document.getElementById('zmmtg-root').style.display = 'block';

ZoomMtg.init({

  debug: true,

  leaveUrl: this.leaveUrl,

  isSupportAV: true,

  success: (success: any) => {

    ZoomMtg.join({

      signature,

      meetingNumber: this.meetingNumber,

      userName: this.userName,

      apiKey: this.apiKey,

      userEmail: this.userEmail,

      passWord: this.passWord,

      success: (suc: any) => {

        console.log('join suc', suc);

      },

      error: (error: any) => {

        console.log('join error', error);

      }

    });

  },

  error: (error: any) => {

    console.log('errorrrr', error);

  }

});

```

}

}

Thank you so much!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 23, 2020, 1:04am UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/4 "2020-04-23T01:04:17Z")

</div>

Hey @felipe_alvess,

What are you passing in for the meeting ID? Thanks for sharing your code, but it would be great to know the signature value because that is where the issue will be.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![felipe\_alvess](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/felipe_alvess/32/6555_2.png) [@felipe\_alvess](https://devforum.zoom.us/u/felipe_alvess)\
**Post date:** [April 23, 2020, 1:25am UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/5 "2020-04-23T01:25:29Z")

</div>

signatureEndpoint = ‘’;

apiKey = ‘’;

meetingNumber = ;

getSignature() {

```
this.httpClient.get(`${this.signatureEndpoint}?apiKey=${this.apiKey}&meetingNumber=${this.meetingNumber}&role=${this.role}`,

  { responseType: 'text' }).toPromise().then((data: any) => {

    this.startMeeting(data);

  });

```

}

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 23, 2020, 9:35pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/6 "2020-04-23T21:35:44Z")

</div>

Hey @felipe_alvess,

Make sure you are accessing the signature key to get the value, for example in your code you have:

```auto
startMeeting(signature: any) {

document.getElementById('zmmtg-root').style.display = 'block';

ZoomMtg.init({

  debug: true,

  leaveUrl: this.leaveUrl,

  isSupportAV: true,

  success: (success: any) => {

    ZoomMtg.join({

      signature,

```

Try:

```auto
startMeeting(signature: any) {

document.getElementById('zmmtg-root').style.display = 'block';

ZoomMtg.init({

  debug: true,

  leaveUrl: this.leaveUrl,

  isSupportAV: true,

  success: (success: any) => {

    ZoomMtg.join({

      signature.signature,

```

Let me know if that works!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![felipe\_alvess](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/felipe_alvess/32/6555_2.png) [@felipe\_alvess](https://devforum.zoom.us/u/felipe_alvess)\
**Post date:** [April 23, 2020, 10:05pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/7 "2020-04-23T22:05:58Z")

</div>

> [@tommy](#):
>
> signature.signature

signature.signature is an invalid code  
can i use  
**signature: signature**

iam using shorthand in object literal  
**signature**

---

<div class="post-metadata">

**Author:** ![felipe\_alvess](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/felipe_alvess/32/6555_2.png) [@felipe\_alvess](https://devforum.zoom.us/u/felipe_alvess)\
**Post date:** [April 23, 2020, 10:06pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/8 "2020-04-23T22:06:28Z")

</div>

none of these options worked

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 27, 2020, 6:46pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/9 "2020-04-27T18:46:28Z")

</div>

Hey @felipe_alvess,

> [@felipe\_alvess](#):
>
> iam using shorthand in object literal

Gotcha!

What version of the Web SDK are you using? Please try using the latest 1.7.6.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![felipe\_alvess](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/felipe_alvess/32/6555_2.png) [@felipe\_alvess](https://devforum.zoom.us/u/felipe_alvess)\
**Post date:** [April 27, 2020, 8:20pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/10 "2020-04-27T20:20:29Z")

</div>

Hello @tommy

i’m using

“@zoomus/websdk”: “^1.7.6”,

---

<div class="post-metadata">

**Author:** ![felipe\_alvess](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/felipe_alvess/32/6555_2.png) [@felipe\_alvess](https://devforum.zoom.us/u/felipe_alvess)\
**Post date:** [April 27, 2020, 11:47pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/11 "2020-04-27T23:47:27Z")

</div>

Hello @tommy

after trying hard to find the problem on the front end I decided to make a backend node to test,  
the problem was in the java backend that someone else did and I had no way to verify

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 30, 2020, 9:01pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/12 "2020-04-30T21:01:39Z")

</div>

Hey @felipe_alvess,

Were you able to get it working?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![felipe\_alvess](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/felipe_alvess/32/6555_2.png) [@felipe\_alvess](https://devforum.zoom.us/u/felipe_alvess)\
**Post date:** [May 1, 2020, 4:15pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/13 "2020-05-01T16:15:08Z")

</div>

Hey @tommy

yes, it’s working

an unstable version with angular 8

now we need to work on angular 9

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 6, 2020, 5:20pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/14 "2020-05-06T17:20:51Z")

</div>

Hey @felipe_alvess,

Glad to hear it is working! 🙂 I will test and upgrade the [Angular sample app](https://github.com/zoom/websdk-sample-angular) to Angular 9.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![felipe\_alvess](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/felipe_alvess/32/6555_2.png) [@felipe\_alvess](https://devforum.zoom.us/u/felipe_alvess)\
**Post date:** [May 9, 2020, 3:43pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/15 "2020-05-09T15:43:51Z")

</div>

Thanks @tommy

will help a lot

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 13, 2020, 8:48pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/16 "2020-05-13T20:48:48Z")

</div>

Hey @felipe_alvess,

I tested with Angular 9 and it worked. 🙂

I will update the repo soon to Angular 9.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![felipe\_alvess](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/felipe_alvess/32/6555_2.png) [@felipe\_alvess](https://devforum.zoom.us/u/felipe_alvess)\
**Post date:** [May 23, 2020, 7:46pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/17 "2020-05-23T19:46:53Z")

</div>

Thanks @tommy

it’s working

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 29, 2020, 10:20pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/18 "2020-05-29T22:20:43Z")

</div>

Happy to hear you got it working! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:37pm UTC](https://devforum.zoom.us/t/joining-meeting-timeout-websdk-sample-angular/14048/19 "2020-08-21T21:37:53Z")

</div>


