mattermost-plugin-zoom icon indicating copy to clipboard operation
mattermost-plugin-zoom copied to clipboard

After link the account with zoom after some time randomly when i use /zoom start command then again its asking me to link the account.

Open dipak-demansol opened this issue 2 years ago • 9 comments

i don't have fix steps to regenerate the issue but maybe the console logs will help you

https://user-images.githubusercontent.com/89907719/141178114-794363f6-3e2d-44c5-b4dc-eb87d4184d95.mp4

Screenshot from 2021-11-10 18-04-36 Screenshot from 2021-11-10 18-24-09

dipak-demansol avatar Nov 10 '21 19:11 dipak-demansol

@dipak-demansol - can you try this scenario at different time intervals - see if there is a pattern?

catalintomai avatar Nov 15 '21 19:11 catalintomai

@dipak-demansol - can you try this scenario at different time intervals - see if there is a pattern?

Sure.

dipak-demansol avatar Nov 16 '21 06:11 dipak-demansol

@dipak-demansol - can you try this scenario at different time intervals - see if there is a pattern?

after 1 hour its again asking to link the account but still its not the issue that i was talking about, under 30 minutes the issues was generated but i tried to regenerate it again but its not regenerated, its generated after 1 Hour.

dipak-demansol avatar Nov 26 '21 13:11 dipak-demansol

@catalintomai i found the steps, that's how i was facing the issue. steps :- 1) use /zoom start command 2) after 1 hour in the same channel use same command as /zoom start and it should work and meeting should created successfully. 3) go in the other channel and type /zoom start command and now it will Not Work and give you the link to connect your account.

but the command worked properly in the last channel where i created the meeting but in the other channel it not worked that's why i told that issue generated under 1 hour, and one more thing is that why its worked on the last channel and not worked on the new/other channel? because if its not working then it should not work for all channel, it cant work channel specific.

dipak-demansol avatar Nov 29 '21 13:11 dipak-demansol

re-added triage label, now re-pro steps added.

dipak-demansol avatar Nov 29 '21 13:11 dipak-demansol

@dipak-demansol - Thanks for investigating it. Looks like a valid issue - can the dev team start looking into a fix?

catalintomai avatar Nov 29 '21 20:11 catalintomai

@catalintomai i found the steps, that's how i was facing the issue. steps :- 1) use /zoom start command 2) after 1 hour in the same channel use same command as /zoom start and it should work and meeting should created successfully. 3) go in the other channel and type /zoom start command and now it will Not Work and give you the link to connect your account.

but the command worked properly in the last channel where i created the meeting but in the other channel it not worked that's why i told that issue generated under 1 hour, and one more thing is that why its worked on the last channel and not worked on the new/other channel? because if its not working then it should not work for all channel, it cant work channel specific.

more info about the re-pro steps, after the 2nd step if the user again use the same command in the same channel then also the command will not work and user will get the same URL to link the zoom account.

dipak-demansol avatar Dec 07 '21 07:12 dipak-demansol

@mickmister @hanzei

was debugging the issue and found it to be a OAuth issue , the token expires in certain interval of time found this log which we get while reproducing the issue with above scenario

{"timestamp":"2022-01-24 16:55:46.104 Z","level":"warn","msg":"failed to execute command","caller":"app/plugin_api.go:931","plugin_id":"zoom","error":"error fetching zoom user: Get \"https://api.zoom.us/v2/users/me\": oauth2: cannot fetch token: 400 Bad Request\nResponse: {\"reason\":\"Invalid Token!\",\"error\":\"invalid_grant\"}"}

I see there is already a issue to fix this gap #235 , i prefer to wait till that PR raised for this issue to be merged and see if the issue still persist , let me know on this .

sibasankarnayak avatar Jan 24 '22 17:01 sibasankarnayak

@sibasankarnayak Can we close this then as a duplicate of https://github.com/mattermost/mattermost-plugin-zoom/issues/235?

hanzei avatar Jan 24 '22 18:01 hanzei

@sibasankarnayak Can we close this then as a duplicate of https://github.com/mattermost/mattermost-plugin-zoom/issues/235?

@mickmister Can this issue be closed?

raghavaggarwal2308 avatar Dec 26 '23 09:12 raghavaggarwal2308