microsoft / microsoft/azure-tools-for-java
[IntelliJ][ReportedByUser] Uncaught Exception [Correlation ID: 0b181b61-c37d-4bd2-9e60-68c5c7a8930c] Execution of class com.microsoft.aad.msal4j.AcquireTokenSilentSupplier failed. com.microsoft.aad.msal4j.MsalClientException: java.io.UncheckedIOException: java.net.UnknownHostException: login.microsoftonline.com
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 262
- Forks
- 185
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
IntelliJ build version: 2021.3.3 IU-213.7172.25
OS: Mac OS X
JDK: JetBrains s.r.o. 11.0.14.1
Plugin version: 3.83.0-2021.3
Additional Info: None
Parent component:
com.intellij.openapi.wm.impl.IdeRootPane[,0,0,1651x1372,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=com.intellij.util.ui.UIUtil$1@152b1e58,flags=449,maximumSize=,minimumSize=,preferredSize=]
Error message:
IdeaLoggingEvent[message=[Correlation ID: 0b181b61-c37d-4bd2-9e60-68c5c7a8930c] Execution of class com.microsoft.aad.msal4j.AcquireTokenSilentSupplier failed., throwable=com.microsoft.aad.msal4j.MsalClientException: java.io.UncheckedIOException: java.net.UnknownHostException: login.microsoftonline.com
at com.microsoft.aad.msal4j.HttpHelper.executeHttpRequest(HttpHelper.java:56)
at com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.executeRequest(AadInstanceDiscoveryProvider.java:286)
at com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.sendInstanceDiscoveryRequest(AadInstanceDiscoveryProvider.java:237)
at com.microsoft.aad.msal4j.AadInstanceDiscoveryProvider.doInstanceDiscoveryAndCache(AadInstanceDiscoveryProvider.java:347
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported stack in com.microsoft.aad.msal4j.HttpHelper, AadInstanceDiscoveryProvider, and AcquireTokenSilentSupplier, and investigate how the IntelliJ plugin handles UnknownHostException for login.microsoftonline.com. The issue does not specify expected behavior or a test, so first establish the intended handling of this network failure; done should include a defined behavior and a regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, java
- Domain
- authentication, desktop-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100