[GH-ISSUE #169] Not able to connect to local couchdb instance. Getting SSL protocol error. #149

Closed
opened 2026-02-26 01:35:16 +03:00 by kerem · 4 comments
Owner

Originally created by @ghost on GitHub (Nov 27, 2016).
Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/169

I have configured couchdb as mentioned in the installation guide. But opennote is not able to connect it. Browser gives net::ERR_SSL_PROTOCOL_ERR message in the console. I am on Ubuntu 15.10 and is using couchdb v1.6.0 from the repository. The ssl cert verification is false.

opennote-couchdb-ssl-error

Originally created by @ghost on GitHub (Nov 27, 2016). Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/169 I have configured couchdb as mentioned in the installation guide. But opennote is not able to connect it. Browser gives `net::ERR_SSL_PROTOCOL_ERR` message in the console. I am on Ubuntu 15.10 and is using couchdb v1.6.0 from the repository. The ssl cert verification is false. ![opennote-couchdb-ssl-error](https://cloud.githubusercontent.com/assets/1277952/20651692/b7fd2a14-b50f-11e6-9be8-254cb5ecc240.png)
kerem closed this issue 2026-02-26 01:35:17 +03:00
Author
Owner

@JLiscom commented on GitHub (Dec 13, 2016):

Use a free valid cert
https://letsencrypt.org/

<!-- gh-comment-id:266645226 --> @JLiscom commented on GitHub (Dec 13, 2016): Use a free valid cert https://letsencrypt.org/
Author
Owner

@ghost commented on GitHub (Dec 13, 2016):

For using a valid certificate I need a domain right? Is there a way to not give domain cert? I will be running it locally.

<!-- gh-comment-id:266646556 --> @ghost commented on GitHub (Dec 13, 2016): For using a valid certificate I need a domain right? Is there a way to not give domain cert? I will be running it locally.
Author
Owner

@JLiscom commented on GitHub (Dec 13, 2016):

I dont have a way of testing this case. If its just local use http.

<!-- gh-comment-id:266795050 --> @JLiscom commented on GitHub (Dec 13, 2016): I dont have a way of testing this case. If its just local use http.
Author
Owner

@ghost commented on GitHub (Dec 13, 2016):

Should I connect to port 5984 or 6984? I was connecting to 5984. I think that is the problem. Just came to know that the default ssl port for couchdb is 6984 (from your another comment). Currently I am on a different machine, so no couchdb for testing.

<!-- gh-comment-id:266821987 --> @ghost commented on GitHub (Dec 13, 2016): Should I connect to port 5984 or 6984? I was connecting to 5984. I think that is the problem. Just came to know that the default ssl port for couchdb is 6984 (from your another comment). Currently I am on a different machine, so no couchdb for testing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OpenNote-JLiscom#149
No description provided.