[Jupyterhub] ๊ณ„์ • ์ƒ์„ฑ ์˜ค๋ฅ˜
ยท
๐Ÿ› ๏ธ Tools
http://127.0.0.1:53081/user/admin/api didn't respond in 30 seconds[E 2024-08-14 08:09:37.628 JupyterHub gen:629] Exception in Future .finish_user_spawn() done, defined at /usr/local/lib/python3.10/dist-packages/jupyterhub/handlers/base.py:1115> exception=TimeoutError("Server at http://127.0.0.1:53081/user/admin/api didn't respond in 30 seconds")> after timeout Traceback (most recent call last..
[rsyslog] imklog: cannot open kernel log, ERROR (Syntax error, this crontab file will be ignored), Operation not permitted.
ยท
๐Ÿง‘‍๐Ÿ’ป Develop
syslog ๋ณด๋‹ค ๋” ๋งŽ์€ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋Š” rsyslog ๋กœ๊ทธ ๊ด€๋ฆฌ ํ”„๋กœ๊ทธ๋žจ์„ docker๋กœ ๋นŒ๋“œํ•ด root ํ™˜๊ฒฝ์—์„œ ์‚ฌ์šฉํ•  ๋•Œ ๊ฒช๋Š” ์—๋Ÿฌ๋ฅผ ์•Œ์•„๋ณด์ž. 1) rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted. imklog : Kernel Log Input Module kernel๊ณผ ๊ด€๋ จ๋œ ๋กœ๊ทธ๋ฅผ ๊ธฐ๋กํ•˜๋Š” module์ด๋‹ค. ๋ถˆํ•„์š”ํ•˜๋‹ค๋ฉด /etc/rsyslog.conf ํŒŒ์ผ์„ ์ˆ˜์ •ํ•œ๋‹ค. sed -i '/imklog/s/^/#/' /etc/rsyslog.conf docker์˜ ๊ถŒํ•œ์„ ๋ถ€์—ฌํ•ด ์‹คํ–‰ docker --privileged https://github.com/docker/for-win/issues/8649 /pr..
FastAPI - starlette.routing.NoMatchFound: No route exists for name
ยท
๐Ÿ Python
JinjaTemplates์—์„œ ์‚ฌ์šฉํ•˜๋Š” {{url_for()}}์˜ parameter๊ฐ€ fastAPI ๋ชจ๋“ˆ Jinja2Templates ๋ชจ๋“ˆ parameter์™€ ๋‹ฌ๋ผ์„œ ๋ฐœ์ƒ filename -> path line 707, in url_path_for raise NoMatchFound(name, path_params) starlette.routing.NoMatchFound: No route exists for name "/static" and params "path". # AS-IS # TO-BE
[ERR_NGROK_108] ngrok error
ยท
๐Ÿ’ป Mac
Messageโ€‹ Your account is limited to MAX simultaneous ngrok agent sessionPLURAL. You can run multiple tunnels on a single agent session using a configuration file. To learn more, see https://ngrok.com/docs/secure-tunnels/ngrok-agent/reference/config/ Agent Configuration File | ngrok documentation --- ngrok.com ** ํ•œ ๋ฒˆ์— ํ•œ ๊ฐœ์˜ ngrok ์„œ๋ฒ„๋งŒ ํ—ˆ์šฉ - ๋‹ค๋ฅธ ํ™˜๊ฒฝ์—์„œ ๊ตฌ์„ฑํ•œ ngrok์— ๋™์ผํ•œ key๋กœ ์‚ฌ์šฉํ•  ๊ฒฝ์šฐ ๋ฐœ์ƒ - ์‚ฌ์šฉ์ค‘์ธ agent๋ฅผ ์ข…๋ฃŒ ์‹œ์ผœ์ฃผ๋ฉด..
๋‹คํ–ˆ๋‹ค
'error' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก