{"action":"created","issue":{"url":"https://api.github.com/repos/conan-io/conan/issues/3895","repository_url":"https://api.github.com/repos/conan-io/conan","labels_url":"https://api.github.com/repos/conan-io/conan/issues/3895/labels{/name}","comments_url":"https://api.github.com/repos/conan-io/conan/issues/3895/comments","events_url":"https://api.github.com/repos/conan-io/conan/issues/3895/events","html_url":"https://github.com/conan-io/conan/issues/3895","id":376360190,"node_id":"MDU6SXNzdWUzNzYzNjAxOTA=","number":3895,"title":"Basic HTTP auth does not work","user":{"login":"jakubgs","id":2212681,"node_id":"MDQ6VXNlcjIyMTI2ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/2212681?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubgs","html_url":"https://github.com/jakubgs","followers_url":"https://api.github.com/users/jakubgs/followers","following_url":"https://api.github.com/users/jakubgs/following{/other_user}","gists_url":"https://api.github.com/users/jakubgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubgs/subscriptions","organizations_url":"https://api.github.com/users/jakubgs/orgs","repos_url":"https://api.github.com/users/jakubgs/repos","events_url":"https://api.github.com/users/jakubgs/events{/privacy}","received_events_url":"https://api.github.com/users/jakubgs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-11-01T11:47:33Z","updated_at":"2018-11-01T12:48:25Z","closed_at":null,"author_association":"NONE","body":"I have a user configured for Conan server:\r\n```ini\r\n[users]\r\ntest: test\r\n```\r\nBut when I try to check if this works it fails:\r\n```bash\r\n % curl -s --basic -u test:test localhost:9300/v2/users/authenticate\r\nWrong user or password\r\n```\r\nSame goes for the `conan` command:\r\n```bash\r\n% conan user --password test --remote my-repo test                                                                                 \r\nERROR: Wrong user or password. [Remote: my-repo]\r\n```\r\nAm I doing something wrong here?"},"comment":{"url":"https://api.github.com/repos/conan-io/conan/issues/comments/435030406","html_url":"https://github.com/conan-io/conan/issues/3895#issuecomment-435030406","issue_url":"https://api.github.com/repos/conan-io/conan/issues/3895","id":435030406,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTAzMDQwNg==","user":{"login":"jakubgs","id":2212681,"node_id":"MDQ6VXNlcjIyMTI2ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/2212681?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubgs","html_url":"https://github.com/jakubgs","followers_url":"https://api.github.com/users/jakubgs/followers","following_url":"https://api.github.com/users/jakubgs/following{/other_user}","gists_url":"https://api.github.com/users/jakubgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubgs/subscriptions","organizations_url":"https://api.github.com/users/jakubgs/orgs","repos_url":"https://api.github.com/users/jakubgs/repos","events_url":"https://api.github.com/users/jakubgs/events{/privacy}","received_events_url":"https://api.github.com/users/jakubgs/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T12:48:25Z","updated_at":"2018-11-01T12:48:25Z","author_association":"NONE","body":"OK, I get it now, it just defaults to user dir, not current working dir:\r\nhttps://github.com/conan-io/conan/blob/develop/conans/server/server_launcher.py#L19\r\nThat explains it."}}
{"actor":{"display_login":"jakubgs"}}