# Week 1 flask Timeout error

**URL:** <https://community.deeplearning.ai/t/week-1-flask-timeout-error/702354>\
**Category:** Team Software Engineering with AI\
**Tags:** week-module-1, coursera-platform\
**Created:** [October 2, 2024, 10:52pm UTC](https://community.deeplearning.ai/t/week-1-flask-timeout-error/702354 "2024-10-02T22:52:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis\_Sinitsky](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/dennis_sinitsky/32/77331_2.png) [@Dennis\_Sinitsky](https://community.deeplearning.ai/u/Dennis_Sinitsky)\
**Post date:** [October 2, 2024, 10:52pm UTC](https://community.deeplearning.ai/t/week-1-flask-timeout-error/702354/1 "2024-10-02T22:52:36Z")

</div>

Sorry, for testing and debugging strategies lecture of week 1, I use my local Jupyter and get timeout error when do requests.get. I am not an experienced python web surfer and obviously I am missing something. Thanks for help!

 ![image](https://global.discourse-cdn.com/dlai/original/3X/9/7/97cd36e7e4d76d7e89389b3597f297c83ebd4e8d.png)

---

<div class="post-metadata">

**Author:** ![Alireza\_Saei](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/alireza_saei/32/85175_2.png) [@Alireza\_Saei](https://community.deeplearning.ai/u/Alireza_Saei)\
**Post date:** [October 3, 2024, 7:59am UTC](https://community.deeplearning.ai/t/week-1-flask-timeout-error/702354/2 "2024-10-03T07:59:54Z")

</div>

Hi @Dennis_Sinitsky

If you’re using Jupyter locally, make sure your Flask app is running and accessible. Try testing with `localhost` instead of the IP address (e.g., `http://127.0.0.1:5000`). Also, double-check if the correct port is open and accessible.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![Dennis\_Sinitsky](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/dennis_sinitsky/32/77331_2.png) [@Dennis\_Sinitsky](https://community.deeplearning.ai/u/Dennis_Sinitsky)\
**Post date:** [October 4, 2024, 12:31pm UTC](https://community.deeplearning.ai/t/week-1-flask-timeout-error/702354/3 "2024-10-04T12:31:03Z")

</div>

yes, I am not very familiar with Flask and ran colab code instead of local.  
Now (with help of ChatGPT 🙂 ) the problem is fixed!

---

<div class="post-metadata">

**Author:** ![Alireza\_Saei](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/alireza_saei/32/85175_2.png) [@Alireza\_Saei](https://community.deeplearning.ai/u/Alireza_Saei)\
**Post date:** [October 4, 2024, 12:43pm UTC](https://community.deeplearning.ai/t/week-1-flask-timeout-error/702354/4 "2024-10-04T12:43:43Z")

</div>

Nice, good to hear that!
