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

[IntelliJ][ReportedByUser] Failed to open streaming log for Function App #6511

Closed
sarsharma opened this issue Mar 25, 2022 · 0 comments
Closed
Assignees

Comments

@sarsharma
Copy link
Member

Setup

IntelliJ build version: 2021.3.1 IC-213.6461.79
OS: Windows 10
JDK: JetBrains s.r.o. 11.0.13
Plugin version: 3.62.0-2021.3

Describe the bug

Getting this error when trying to open streaming logs for any function app from Azure Explorer
failed to open streaming log of app

To Reproduce

Choose start streaming logs for a function app from Azure Explorer

Exception or Stack Trace

2022-03-25 13:53:30,005 [831367800]   INFO - re.credential.SimpleTokenCache - Acquired a new access token at 256 seconds before expiry. Retry may be attempted after 30 seconds. The token currently cached will be used. 
2022-03-25 13:53:30,005 [831367800]   INFO - mplementation.AccessTokenCache - Acquired a new access token. 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - Mar 25, 2022 1:53:34 PM com.microsoft.azure.toolkit.intellij.common.messager.IntellijAzureMessager show 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - WARNING: caught an error by messager 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - rx.exceptions.OnErrorNotImplementedException: failed to open streaming log 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call(InternalObservableUtils.java:386) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call(InternalObservableUtils.java:383) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at rx.internal.util.ActionSubscriber.onError(ActionSubscriber.java:44) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at rx.observers.SafeSubscriber._onError(SafeSubscriber.java:153) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at rx.observers.SafeSubscriber.onError(SafeSubscriber.java:115) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at rx.internal.operators.OnSubscribeCreate$BaseEmitter.onError(OnSubscribeCreate.java:109) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at rx.internal.operators.OnSubscribeCreate$BufferEmitter.drain(OnSubscribeCreate.java:355) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at rx.internal.operators.OnSubscribeCreate$BufferEmitter.onError(OnSubscribeCreate.java:306) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager.lambda$runInObservable$0(AzureTaskManager.java:385) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.lib.common.task.AzureTaskContext.run(AzureTaskContext.java:87) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager.lambda$runInObservable$1(AzureTaskManager.java:381) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.intellij.common.task.IntellijAzureTaskManager$1.run(IntellijAzureTaskManager.java:60) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:436) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:120) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:496) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:244) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:188) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:624) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:698) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:646) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:623) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:175) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:244) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at java.base/java.security.AccessController.doPrivileged(Native Method) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at java.base/java.lang.Thread.run(Thread.java:829) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - Caused by: com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException: failed to open streaming log 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.intellij.legacy.appservice.AppServiceStreamingLogManager.lambda$showAppServiceStreamingLog$4(AppServiceStreamingLogManager.java:117) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.lib.common.task.AzureTask.lambda$new$0(AzureTask.java:117) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager.lambda$runInObservable$0(AzureTaskManager.java:383) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	... 23 more 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - Caused by: java.lang.AssertionError 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.lib.applicationinsights.AzureApplicationInsights.applicationInsights(AzureApplicationInsights.java:42) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.intellij.legacy.appservice.AppServiceStreamingLogManager$FunctionLogStreaming.openLiveMetricsStream(AppServiceStreamingLogManager.java:189) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.intellij.legacy.appservice.AppServiceStreamingLogManager$FunctionLogStreaming.getStreamingLogContent(AppServiceStreamingLogManager.java:175) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	at com.microsoft.azure.toolkit.intellij.legacy.appservice.AppServiceStreamingLogManager.lambda$showAppServiceStreamingLog$4(AppServiceStreamingLogManager.java:108) 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR - 	... 25 more 
2022-03-25 13:53:34,525 [831372320]   INFO -                         STDERR -  
2022-03-25 13:53:51,687 [831389482]   INFO - j.ide.actions.RevealFileAction - Exit code 1 
@Flanker32 Flanker32 self-assigned this Mar 28, 2022
Flanker32 added a commit that referenced this issue Apr 1, 2022
wangmingliang-ms added a commit that referenced this issue Apr 1, 2022
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