C4 W2 A2 [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)

I just tried running the Transfer Learning with MobilNet assignment from a kernel restart and it worked for me. Maybe this was temporary “bad weather in the cloud”. It would be worth just trying again:

Kernel -> Restart and Clear Output
Save
Cell -> Run All

Then again, it may be that they are running this on more than one AWS cluster and I just got lucky with which one I got connected to.

Thanks for your reply. I have tried “restart and clear output” in kernel but running the code still generates the same error at this point. I will try it again probably in a few hours to see what would happen.

Originally I was able to duplicate the error using my notebook.

Upon a retest, now my notebook is running correctly again.

Thanks for your reply! I just ran the code and the issue has not been resolved yet! I have no idea what’s happening!

I didn’t see this error last time I tried, but I just tried again (15:07 July 30, 2024 UTC) and it fails for me in the same way:

Exception: URL fetch failure on https://storage.googleapis.com/tensorflow/keras-applications/mobilenet_v2/mobilenet_v2_weights_tf_dim_ordering_tf_kernels_1.0_160.h5: None -- [Errno 99] Cannot assign requested address

So there must be some problem on the servers. No-one listening here has the power to do anything about this other than report it to the course staff or Coursera. My guess is that it’s not a course specific problem other than the fact that they happen to reference that URL. Tom has reported this already, I think.

The issue continues to occur. It appears to be intermittent, heavily skewed toward the error occurring.

Course staff is investigating.

Thank you so much!

Actually I think I may be wrong in my analysis above. I clicked on that URL and here’s the next level of detail on the error:

Maybe the external website they are accessing here has changed and the way they are accessing it no longer matches the requirements of the site.

And maybe my previous experiment that worked was faulty: I think I did not do “Kernel → Restart” first, but just “Cell → Run All” and maybe the contents were already loaded before the change in the website.

Just a theory, but I will take a look again at the code in the notebook.

Thank you so much for investigation!

I’m closing this thread, in order to consolidate all of the reports.

Please follow this thread for updates on this topic.