OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
457 stars 188 forks source link

bug report: Core.DecryptionError #12500

Open arundhathiMenon opened 2 weeks ago

arundhathiMenon commented 2 weeks ago

Cipher text is broken

stack: DecryptionError: Cipher text is broken at LocalCrypto.decrypt (/extension.js:2:1036421) at EnvUtil.readEnv (/extension.js:2:934640)

tecton commented 1 week ago

Hi @arundhathiMenon, what's the operation when you met this error? We solved a bug when importing an existing outlook add-ins project (json manifest) and it will soon be release.

arundhathiMenon commented 1 week ago

I am trying to create a teams bot and wanted to run it locally so while running it clicking on debug from chrome option in vscode i am getting this error and and ms teams is not opening.

tecton commented 1 week ago

@arundhathiMenon You could try to remove the file env/.env.local.user and run it again, the password will be regenerated.

arundhathiMenon commented 1 week ago

Yes, Now ms teams is opening but after authentication its showing - "name.short | String "bot-conversation-quickstartlocal" exceeds maximum length of 30" error

image
tecton commented 1 week ago

The app name has a length limit, please change the "name.short" value in appPackage/manifest.json file. It's probably like "bot-conversation-quickstart${{APP_NAME_SUFFIX}}"

arundhathiMenon commented 1 week ago

Ok, I have manifest.json file where my bot is deployed on azure. Now i am running it locally. Facing error: (×) Error: teamsApp/validateAppPackage failed. (×) Error: Teams Toolkit has completed checking your app package against validation rules. 1 failed, 1 warning, 53 passed. Error] - Failed to Execute lifecycle provision due to failed action: teamsApp/validateAppPackage. ManifestValidationFailed:Teams Toolkit has completed checking your app package against validation rules. 1 failed, 1 warning, 53 passed..

tecton commented 1 week ago

@arundhathiMenon Do you have the specific failed error message? From the above message there's a schema error in manifest.json file.

arundhathiMenon commented 6 days ago

I am creating an microsoft teams bot where i want to do SSO, I've done all configuration setup as per documentation still i am getting Could not find Connection Setting with name 'BotOauthConnection' when i am testing my bot on teams. I've tried my best. can i get some help from the technical support team to resolve this?

blackchoey commented 2 days ago

The latest question about SSO is duplicate with https://github.com/OfficeDev/teams-toolkit/issues/12530. @arundhathiMenon let's continue the discuss there and please check my suggestions.