Skip to main content

Posts

Showing posts from June, 2026

antigravity agy failed to login, it's always DNS

On one cool mid summer not so good day, agy suddenly failed to login with error: Got an error: token exchange failed: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com: no such host So it clearly is a network issue, but what? It is NOT DNS $ dig oauth2.googleapis.com +short 142.251.8.95 dig works, so it is NOT DNS, right? But ping / curl fail: $ ping -c1 oauth2.googleapis.com -t 2 zsh: alarm ping -c1 oauth2.googleapis.com -t 2 $ curl -v https://oauth2.googleapis.com --max-time 5 * Resolving timed out after 5005 milliseconds * Closing connection curl: (28) Resolving timed out after 5005 milliseconds And both error messages from agy and curl says "lookup"/"resolve", it must be DNS. It must be DNS A search for dial tcp: lookup no such host return a Go issue https://github.com/golang/go/issues/41425 . AI would also very good at detect language used base on error message. agy is a Go program, so it mean...

Popular posts from this blog

Tài liệu và hướng dẫn học Python

Để tiết kiệm thời gian, tốt nhất là đi học PyMI Updated: 130617 Sau đây là các tài liệu khuyên dùng: Vì nhiều lý do, nên học python2.7 tại thời điểm hiện tại (giờ là tháng 6/2013 - muốn biết tại sao thì tự tìm hiểu) python 3.5+ (giờ là tháng 2/2017) Chuẩn bị: 1. biết bật tắt máy 2. biết cài python 3. tập gõ 10 ngón - gõ 2 ngón hay 1 ngón cũng không sao, nhưng 10 ngón là cách dễ nhất để gõ nhanh nhất. Tài liệu - Nên dùng tài liệu tại trang chủ của Python làm chính, tham khảo thêm các tài liệu khác tại http://www.familug.org/2016/12/free-ebook.html Căn bản, mới học 1.1 Python PyMI.vn https://pymi.vn/tutorial/ 1.2. Python offical tutorial kết hợp làm bài tập trên HackerRank  (đề bài bằng tiếng Anh, nhưng Google translate 1 lúc cũng ra vì có nhiều ví dụ mẫu đi kèm). Học viên của Pymi.vn có rất nhiều học viên đã tự học với Learn Python the hard way nhưng chưa thấy ai thành công cả. Hai link dưới nên đọc sau khi đã nắm được những phần cơ bản của ngôn ngữ pytho...

The PyMiers

New FAMILUG