Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error "There was a problem reaching this app" #44

Open
ahmedmahmoudR opened this issue Sep 29, 2021 · 1 comment
Open

Getting Error "There was a problem reaching this app" #44

ahmedmahmoudR opened this issue Sep 29, 2021 · 1 comment

Comments

@ahmedmahmoudR
Copy link

This is an image
Even though I see that error, the bot is working and responding.
The interesting thing is not everyone sees that error. Test with 10 people and only myself and one other person saw that message.

Also, if I click on Apps and select to open the App from the list of apps, the error goes away for that time.
But if I try clicking the App again from the navigation bar, the error comes back.
If I go to Teams in a Web Browser the error does not show.

I have tried uninstalling the app from my client and re-adding, same issue.
Deleted all cache files from Teams, same issue.
Restarted the services in Azure - same issue.

Any idea how to resolve this?

@Kareem-Sameh
Copy link

In the App Studio Manifest Editor section, there is an option to add a Loading Indicator. This will indicate if the App is really loading or there is a problem with TEAMS itself.

To use the Show Loading Indicator feature properly, you must install the Microsoft Teams JavaScript SDK, then call both functions below. At that point, the app is ready, and the loading indicator will disappear.

microsoftTeams.appInitialization.notifyAppLoaded(); microsoftTeams.appInitialization.notifySuccess();

Once you’ve executed these two lines of JavaScript, the Teams platform will remove the application loader overlay, displaying your custom application content.

There was a hint in the Teams interface hinting at this. To the right of the checkbox, it does say, “You will have to hide the loading indicator using our SDK”. I’m new to the platform, though, and there are many layers involved in custom Microsoft Teams application development. It wasn’t clear to me the error message was related to the use/misuse of the Loading Indicator functionality.

ms-teams-loading-spinner-checkbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants