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.
My question here is what would be the problem with the below code?
Why there is no response?
Where we can check logging info or something to troubleshoot the issue?
Is this issue with some kind of security or certificate validation or Unity catalog or something else?
Any help/input here is really appreciated.
%python
import requests
#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)
Note that nc -vz <SERVER_NAME> <PORT_NUMBER> for both services are working
Thanks for your response