I’ll tell me story about this error because It’s very confusing and annoying.

What was I doing?
I have a FastAPI server that does file uploads using multipart-formdata. This error came when I tried to create integrations tests to test file uploads using requests. Testing file uploads using the swagger docs was already working perfectly at this point.

Failing code:

Are you trying to run a web app inside a docker image and getting this error?

File “/usr/local/lib/python3.7/site-packages/tornado/netutil.py”, line 174, in bind_socketsss
>> sock.bind(sockaddr)
OSError: [Errno 99] Cannot assign requested address

Solution:

  1. Close all processes that may be running on your port number. Assuming you are running on port 8000: lsof -t -i tcp:8000 | xargs kill -9

2. You are probably using an app adress as “localhost” or “127.0.0.1”
Change it to “0.0.0.0”

In Cloud ML Engine: Qwik Start

At the step of Run a local training job, One of the attendees of our GDG Kampala study jam experienced the following error on running this command:

The solution:

Download this zip and cd into it to access the missing modules.

You can find more of the instructions to download these files here:
https://cloud.google.com/ml-engine/docs/tensorflow/getting-started-training-prediction#download_the_code_for_this_tutorial

Qwiklabs, has anyone else reported this?

This is one of the most interesting projects I like doing as a data scientist:
Hepling Organizations keep track of milestones and targets using data-driven monitoring tools/dashboards.

And I have done it at BotsMart before, very interesting!

He towers over a taxi as he swerves his way through a couple more to get across the highway. Wrapped in a Stripped double colour rob, His hair is short and he hasn’t missed the nomads’ signature footwear either; The Rugabire, sandals made out of old car tyres. Its mid-afternoon…

J Edison Abahurire

I write myself out. Code Chef | Athlete | I Dance and Love travelling. I’m diving into Data Science.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store