<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic There is no response when invoking the REST service in Databricks notebook in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19337#M675</link>
    <description>&lt;P&gt;I am trying to invoke a REST service from Databrcisks notebook using python programming. It is working fine before enabling Unity Catalog but after enabling it (In another environment) it is not working and never giving any response and not showing any logs to check the issue.I ran the below code multiple times and the maximum time I ran was 20 hours it is still running and no response as of now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question here is what would be the problem with the below code?&lt;/P&gt;&lt;P&gt;Why there is no response?&lt;/P&gt;&lt;P&gt;Where we can check logging info or something to troubleshoot the issue? &lt;/P&gt;&lt;P&gt;Is this issue with some kind of security or certificate validation or Unity catalog or something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Any help/input here is really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%python
import requests
&amp;nbsp;
#File download URL1
api_url_1 = "Direct URL1" 
#File download URL2
api_url_2 = "Server URL"
print("before call")
response = requests.get(api_url_1,verify=False,stream=False)
print("after call")
print(response.status_code)
print(response.content)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Note that nc -vz &amp;lt;SERVER_NAME&amp;gt; &amp;lt;PORT_NUMBER&amp;gt; for both services are working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 14:24:58 GMT</pubDate>
    <dc:creator>rammy</dc:creator>
    <dc:date>2022-12-01T14:24:58Z</dc:date>
    <item>
      <title>There is no response when invoking the REST service in Databricks notebook</title>
      <link>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19337#M675</link>
      <description>&lt;P&gt;I am trying to invoke a REST service from Databrcisks notebook using python programming. It is working fine before enabling Unity Catalog but after enabling it (In another environment) it is not working and never giving any response and not showing any logs to check the issue.I ran the below code multiple times and the maximum time I ran was 20 hours it is still running and no response as of now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question here is what would be the problem with the below code?&lt;/P&gt;&lt;P&gt;Why there is no response?&lt;/P&gt;&lt;P&gt;Where we can check logging info or something to troubleshoot the issue? &lt;/P&gt;&lt;P&gt;Is this issue with some kind of security or certificate validation or Unity catalog or something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Any help/input here is really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%python
import requests
&amp;nbsp;
#File download URL1
api_url_1 = "Direct URL1" 
#File download URL2
api_url_2 = "Server URL"
print("before call")
response = requests.get(api_url_1,verify=False,stream=False)
print("after call")
print(response.status_code)
print(response.content)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Note that nc -vz &amp;lt;SERVER_NAME&amp;gt; &amp;lt;PORT_NUMBER&amp;gt; for both services are working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 14:24:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19337#M675</guid>
      <dc:creator>rammy</dc:creator>
      <dc:date>2022-12-01T14:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: There is no response when invoking the REST service in Databricks notebook</title>
      <link>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19338#M676</link>
      <description>&lt;P&gt;I think u need to configure the unity catalog to connect databricks to other servers&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;Just try to check if it's connecting to other rest api or not&lt;/P&gt;&lt;P&gt;I my case it working file &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1063iED43CB1AE4F76FA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 03:54:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19338#M676</guid>
      <dc:creator>Ajay-Pandey</dc:creator>
      <dc:date>2022-12-02T03:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: There is no response when invoking the REST service in Databricks notebook</title>
      <link>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19339#M677</link>
      <description>&lt;P&gt;It is connecting to other available load balancer servers but is not able to connect to hosted in-house servers or local servers(localhost or service running on a particular machine with in a network). Not sure if it requires any configuration at databricks side to connect if yes, please let me know&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 07:08:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19339#M677</guid>
      <dc:creator>rammy</dc:creator>
      <dc:date>2022-12-02T07:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: There is no response when invoking the REST service in Databricks notebook</title>
      <link>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19340#M678</link>
      <description>&lt;P&gt;Please raise a support request to databricks.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 10:31:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19340#M678</guid>
      <dc:creator>Ajay-Pandey</dc:creator>
      <dc:date>2022-12-02T10:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: There is no response when invoking the REST service in Databricks notebook</title>
      <link>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19341#M679</link>
      <description>&lt;P&gt;I suspect the problem could be caused by the cluster mode. What type of cluster or what access mode do you use for your cluster?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 16:52:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/there-is-no-response-when-invoking-the-rest-service-in/m-p/19341#M679</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2023-01-30T16:52:01Z</dc:date>
    </item>
  </channel>
</rss>

