cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

No Egress for Serverless Workspace

Janis404
New Contributor

Hello,

I have a problem

import socket
print(socket.gethostbyname("google.com"))
[Trace ID: 00-9e5667936e24418dae4c39a9ed003a22-a43a5f2ca9b14451-00]
---------------------------------------------------------------------------
gaierror                                  Traceback (most recent call last)
File <command-6578131666108476>, line 2
      1 import socket
----> 2 print(socket.gethostbyname("google.com"))

gaierror: [Errno -2] Name or service not known

My current Workspace Settings:

- serverless workspace
- ncc for private connectivity. is set (postgres on AWS)
- network policy with egress to all destinations is added to the workspace

SELECT *
FROM system.access.outbound_network
ORDER BY event_time DESC LIMIT 5;
account_id,workspace_id,destination_type,destination,dns_event,storage_event,event_time,access_type,event_id,network_source_type
cd8ca332-b1fd-4a23-8858-bd7726a44c6d,7474659368742910,DNS,ocr.salfyops.com,"{""domain_name"":""ocr.salfyops.com"",""rcode"":5,""rdata"":[]}",null,2026-06-29T05:53:00.000Z,DROP,94f242d5-19c7-487e-a8bb-4340fc2c15b5,General Compute
cd8ca332-b1fd-4a23-8858-bd7726a44c6d,7474659368742910,DNS,ocr.dev.salfyops.com,"{""domain_name"":""ocr.dev.salfyops.com"",""rcode"":5,""rdata"":[]}",null,2026-06-29T05:53:00.000Z,DROP,01f60056-3d43-49b0-9b5d-0398bb1caaab,General Compute
cd8ca332-b1fd-4a23-8858-bd7726a44c6d,7474659368742910,DNS,ocr.dev.salfyops.com,"{""domain_name"":""ocr.dev.salfyops.com"",""rcode"":5,""rdata"":[]}",null,2026-06-29T05:53:00.000Z,DROP,f24d25aa-9e4f-488f-8973-110b13ed5359,General Compute
cd8ca332-b1fd-4a23-8858-bd7726a44c6d,7474659368742910,DNS,ocr.salfyops.com,"{""domain_name"":""ocr.salfyops.com"",""rcode"":5,""rdata"":[]}",null,2026-06-29T05:53:00.000Z,DROP,f3a3b9f1-6113-4ebf-bf92-c20bad404470,General Compute
cd8ca332-b1fd-4a23-8858-bd7726a44c6d,7474659368742910,DNS,google.com,"{""domain_name"":""google.com"",""rcode"":5,""rdata"":[]}",null,2026-06-29T05:52:50.000Z,DROP,0d765e3d-70c2-4f80-98ad-05e90c7fc668,General Compute

AI mentioned to me "Just wait for ~15 minutes to avoid re-using a warm compute" - The problem is not solved for many hours now.

Could you give me additional guidance? Please note: I am relying on a serverless workspace. I can't use Classic Compute here.

Thanks!

0 REPLIES 0