Categories
API python

HTTPX: An open stream object is being garbage collected; call “stream.close()” explicitly.

When using HTTPX I get the following error printed sometimes: An open stream object is being garbage collected; call "stream.close()" explicitly. According to these two github issues: An open stream object is being garbage collected; call "stream.close()" explicitly An open stream object is being garbage collected; call "stream.close()" explicitly This is a Python 3.8.0 issue. […]

Categories
book reviews Enterpreneur Wisdoms Programming

97 Things every Developer should Know – Summarised Notes

I came across this book due to it being popular on a top 10 list somewhere. Usually I take these "xxx you should know" or "Top 100 essential things" with a pinch of salt. Everyone is different and everyone has an opinion. Nonetheless I wanted to read this book and see what it is about. […]

Categories
API Kong

Kong: Name resolution failed

Sometimes when calling a service on kong you might get a response like this HTTP/1.1 503 Service Temporarily Unavailable Connection: keep-alive Content-Length: 36 Content-Type: application/json; charset=utf-8 Date: Thu, 02 Apr 2020 09:28:06 GMT Server: kong/2.0.1 X-Kong-Response-Latency: 12 { “message”: “name resolution failed” } What does it mean? Kong cannot access the upstream. Make sure the […]