[Free Edition] Outbound internet suddenly blocked - Error: HTTPSConnectionPool(host='www.google.com'

jin2631816
New Contributor II

Hi guys,

I'm using the new Databricks Free Edition, and I'm seeing what looks like a sudden change in outbound internet access policy.

Yesterday morning, I was able to access external APIs and test simple internet calls using Python and %sh commands in my notebook.

For example:

import requests

try:
response = requests.get("https://www.google.com", timeout=5)
print("Status:", response.status_code)
except Exception as e:
print("Error:", e)

But, Since yesterday evening, the same code started failing, and now consistently returns the following error:

Error: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xfffee3074290>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

1. Has there been a change in the networking policy for Free Edition?

2. Does the Free Edition impose a hard limit on outbound request retries? Or is the Max retries exceeded error simply a result of network restrictions (like DNS failure or firewall rules)?

Cheers,

jin2631816
New Contributor II

Anyone has idea?

Advika
Community Manager
Community Manager

Hello @jin2631816!

Are you still experiencing the issue? I tested it on my end, and the request went through successfully. 
Please note that the Databricks Free Edition enforces restrictions on outbound internet access, allowing only a limited set of trusted domains. This is part of the documented limitations of the Free Edition.

test_user_12
New Contributor II

Hello

I am experiencing the same issue. Could you elaborate should these type of requests work and are allowed or not?

szymon_dybczak
Esteemed Contributor III

Hi @jin2631816 , @test_user_12 

In Free Edition outbound internet access is restricted to a limited set of trusted domains. And this make sense. I can imagine many people would start to use Free Edition compute in prohibited way, like crypto mining, spam campaigns etc.

WiliamRosa
Databricks Partner

Hi @test_user_12@jin2631816,
If it helps, here’s the official documentation with the limitations of the Free Edition:
https://docs.databricks.com/aws/en/getting-started/free-edition-limitations

Wiliam Rosa
Data Engineer | Machine Learning Engineer
LinkedIn: linkedin.com/in/wiliamrosa