Skip to content Skip to sidebar Skip to footer

Python Urllib.request Throws 403 In Azure Notebooks

Trying to acquire the TensorFlow Object Detection API models in a Azure Notebooks but everything I try gives 403 Forbidden. No problems retrieving the files locally or on AWS. impo

Solution 1:

Azure Notebooks intentionally restricts access to external URLs. This is most likely to prevent people from using the Notebooks service to perform denial of service attacks to other sites.

https://blogs.technet.microsoft.com/machinelearning/2016/03/30/jupyter-notebooks-with-r-in-azure-ml-studio-2/

Access to external internet sites is restricted. However, we have white listed a number of important URLs:

  • All CRAN mirrors are on the white list, so you should be able to install packages using your favorite CRAN mirror.
  • Github is also white listed, meaning you can use devtools::install_github() to install packages that are not on CRAN, or get the development version of a package.

Post a Comment for "Python Urllib.request Throws 403 In Azure Notebooks"