#399 ✓duplicate
Marcello de Sousa

"project.resources.url" not supporting "Authorization"

Reported by Marcello de Sousa | July 21st, 2011 @ 02:48 AM

"project.resources.url" doesn't seem to support Authorization like:

project.resources.url = http://admin:passwd@myservername/myresourcetest.yaml

And when you click on "Update Nodes for project" you get the ERROR:
"Error updating node resources file for project examples: HTTP Authorization failure"


With Curl:

$ curl -u admin:passwd ""

The request is:

GET /hosts/myresourcetest.yaml HTTP/1.1
Authorization: Basic YWRtaW46Y3hhbmdlbWU=
User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu)...
Accept: */*

And from Rundeck, with the following setting:

project.resources.url = http://admin:passwd@

The request is:

GET /hosts/myresourcetest.yaml HTTP/1.1
User-Agent: Java/1.6.0_20
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
If-Modified-Since: Wed, 20 Jul 2011 14:04:54 GMT

So as you can see Rundeck it doesn't send the "Authorization" header in the HTTP request.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues

Shared Ticket Bins