-
Notifications
You must be signed in to change notification settings - Fork 16
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
stuck on "Initial replication in progress..." when connecting to the database #31
Comments
Playing around with it more. It is a bit odd, but if I check the "Remember username and password" and leave the username and password blank, it seems to go through OK. But if I try to add my couch username/password that I setup with the environmental variables, it seems to get denied. -- -- |
I believe everything is working as intended. A combination of kubernetes/docker networks, mixed HTTP/HTTPS errors and cookie authentication which seemed to make it look like a blank username/password on the DB was successfully authenticated. |
Perhaps user error, and I have never used couch DB before. I am deploying via kubernetes, and I am not using the --link flag as this is deprecated.
Using curl, I can access the couchdb via http or HTTPS using the username/password I setup. I also verified that this works via CURL from the StorDown container itself, so I know things are connected/working.
After setting up the couchdb connection information, though, a modal pops up that says:
Initial replication in progress...
And it never goes away. So I am not sure what's going on here. Is there more to setup the DB itself other than just creating it through the web gui? Also, I noticed the default DB name in the StoreDown gui defaults to "StoreDown", but couchdb doesnt allow uppercase letters.
Also, while troubleshooting i noticed that kubectl logs couchdb (or docker logs couchdb) returns nothing, but if you set the logging the stderr, it logs for docker as appropriately.
While note in the docs for storedown, you should mount your configuration settings as well:
/opt/couchdb/etc/local.d
This not only lets you preserve them, but you can also add these custom settings using vi/vim/nano/whatever easily as well.
--- Update
![image](https://user-images.githubusercontent.com/3788162/209715879-3ef1a398-e8cc-4555-a21d-538a47352cd7.png)
Still having issues, but it seems that it might be more about the system setup and not necessarily the DB itself. I get this error no matter what I try to do:
I think it might be because I am adding HTTPS via a traefik ingress and not the default HTTPS functionality, the JS is probably trying to do HTTP calls instead of HTTPS. Is there a way to force HTTPS calls without configuring the container for HTTPS?
The text was updated successfully, but these errors were encountered: