You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/01/10 10:54:30 UTC
[GitHub] SohamChakraborty edited a comment on issue #1053: couchup returns
with unauthorized
SohamChakraborty edited a comment on issue #1053: couchup returns with unauthorized
URL: https://github.com/apache/couchdb/issues/1053#issuecomment-453054183
@wohali I am still getting same error. Same meaning without providing --login and --password it doesn't work, and the password may need to be presented in a different manner.
```
# /opt/couchdb/bin/couchup replicate -a --login admin --password whateverisadminpassword
Starting replication for configuration...
Traceback (most recent call last):
File "/opt/couchdb/bin/couchup", line 508, in <module>
main(sys.argv)
File "/opt/couchdb/bin/couchup", line 502, in main
args.func(args)
File "/opt/couchdb/bin/couchup", line 223, in _replicate
auth = 'Basic ' + base64.b64encode(':'.join(args['creds']))
File "/usr/lib/python3.6/base64.py", line 58, in b64encode
encoded = binascii.b2a_base64(s, newline=False)
TypeError: a bytes-like object is required, not 'str'
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services