-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error attempting to connect to the server. #928
Comments
Hello, @samaviya if you were able to log in that means the front end has connected to the database. These connection issues signal that your frontend isn't able to connect to the running backend. To confirm, have you also changed your backend URL to Along with this could you please provide a copy of your front-end logs and your docker logs these will help me troubleshoot this further!!! Looking forward to your reply!!! |
I just made the fresh install on new server. All default env but same error Platform WEAVIATE 2023-07-02T20:18:47Z INF action=startup default_vectorizer_module=none msg=the default vectorizer modules is set to "none", as a result all new schema classes without an explicit vectorizer setting, will use this vectorizer DB NEXT
┌─────────────────────────────────────────────────────────┐
|
Hello @samaviya it seems that your server started up. Have you run ./setup, from the first screenshot it seems your version was outdated, were able to log in? |
@jasangill1 updated version have same issue. I am not running it on localhost. I am using a VM with Ubuntu 22.04. Yes i were able to log in (development mode) also configured the production with google auth2 but all same issue. When run agent it gives "Error attempting to connect to the server" couldn't find anything to solve this. |
Hello @samaviya as you are running it on a VM this causes some along with using docker, there tends to be alot of "handshakes" the servers are all doing leading to making it hard to replicate when issues come up, would you be able to run this locally and see it that fixes the issue? |
Its working in development mode but when change to production mode and Google Auth2.0 and using host.domain.com its giving same error. I will debug more and make an update |
Hello @samaviya Were you able to find out why it was only working in production ?? |
1.Change localhost:8000,3000 into server ip:8000,3000 in .env |
Hello, @samaviya Are you still encountering this problem? Would you be able to apply @ccfleaf s solution? |
Hello @samaviya I will be closing this issue due to inactivity !! Please feel free to reopen !! |
I am experiencing this problem with on commit release of v1.0.0, I am locally deploy both platform and next with default url, it can be solved by sign out and then sign in again, what it is a strange bug that happens everytime on a fresh new startup of both platform and next |
This problem persists in v1.0.0. I tried locally on a Macbook Air with MacOS 14.1.1. |
#1499 |
Please check that this issue hasn't been reported before.
Expected Behavior
It should start the prompt without giving error
Current behaviour
When i create any Agent it gives me this error "Error attempting to connect to the server."
Steps to reproduce
OS Ubuntu 22.04 VM
Git Clone the repo
sudo ./setup.sh
.env changed localhost :3000 to serverip:3000
after all services and containers are up
Accessed thru browser http://serverip:3000
Signin with development mode
Clicked on researchgpt
It gives error 5 times and
Possible solution
No response
Which Operating Systems are you using?
Acknowledgements
The text was updated successfully, but these errors were encountered: