You can clone with
HTTPS or Subversion.
This happens when you are trying to use an internal couchdb database for jam packages.
If the url to your repository is this:
jam publish will try to start a session at http://localhost/_session rather than http://localhost/couchdb/_session.
Fix repository url when using a url prefix (#49)