๐ ๏ธ4 [Safari] http ์์ฒญ์ https๋ก ๊ฐ์ ์ ํํด๋ฒ๋ฆฌ๋ ๋ฌธ์ | fastapi, uvicorn ๊ธฐ์กด์ ์งํ๋์ด์ ๋ฐฐํฌ๋ ํ๋ก์ ํธ์์ safari๋ก ์ ์์ ๋ฒ๊ทธ๊ฐ ์๋ค๋ ์ ๋ณด์ local์์ ์คํ์ํค๊ณ localhost๋ก ์ ์์ ์๋ํ๋ค. WARNING: Invalid HTTP request received. Traceback (most recent call last): File "/Users/{myname}/Desktop/project/{projectname}/venv/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 131, in data_received self.parser.feed_data(data) File "httptools/parser/parser.pyx", line 212, in httptools.p.. 2024. 3. 27. [Airflow] The scheduler does not appear to be running. Last heartbeat was received 7 hours ago.The DAGs list may not update, and new tasks will not be scheduled. ์ ์ด์๋๋ Airflow๊ฐ ๊ฐ์๊ธฐ ๋ฉ์ถ๊ฒ ๊ฐ๋ค๋ ์๊ธฐ๋ฅผ ๋ฃ๊ณ ๋ดค๋๋ ์ฅ ~ ?? ๋ด DAG ๋ค ๋ค ์ค๋๊ฐ ? The scheduler does not appear to be running. Last heartbeat was received 7 hours ago. The DAGs list may not update, and new tasks will not be scheduled. >> ํด์ ์ค์ผ์ค๋ฌ๊ฐ ์คํ ์ค์ด ์๋ ๊ฒ ๊ฐ์. ๋ง์ง๋ง์ 7์๊ฐ ์ ์ ์์ ๋์์. DAG ๋ชฉ๋ก์ด ์ ๋ฐ์ดํธ๋์ง ์์ ์ ์์ผ๋ฉฐ ์ ์์ ์ด ์์ฝ๋์ง ์์. Airflow ๊ธฐ๋ฅ ์ค์ health ํ์ธํ ์ ์๋ ๋ฐฉ๋ฒ์ด ์์ด์ ํ๋ฒ ์ฌ์ฉํด๋ณด์๋น /health health ํ์ง unhealthy ํ์ง ํ์ธํ ์ ์๋ค. ์ง์ง ์ด์ ๋ me.. 2024. 3. 8. [docker] docker.errors.APIError: 500 Server Error for http+docker://~/start: Internal Server Error ("write /home/~/tmpfile: no space left on device) ์ ์ด์๋๋ docker๊ฐ down ๋๋ฉด์ ์๋น์ค๊ฐ ์ค์ง๋์๋ค. docker๊ฐ ๋จ์ด๋จ๋ฆฐ ์๋ฌ ๋ฉ์ธ์ง๋ ๋ค์๊ณผ ๊ฐ๋ค docker.errors.APIError: 500 Server Error for http+docker://localhost/v1.42/containers/11f76378c2673eed151a57ac10227a419decbbee234c52c9afe74c7643754ad8/start: Internal Server Error ("write /home/ubuntu/.local/share/docker/containers/11f76378c2673eed151a57ac10227a419decbbee234c52c9afe74c7643754ad8/.tmp-hostconfig.json1581200925: no sp.. 2024. 3. 4. [linux] E: Package 'python3-pip' has no installation candidate AWS์์ ec2 instance๋ฅผ ์์ฑํ๊ณ pip์ ์ค์นํ๋ ค๊ณ ํ๋๊น ๋ค์๊ณผ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค. $ sudo apt install python3-pip E: Package 'python3-pip' has no installation candidate pip์ด ํ๋ณด๊ตฐ์ ์๋ค๋ ๊ฒ์ด๋ค. ์ด๋ ๊ฒ ๋๋ฉด apt update๋ฅผ ์งํํ๋ค. sudo apt update sudo apt install python3-pip ์ด์ pip์ด ์ ์ค์น๋๋ค. ์ค์น๊ฐ ๋ค ๋ ๋ ์ฏค์ ์ฒ์๋ณด๋ ๊ฒ ๋์๋ค. ๊ฐ๋ฐ์ธ์ ์ค์ ์ฒ์ ๋ณด๋ ๊ด๊ฒฝ default๋ก ์ง์ ํ๊ณ ๋์ด๊ฐ 2024. 2. 28. ์ด์ 1 ๋ค์