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

An error occurred while attempting to load Web Apps. #1

Closed
bbetstcw opened this issue Mar 23, 2016 · 5 comments
Closed

An error occurred while attempting to load Web Apps. #1

bbetstcw opened this issue Mar 23, 2016 · 5 comments

Comments

@bbetstcw
Copy link

If the subscription is added by signing in, everything is good. However, if the subscription is added by importing a .publishsettings file, web apps cannot be loaded.

I need to use .publishsettings file because, this tool does not allow me to log into AzureChinaCloud.

Setting the Azure Service Endpoints does not help at all. Please fix this. Either letting users to choose the cloud environment, or making the .publishsettings file good for web apps.

@martinsawicki
Copy link
Contributor

interesting find. Investigating. thanks.

@hbayyavarapu
Copy link

Is there any configuration in the azure portal to fix this issue. One day everything worked fine, the second day I see this "An error occurred while attempting to load web apps". I haven't seen a single error in google. This is the exception i see in intellij, didn't see a detailed error in eclipse

com.microsoft.windowsazure.exception.ServiceException: null
    at com.microsoft.windowsazure.exception.ServiceException.createFromJson(ServiceException.java:295)
    at com.microsoft.azure.management.resources.ResourceGroupOperationsImpl.list(ResourceGroupOperationsImpl.java:971)
    at com.microsoft.tooling.msservices.helpers.azure.sdk.AzureSDKHelper$30.execute(AzureSDKHelper.java:884)
    at com.microsoft.tooling.msservices.helpers.azure.sdk.AzureSDKHelper$30.execute(AzureSDKHelper.java:880)
    at com.microsoft.tooling.msservices.helpers.azure.AzureManagerImpl.requestAzureSDK(AzureManagerImpl.java:2514)
    at com.microsoft.tooling.msservices.helpers.azure.AzureManagerImpl.requestResourceManagementSDK(AzureManagerImpl.java:2463)
    at com.microsoft.tooling.msservices.helpers.azure.AzureManagerImpl.getResourceGroupNames(AzureManagerImpl.java:1443)
    at com.microsoft.tooling.msservices.serviceexplorer.azure.webapps.WebappsModule.refresh(Unknown Source)
    at com.microsoft.tooling.msservices.serviceexplorer.azure.AzureRefreshableNode$1.interruptibleAction(Unknown Source)
    at com.microsoft.tooling.msservices.serviceexplorer.EventHelper$2.run(EventHelper.java:100)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:366)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

@swistaq
Copy link

swistaq commented May 20, 2016

Can confirm. Logging in works, importing *.publishsettings does not with the above error.

@martinsawicki
Copy link
Contributor

.publishsettings would not work for WebApps, only cloud services. For WebApps you need to be logged in - that's just how Azure works.

@bbetstcw
Copy link
Author

bbetstcw commented Sep 9, 2016

I know .publishsettings would not work for web apps, so can you implement the login for AzureChinaCloud Environment?

wangmingliang-ms added a commit that referenced this issue Mar 18, 2021
[SDK Reference Book #1]use spring team's yaml data as datasource
Flanker32 added a commit that referenced this issue Mar 23, 2021
[Telemetry #1] Fix telemetry issue for `AzureRunProfileState`
wangmingliang-ms added a commit that referenced this issue Apr 8, 2021
…lasses

[Resource Connector #1] decouple some intellij common classes from azure-tools-core... and move them to azure-intellij-plugin-lib
Flanker32 added a commit that referenced this issue May 24, 2021
[#1] Bump azure version to fix Flux#retry MethodNotFoundException
wangmingliang-ms added a commit that referenced this issue Oct 13, 2021
[Redis Connector #1][#1880920] panel to select a redis instance.
wangmingliang-ms added a commit that referenced this issue Oct 13, 2021
[Redis Modularization #1] make azure-toolkit-ide-redis-lib
fengshuaihu added a commit that referenced this issue Feb 8, 2023
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

4 participants