๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
  • ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป ๐ŸŒฎ ๐Ÿ’ฌ

๐Ÿ› ๏ธ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.