question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Publishing 1.3.0 to Web App hangs after logging in

See original GitHub issue

Describe the bug

I’m trying to publish as an Azure web app. I created just a basic echo bot template. I then started the process to add a new publish profile and select the web app option. It asked me to login to Azure which I did successfully. It then hung on the “Configure resources” page. It says “Loading” with the spinning wheel but nothing ever actually loads.

Version

1.3.0

Browser

Not really meaningful for this point since I’m just trying to publish.

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

Create a new publish profile Give it a name and select the publish to Azure Web App option Login It hangs on the next screen trying to load resources

I belong to a lot of different directories so is it possible it’s related to that?

Expected behavior

I expect it to show the create resources UI as documented in the publish documentation: https://docs.microsoft.com/en-us/composer/how-to-publish-bot

Screenshots

It’s stuck on the below screen:

image

Additional context

I have previously been using 1.2.1 and was able to use the provision script there to publish bots. I was also able to publish bots to the provisioned resources from Composer for older versions. I tried opening one of those bots with 1.3.0 and publishing and I receive an error message saying, “Error - Required field accessToken is missing from publishing profile.”. The accessToken field is definitely in there, though, in the same place it was in 1.2.1. I ran an “az account get-access-token” and pasted the new token in to make sure it had a valid one.

That may be a separate issue with 1.2.1 publish profiles not working with 1.3.0, though. Which isn’t as big of a deal right now since I could ideally create a new profile if needed. The interesting thing, though, is that 1.2.1 bots can be published but it runs into an issue with 1.3.0. So, my Azure account is setup with everything it needs to publish bots and it just seems to be an issue with the UI retrieving Azure information for some reason.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
tonyanzianocommented, Feb 10, 2021

Note to fixer:

  1. Check accountType property on received account object after sign-in
  2. If accountType is non-federated, use acquireTokenInteractively instead of acquireTokenSilently a. I think we might already do this, but we need to look for it in the catch block instead of checking the result for result.error
1reaction
bdezeeuwcommented, Jan 12, 2021

Yes, I’m able to work on v1.2.1 currently. I’m looking forward to using some of the new features once they figure out the issue.

Thanks for the help, @luhan2017!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hangs while publishing to azure web app
While the mvc core 2.0 application is published to the azure web app service, visual studio 2017 hangs and crashes on the second...
Read more >
[production] App freezes on some device especially Samsung ...
The problem seems to be happening mostly in Samsung devices. What could be could be the problem? I am using the stable channel....
Read more >
Visual Studio 2017 crash when publishing web application
After updating my Visual studio to version 15.8.1 it has started to crash every time I try to publish a web application.
Read more >
WebApp crash - Microsoft Q&A
I have a django web app. I used to use Azure Web App without any problems, but for some reason recently it stopped...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug:1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance ... Bug:182098 - "app-admin/webapp-config should handle invalid usage gracefully" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found