Vision2023
Vision2023
Explore posts from servers
DTDrizzle Team
Created by Vision2023 on 5/29/2024 in #help
Type error when using subquery in where
The query works but the type error is annoying
2 replies
TTCTheo's Typesafe Cult
Created by Vision2023 on 4/12/2024 in #questions
How to fix jupyterhub issue
Logs:
[D 2024-04-12 00:51:50.110 JupyterHub scopes:884] Checking access to /hub/api/users/zfjryuibwedbvgjvmxrvjcfjybevht/server/progress via scope read:servers
[D 2024-04-12 00:51:50.110 JupyterHub scopes:697] Argument-based access to /hub/api/users/zfjryuibwedbvgjvmxrvjcfjybevht/server/progress via read:servers
[D 2024-04-12 00:51:50.112 JupyterHub spawner:2303] progress generator: jupyter-zfjryuibwedbvgjvmxrvjcfjybevht
[D 2024-04-12 00:51:50.226 log:192] 200 GET /hub/health (@10.36.0.1) 0.47ms
[D 2024-04-12 00:51:51.469 proxy:924] Proxy: Fetching GET http://proxy-api:8001/api/routes
irrelevant health routes
[D 2024-04-12 00:55:41.805 JupyterHub reflector:374] pods watcher timeout
[D 2024-04-12 00:55:41.805 JupyterHub reflector:289] Connecting pods watcher
[D 2024-04-12 00:55:42.226 JupyterHub log:192] 200 GET /hub/health (@10.36.0.1) 0.47ms
[D 2024-04-12 00:55:44.226 JupyterHub log:192] 200 GET /hub/health (@10.36.0.1) 0.45ms
[W 2024-04-12 00:55:45.616 JupyterHub user:879] zfjryuibwedbvgjvmxrvjcfjybevht's server failed to start in 300 seconds, giving up.

Common causes of this timeout, and debugging tips:

1. Everything is working, but it took too long.
To fix: increase `Spawner.start_timeout` configuration
to a number of seconds that is enough for spawners to finish starting.
2. The server didn't finish starting,
or it crashed due to a configuration issue.
Check the single-user server's logs for hints at what needs fixing.

Stopping user
Deleting pod jupyterhub/jupyter-user
Deleting oauth client jupyterhub-user
Finished stopping user
Exception in Future <Task finished name='Task-182' coro=<BaseHandler.spawn_single_user.<locals>.finish_user_spawn() done, defined at ...> exception=TimeoutError('pod "podname" did not start in 300 seconds!')> after timeout
Traceback (most recent call last): ...
TimeoutError: pod jupyterhub/jupyter-zfjryuibwedbvgjvmxrvjcfjybevht did not start in 300 seconds!
[D 2024-04-12 00:51:50.110 JupyterHub scopes:884] Checking access to /hub/api/users/zfjryuibwedbvgjvmxrvjcfjybevht/server/progress via scope read:servers
[D 2024-04-12 00:51:50.110 JupyterHub scopes:697] Argument-based access to /hub/api/users/zfjryuibwedbvgjvmxrvjcfjybevht/server/progress via read:servers
[D 2024-04-12 00:51:50.112 JupyterHub spawner:2303] progress generator: jupyter-zfjryuibwedbvgjvmxrvjcfjybevht
[D 2024-04-12 00:51:50.226 log:192] 200 GET /hub/health (@10.36.0.1) 0.47ms
[D 2024-04-12 00:51:51.469 proxy:924] Proxy: Fetching GET http://proxy-api:8001/api/routes
irrelevant health routes
[D 2024-04-12 00:55:41.805 JupyterHub reflector:374] pods watcher timeout
[D 2024-04-12 00:55:41.805 JupyterHub reflector:289] Connecting pods watcher
[D 2024-04-12 00:55:42.226 JupyterHub log:192] 200 GET /hub/health (@10.36.0.1) 0.47ms
[D 2024-04-12 00:55:44.226 JupyterHub log:192] 200 GET /hub/health (@10.36.0.1) 0.45ms
[W 2024-04-12 00:55:45.616 JupyterHub user:879] zfjryuibwedbvgjvmxrvjcfjybevht's server failed to start in 300 seconds, giving up.

Common causes of this timeout, and debugging tips:

1. Everything is working, but it took too long.
To fix: increase `Spawner.start_timeout` configuration
to a number of seconds that is enough for spawners to finish starting.
2. The server didn't finish starting,
or it crashed due to a configuration issue.
Check the single-user server's logs for hints at what needs fixing.

Stopping user
Deleting pod jupyterhub/jupyter-user
Deleting oauth client jupyterhub-user
Finished stopping user
Exception in Future <Task finished name='Task-182' coro=<BaseHandler.spawn_single_user.<locals>.finish_user_spawn() done, defined at ...> exception=TimeoutError('pod "podname" did not start in 300 seconds!')> after timeout
Traceback (most recent call last): ...
TimeoutError: pod jupyterhub/jupyter-zfjryuibwedbvgjvmxrvjcfjybevht did not start in 300 seconds!
2 replies
DTDrizzle Team
Created by Vision2023 on 1/2/2024 in #help
Drizzle-kit push:pg not working
Thats how I fixed it
17 replies
DTDrizzle Team
Created by Vision2023 on 1/2/2024 in #help
Drizzle-kit push:pg not working
@solo Yhh ur right. I just remembered rn
17 replies
DTDrizzle Team
Created by Vision2023 on 1/2/2024 in #help
Drizzle-kit push:pg not working
I eventually resolved it but I can't remember how sorry. However maybe try sth like ensuring the neon url is valid etc
17 replies
DTDrizzle Team
Created by Vision2023 on 2/24/2024 in #help
How do I publish a fork of the repo to npm
Ok
4 replies
DTDrizzle Team
Created by Vision2023 on 2/24/2024 in #help
How do I publish a fork of the repo to npm
@solo
4 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
@Andrew Sherman is it possible to get a timeline on how long it'll take sth like this to be reviewed and potentially merged in
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
In drizzle-orm/src/aws-data-api/pg/driver.ts
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
No description
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
So what did u end up with @kieranmch
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
Will do
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
Ok
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
ok
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
@solo Thinking of making a lil update to do this automatically for data api in drizzle-orm. I dont think the pr would be accepted tho but at least I can use the fork in my project. Wdyt BTW Source: https://github.com/koxudaxi/local-data-api#how-to-insert-array-data-into-postgresql
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
@kieranmch do u have any workarounds?
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
Like
INSERT INTO ..... VALUES (:1, :2, cast(:3 as text[])
INSERT INTO ..... VALUES (:1, :2, cast(:3 as text[])
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
Manually casting the field as an array(text[] in my case) in the query
50 replies
DTDrizzle Team
Created by Vision2023 on 2/19/2024 in #help
An issue when creating string[] elements
However, theres a workaround tho
50 replies