Velz
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
just messed up setup basically
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
I also found the cause of the issue, can run them locally now
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
no problems with running them on dashboard
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
yep
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
I suspect I might be doing silly things here... what would be the recommended way to re-use convex data types among multiple projects within a pnpm workspace?
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
my app consists of a webapp and a chrome extension. They share data layer, so I arranged them in a pnpm workspace in a following way
apps/webapp
and apps/extension
contains the webapp and the extension, respectively
packages/data
contains data shared between both
Initially I installed convex into apps/webapp
(just to quickly get started) and everything worked.
However, I decided to move it into packages/data
so that I could re-use the types between webapp and extension.
Once my initial backend hang on me (dashboard showing infinite spinner), I deleted that backend and created a new one.
I updated env variables in packages/data
, but failed to do so in apps/webapp
(it was pointing to old non-existing URL).
After I updated the env. variables in apps/webapp
to point to the correct URL all is working well33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
I think I found the cause of the problem... let me write it up. Might need some advice on how to better do this
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
but going back to my original app things become broken again
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
no issues
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
so... connecting from a brand new app worked like charm
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
I will try create a new vite/react app and connect to this backend, see if perhaps something's going wrong with my pnpm workspaces?
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
nope, network switch did not help
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
thanks! I tried that yesterday, but got same thing. Let me try again just to double-check
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
even attempted to nuke
node_modules
and pnpm.lockfile
- no luck, same thing33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
the app right now just executes a simple query on render, nothing more
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
it was working fine for me, until the dashboard died on me (stuck in spinner). I deleted the project that got stuck (from the dashboard), created a new project, and re-linked my app to it. However, the app just refuses to connect
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
no, no auth yet, just a simple schema with a function
33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
yes, the dashboard. I just kept getting infinite loading spinner and if I remember correctly, the browser's console was complaining about connecting to the socket. Unfortunately in my attempts to fix the situation I deleted that project and created new one (two times), so can't get the backend name for the project where dashboard got stuck.
The current project's name is
exciting-oyster-122
. The dashboard is loading for this one, but I cannot connect from the app for some reason33 replies
CCConvex Community
•Created by Velz on 9/20/2024 in #support-community
App stuck reconnecting via websocket
Not sure if related, but before these issues started, my project's development env stopped loading at all. I could not resolve it, but re-creating the project fixed it.
33 replies