Skip to content
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

Invalid URI Error #28

Open
samhibberd opened this issue Apr 9, 2018 · 3 comments
Open

Invalid URI Error #28

samhibberd opened this issue Apr 9, 2018 · 3 comments
Assignees

Comments

@samhibberd
Copy link

Hey,

I'm running into an invalid uri error when trying to run the following command:

couch-continuum start --filterTombstones --couchUrl https://admin:[email protected]:6984/ --dbName news

And am getting the following error:

[couch-continuum] Migrating database 'news'...
[couch-continuum] Replicating news to news_temp_copy
[couch-continuum] ERROR
[couch-continuum] Unexpected error: {"error":"EXIT","reason":"{{case_clause,{error,invalid_uri}},\n [{couch_replicator_docs,ssl_params,1,\n                         [{file,\"src/couch_replicator_docs.erl\"},{line,589}]},\n  {couch_replicator_docs,parse_rep_db,3,\n                         [{file,\"src/couch_replicator_docs.erl\"},{line,424}]},\n  {couch_replicator_docs,parse_rep_doc_without_id,2,\n                         [{file,\"src/couch_replicator_docs.erl\"},{line,266}]},\n  {couch_replicator_docs,parse_rep_doc,2,\n                         [{file,\"src/couch_replicator_docs.erl\"},{line,241}]},\n  {couch_replicator,replicate,2,[{file,\"src/couch_replicator.erl\"},{line,56}]},\n  {rpc,local_call,3,[{file,\"rpc.erl\"},{line,330}]},\n  {chttpd_misc,replicate,2,[{file,\"src/chttpd_misc.erl\"},{line,185}]},\n  {chttpd_misc,handle_replicate_req,1,\n               [{file,\"src/chttpd_misc.erl\"},{line,157}]}]}","ref":121638301}

Thanks,

Sam

@garbados garbados self-assigned this Apr 10, 2018
@garbados
Copy link
Contributor

Hi! I'm unable to replicate this issue based on the info you've provided. Can you try running the command again with the --verbose flag? That should give us more info for debugging.

@samhibberd
Copy link
Author

@garbados ran the same command with the --verbose flag:

[couch-continuum] Created new continuum: {"db1":"news","db2":"news_temp_copy","interval":1000}
[couch-continuum] Migrating database 'news'...
[couch-continuum] Creating replica news_temp_copy...
[couch-continuum] [0/5] Checking if primary is in use...
[couch-continuum] [1/5] Creating replica db: news_temp_copy
[couch-continuum] [2/5] Beginning replication of primary to replica...
[couch-continuum] Replicating news to news_temp_copy
[couch-continuum] ERROR
[couch-continuum] Unexpected error: {"error":"EXIT","reason":"{{case_clause,{error,invalid_uri}},\n [{couch_replicator_docs,ssl_params,1,\n                         [{file,\"src/couch_replicator_docs.erl\"},{line,589}]},\n  {couch_replicator_docs,parse_rep_db,3,\n                         [{file,\"src/couch_replicator_docs.erl\"},{line,424}]},\n  {couch_replicator_docs,parse_rep_doc_without_id,2,\n                         [{file,\"src/couch_replicator_docs.erl\"},{line,266}]},\n  {couch_replicator_docs,parse_rep_doc,2,\n                         [{file,\"src/couch_replicator_docs.erl\"},{line,241}]},\n  {couch_replicator,replicate,2,[{file,\"src/couch_replicator.erl\"},{line,56}]},\n  {rpc,local_call,3,[{file,\"rpc.erl\"},{line,330}]},\n  {chttpd_misc,replicate,2,[{file,\"src/chttpd_misc.erl\"},{line,185}]},\n  {chttpd_misc,handle_replicate_req,1,\n               [{file,\"src/chttpd_misc.erl\"},{line,157}]}]}","ref":121638301}

@garbados
Copy link
Contributor

garbados commented May 4, 2018

How frustrating. What version of CouchDB are you using? I'm still unable to replicate the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants