{"action":"created","issue":{"url":"https://api.github.com/repos/cbeer/ldp/issues/36","labels_url":"https://api.github.com/repos/cbeer/ldp/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/cbeer/ldp/issues/36/comments","events_url":"https://api.github.com/repos/cbeer/ldp/issues/36/events","html_url":"https://github.com/cbeer/ldp/issues/36","id":54566687,"number":36,"title":" Ldp::HttpError (STATUS: 401","user":{"login":"lasse-aagren","id":1670128,"avatar_url":"https://avatars.githubusercontent.com/u/1670128?v=3","gravatar_id":"","url":"https://api.github.com/users/lasse-aagren","html_url":"https://github.com/lasse-aagren","followers_url":"https://api.github.com/users/lasse-aagren/followers","following_url":"https://api.github.com/users/lasse-aagren/following{/other_user}","gists_url":"https://api.github.com/users/lasse-aagren/gists{/gist_id}","starred_url":"https://api.github.com/users/lasse-aagren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lasse-aagren/subscriptions","organizations_url":"https://api.github.com/users/lasse-aagren/orgs","repos_url":"https://api.github.com/users/lasse-aagren/repos","events_url":"https://api.github.com/users/lasse-aagren/events{/privacy}","received_events_url":"https://api.github.com/users/lasse-aagren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-16T11:41:28Z","updated_at":"2015-01-17T16:05:46Z","closed_at":null,"body":"Hello,\r\n\r\nWe are trying to acces fedora 4.0.0 (stable) using Hydra (tag: v9.0.0.rc2), which uses LDP version 0.2.0. And get the error below.\r\n\r\nWe are using this fedora deployed to tomcat 7.0.56 with fedoraAdmin defined in tomcat-users.xml:\r\n\r\nhttps://github.com/fcrepo4-labs/fcrepo-webapp-plus/releases/download/fcrepo-webapp-plus-4.0.0/fcrepo-webapp-plus-rbacl-4.0.0.war\r\n\r\nCould that be a problem with LDP? \r\n\r\nSee all version of our gems here:\r\n\r\nhttps://github.com/dtulibrary/missingstuff/blob/master/Gemfile.lock\r\n\r\nError (sorry for the ugly paste):\r\n\r\n> Ldp::HttpError (STATUS: 401 <html><head><title>Apache Tomcat/7.0.56 (Debian) - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2\r\n {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Ta\r\nhoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;f\r\nont-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size=\"1\" noshade=\"noshade\"><p><b>type</b> Status report</p><p><b>message<\r\n/b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size=\"1\" noshade=\"noshade\"><h3>Apache Tomcat/7.0.56 (Debian)</h3></body></html>... #<Faraday::Response:0x0000000\r\n7df3610 @on_complete_callbacks=[], @env=#<Faraday::Env @method=:get @body=\"<html><head><title>Apache Tomcat/7.0.56 (Debian) - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:whi\r\nte;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-colo\r\nr:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,\r\nArial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size=\\\"1\\\" noshade=\\\"nosha\r\nde\\\"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size=\\\"1\\\" noshade=\\\"noshade\\\"><h3>Apache Tomcat/7.0.56 (Debi\r\nan)</h3></body></html>\" @url=#<URI::HTTP:0x00000007d94ca0 URL:http://localhost:8080/fedora/rest> @request=#<Faraday::RequestOptions (empty)> @request_headers={\"User-Agent\"=>\"Faraday v0.9.0\", \"Prefer\"=>\"retu\r\nrn=representation\"} @ssl=#<Faraday::SSLOptions (empty)> @response_headers={\"server\"=>\"Apache-Coyote/1.1\", \"cache-control\"=>\"private\", \"expires\"=>\"Thu, 01 Jan 1970 01:00:00 CET\", \"www-authenticate\"=>\"Basic r\r\nealm=\\\"fcrepo\\\"\", \"content-type\"=>\"text/html;charset=utf-8\", \"content-language\"=>\"en\", \"content-length\"=>\"969\", \"date\"=>\"Fri, 16 Jan 2015 11:10:56 GMT\", \"connection\"=>\"close\"} @status=401>>):"},"comment":{"url":"https://api.github.com/repos/cbeer/ldp/issues/comments/70372284","html_url":"https://github.com/cbeer/ldp/issues/36#issuecomment-70372284","issue_url":"https://api.github.com/repos/cbeer/ldp/issues/36","id":70372284,"user":{"login":"lasse-aagren","id":1670128,"avatar_url":"https://avatars.githubusercontent.com/u/1670128?v=3","gravatar_id":"","url":"https://api.github.com/users/lasse-aagren","html_url":"https://github.com/lasse-aagren","followers_url":"https://api.github.com/users/lasse-aagren/followers","following_url":"https://api.github.com/users/lasse-aagren/following{/other_user}","gists_url":"https://api.github.com/users/lasse-aagren/gists{/gist_id}","starred_url":"https://api.github.com/users/lasse-aagren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lasse-aagren/subscriptions","organizations_url":"https://api.github.com/users/lasse-aagren/orgs","repos_url":"https://api.github.com/users/lasse-aagren/repos","events_url":"https://api.github.com/users/lasse-aagren/events{/privacy}","received_events_url":"https://api.github.com/users/lasse-aagren/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T16:05:46Z","updated_at":"2015-01-17T16:05:46Z","body":"@jcoyne just to point me in the right direction: \r\n\r\nactive_fedora uses ldp to connect to fedora4, but ldp doesn't support username/password yet. So changes in ldp are needed. Not active_fedora, right?"}}