Notebook IP address blocked by workspace IP ACL

Repetti Pierangelo 20 Reputation points
2024-09-25T10:47:30.6533333+00:00

Hello,

I have a databricks workspace for which I have defined an IP address ACL so that it can be reached by selected addresses (our corporate network).

I am executing some python code on a notebook in the workspace. The code is trying to connect to a serving endpoint in the same workspace, but it gets a 403 error

'{"error_code":"403","message":"Source IP address: x.x.x.x is blocked by Databricks IP ACL for workspace: NNNNNNNNNNNN"}'

Why is this happening ? Does this traffic go through the general internet ? Why is it not confined inside the workspace ?

Thanks.

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,181 questions
{count} votes

1 answer

Sort by: Most helpful
  1. phemanth 10,740 Reputation points Microsoft Vendor
    2024-10-01T06:38:41.8633333+00:00

    @Repetti Pierangelo

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    **Ask:**I have a databricks workspace for which I have defined an IP address ACL so that it can be reached by selected addresses (our corporate network).

    I am executing some python code on a notebook in the workspace. The code is trying to connect to a serving endpoint in the same workspace, but it gets a 403 error

    '{"error_code":"403","message":"Source IP address: x.x.x.x is blocked by Databricks IP ACL for workspace: NNNNNNNNNNNN"}'

    Why is this happening ? Does this traffic go through the general internet ? Why is it not confined inside the workspace ?

    Solution: The users changed their python code and it worked.

    All the same, thanks for your comment.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.