jamorajj
jamorajj16mo ago

convex dev not deploying

hello! i'm currently following a tutorial that uses convex and clerk and next.js there is a part in this tutorial that utilizes clerk's webhook and triggers a function on convex. this is to sync the users signing in on clerk to my convex project data. the issue i'm encountering is when adding the webhook validation of clerk on the convex folder. https://github.com/jamorajj/sink-app/blob/main/convex/clerk.ts whenever this part is added, my npx convex dev gives a 408 request timeout. I tried to use this sample as well and it is the same case: https://github.com/thomasballinger/convex-clerk-users-table/blob/main/convex/http.ts anyone else encountered this issue? TIA!
GitHub
sink-app/convex/clerk.ts at main · jamorajj/sink-app
Contribute to jamorajj/sink-app development by creating an account on GitHub.
GitHub
convex-clerk-users-table/convex/http.ts at main · thomasballinger/c...
Contribute to thomasballinger/convex-clerk-users-table development by creating an account on GitHub.
7 Replies
Michal Srb
Michal Srb15mo ago
Hey @jamorajj, that's very surprising! Can you: 1. screenshot your terminal with the error 2. run npx convex dev -v as well? Thanks!
jamorajj
jamorajjOP15mo ago
thanks for taking a look at this, sending a screenshot of the error run on npx convex dev -v
No description
Michal Srb
Michal Srb15mo ago
@jamorajj can you try a different internet connection? (internet cafe, phone tethering, friend's wifi)
jamorajj
jamorajjOP15mo ago
im attaching the result if i try to comment the contents of the clerk.ts file (which contains the clerk webhook validation part)
No description
jamorajj
jamorajjOP15mo ago
have tried using phone tethering, but it gives the same result may take a while to try it on a cafe or on a different wifi but i'll let you know
Michal Srb
Michal Srb15mo ago
Noting your dependencies from the Clerk ticket:
@clerk/backend: ^0.37.3 => 0.37.3
@clerk/clerk-sdk-node: ^4.13.7 => 4.13.7
@clerk/nextjs: ^4.29.5 => 4.29.5
@radix-ui/react-avatar: ^1.0.4 => 1.0.4
@radix-ui/react-dropdown-menu: ^2.0.6 => 2.0.6
@radix-ui/react-label: ^2.0.2 => 2.0.2
@radix-ui/react-progress: ^1.0.3 => 1.0.3
@radix-ui/react-slot: ^1.0.2 => 1.0.2
@radix-ui/react-toast: ^1.1.5 => 1.1.5
@types/node: ^20 => 20.11.8
@types/react: ^18 => 18.2.48
@types/react-dom: ^18 => 18.2.18
@xixixao/uploadstuff: ^0.0.5 => 0.0.5
autoprefixer: ^10.0.1 => 10.4.17
class-variance-authority: ^0.7.0 => 0.7.0
clsx: ^2.1.0 => 2.1.0
convex: ^1.8.0 => 1.8.0
date-fns: ^3.3.1 => 3.3.1
eslint: ^8 => 8.56.0
eslint-config-next: 14.1.0 => 14.1.0
lucide-react: ^0.316.0 => 0.316.0
next: 14.1.0 => 14.1.0
next-themes: ^0.2.1 => 0.2.1
postcss: ^8 => 8.4.33
react: ^18 => 18.2.0
react-dom: ^18 => 18.2.0
svix: ^1.16.0 => 1.16.0
tailwind-merge: ^2.2.1 => 2.2.1
tailwindcss: ^3.3.0 => 3.4.1
tailwindcss-animate: ^1.0.7 => 1.0.7
typescript: ^5 => 5.3.3
@clerk/backend: ^0.37.3 => 0.37.3
@clerk/clerk-sdk-node: ^4.13.7 => 4.13.7
@clerk/nextjs: ^4.29.5 => 4.29.5
@radix-ui/react-avatar: ^1.0.4 => 1.0.4
@radix-ui/react-dropdown-menu: ^2.0.6 => 2.0.6
@radix-ui/react-label: ^2.0.2 => 2.0.2
@radix-ui/react-progress: ^1.0.3 => 1.0.3
@radix-ui/react-slot: ^1.0.2 => 1.0.2
@radix-ui/react-toast: ^1.1.5 => 1.1.5
@types/node: ^20 => 20.11.8
@types/react: ^18 => 18.2.48
@types/react-dom: ^18 => 18.2.18
@xixixao/uploadstuff: ^0.0.5 => 0.0.5
autoprefixer: ^10.0.1 => 10.4.17
class-variance-authority: ^0.7.0 => 0.7.0
clsx: ^2.1.0 => 2.1.0
convex: ^1.8.0 => 1.8.0
date-fns: ^3.3.1 => 3.3.1
eslint: ^8 => 8.56.0
eslint-config-next: 14.1.0 => 14.1.0
lucide-react: ^0.316.0 => 0.316.0
next: 14.1.0 => 14.1.0
next-themes: ^0.2.1 => 0.2.1
postcss: ^8 => 8.4.33
react: ^18 => 18.2.0
react-dom: ^18 => 18.2.0
svix: ^1.16.0 => 1.16.0
tailwind-merge: ^2.2.1 => 2.2.1
tailwindcss: ^3.3.0 => 3.4.1
tailwindcss-animate: ^1.0.7 => 1.0.7
typescript: ^5 => 5.3.3
We are investigating this issue, will get back to you with other workarounds / steps. Thanks!
jamorajj
jamorajjOP15mo ago
thanks a lot! will let you know once i tested it on a different connection other than the ones i used

Did you find this page helpful?