Database connect for other users on self-hosted instances

I have hosted appsmith on locally, connected it to an external mongodb by changing the mongodb uri. Now I create an app and connect it to a datasource. let’s suppose my friend too uses the same mongo db uri. all the instances are restored i.e. all apps but when it tries to access the app (which has a datasource connected) he is unable to getting an error “internal server error”.
this only happens in apps with a datasource connected. in simple apps (like with only widgets) my friend is able to access and make changes.
why is this happening even though we are using an external mongo db to store the application data? and how to resolve this?

1 Like

hosted using helm/k8s

1 Like

@niharika Is this a related issue? Want to connect with custom redis on my local setup - #7 by aaryan

1 Like

i guess. but i dont think custom redis would help in restoring db connection locally

@dancia @niharika Yes I am also facing exactly the same issue

@niharika, thanks for reaching out. Looks like the same problem as @dancia linked. Here’s the response I just posted there:

1 Like

@sharat87 it worked! thanks a lot man!

1 Like