[JIRA] (JENKINS-62133) Configure screen: Resource Root URL validation error - 404 instance-identity

25 views
Skip to first unread message

fred.vogt@gmail.com (JIRA)

unread,
Apr 30, 2020, 6:33:04 PM4/30/20
to jenkinsc...@googlegroups.com
Fred Vogt updated an issue
 
Jenkins / Bug JENKINS-62133
Configure screen: Resource Root URL validation error - 404 instance-identity
Change By: Fred Vogt
Summary: Configure screen : Resource Root URL validation error - 404 instance-identity
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 10:50:02 PM4/30/20
to jenkinsc...@googlegroups.com
Daniel Beck commented on Bug JENKINS-62133
 
Re: Configure screen: Resource Root URL validation error - 404 instance-identity

I am able to reproduce it with a 2.234 docker image. Weird, I specifically tested this.

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 10:55:03 PM4/30/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 10:59:02 PM4/30/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 10:59:02 PM4/30/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 11:19:03 PM4/30/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 11:19:03 PM4/30/20
to jenkinsc...@googlegroups.com
 
Re: Configure screen: Resource Root URL validation error - 404 instance-identity

This broke in 2.205 because of the Winstone update that changed the 404 error message format.

The form validation expects a message to occur in a 404 error response and it seems it no longer matches exactly. That's the only difference between the "404 Not Found" error, and "This is a previously set up resource domain".

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 11:20:02 PM4/30/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 11:21:02 PM4/30/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 11:46:03 PM4/30/20
to jenkinsc...@googlegroups.com
Daniel Beck started work on Bug JENKINS-62133
 
Change By: Daniel Beck
Status: Open In Progress

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 11:46:03 PM4/30/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Apr 30, 2020, 11:50:02 PM4/30/20
to jenkinsc...@googlegroups.com
 
Re: Configure screen: Resource Root URL validation error - 404 instance-identity

Just to confirm,

I put a custom logo override into userContent and it is working which leads me to believe the resource root url setting is working, however the check against /instance-identity/ is failing in the configure page.

This is correct; it's just the form validation that's affected, as it can no longer distinguish a 404 response from a resource root URL from just any other 404 response.

fred.vogt@gmail.com (JIRA)

unread,
Apr 30, 2020, 11:53:02 PM4/30/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
May 4, 2020, 1:09:02 PM5/4/20
to jenkinsc...@googlegroups.com
Change By: Daniel Beck
Status: In Review Closed
Resolution: Fixed
Released As: Jenkins 2.235
Reply all
Reply to author
Forward
0 new messages