cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

job failing with below error massage

PP09
New Contributor

Caused by: HTTP Error -1; url='https://login.microsoftonline.com/271df5c2-953a-497b-93ad-7adf7a4b3cd7/oauth2/token' AzureADAuthenticator.getTokenCall threw java.net.UnknownHostException : login.microsoftonline.comshaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.oauth2.AzureADAuthenticator$HttpException: HTTP Error -1; url='https://login.microsoftonline.com/271df5c2-953a-497b-93ad-7adf7a4b3cd7/oauth2/token' AzureADAuthenticator.getTokenCall threw java.net.UnknownHostException : login.microsoftonline.com

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @PP09, The error message indicates that there is an issue with connecting to the `login.microsoftonline.com` server, resulting in an `UnknownHostException`. This error typically occurs when the hostname (`login.microsoftonline.com`) cannot be resolved to an IP address.

Here are a few steps you can take to troubleshoot and potentially resolve this issue:

1. Check Network Connection: Ensure that your network connection is active and stable. Try accessing other websites to confirm that your internet connection is working properly.

2. DNS Configuration: Ensure that your DNS settings are correctly configured. You can try using a different DNS server, such as Google's Public DNS (`8.8.8.8` and `8.8.4.4`), to see if it resolves the hostname correctly.

3. Firewall or Proxy Settings: Check if there are any firewall or proxy settings that might be blocking the connection to `login.microsoftonline.com`. If so, adjust your settings to allow the connection.

4. Hosts File: Check if there are any entries in your computer's hosts file (`C:\Windows\System32\drivers\etc\hosts` on Windows, `/etc/hosts` on Linux/Mac) that might be interfering with the DNS resolution of `login.microsoftonline.com`. If so, remove or comment on these entries.

5. Temporary Connectivity Issue: Sometimes, the issue may be temporary due to network congestion or server downtime. Retry the operation after some time to see if the issue resolves on its own.