Nexus 2.8.0-05 Bug with scheduled tasks GUI

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Nexus 2.8.0-05 Bug with scheduled tasks GUI

Nikola Milutinovic

Hi all.

 

Upgraded from 2.7.0 to 2.8.0-05. Everything seems to be working except GUI for the scheduled tasks.

 

When I open the “Scheduled tasks” tab, I can see the usual list of tasks. Clicking on one of the tasks shows a popup saying 404 error occurred. This is HTTP conversation:

 

Opening the tab

 

GET /service/local/schedules?_dc=1397737302971 HTTP/1.1 (200 OK)

GET /service/local/repositories?_dc=1397737302999 HTTP/1.1 (200 OK)

GET /service/local/repo_targets?_dc=1397737303010 HTTP/1.1 (200 OK)

GET /service/local/repo_groups?_dc=1397737303022 HTTP/1.1 (200 OK)

GET /service/local/schedule_types?_dc=1397737303033 HTTP/1.1 (200 OK)

 

Clicking on one of the tasks

 

GET /ervice/local/schedules/12?_dc=1397737316046 HTTP/1.1 (404 Not found)

 

Notice that the URL is missing one letter: /ervice/… instead of /service/

 

Met vriendelijke groet / Kind regards,

Nikola Milutinovic

Java architect

Title: Levi9 IT Services


Address: Trifkovicev trg 6, 21000 Novi Sad, Serbia

Tel.: +31 20 7547922 | +381 21 4721037

Mobile: +381 64 2202824

Skype: nikola.milutinovic

Internet: www.levi9.com

 

Chamber of commerce Levi9 Holding: 34221951

Chamber of commerce Levi9 IT Services BV: 34224746


This e-mail may contain confidential or privileged information. If you are not (one of) the intended recipient(s), please notify the sender immediately by reply e-mail and delete this message and any attachments permanently without retaining a copy. Any review, disclosure, copying, distribution or taking any action in reliance on the contents of this e-mail by persons or entities other than the intended recipient(s) is strictly prohibited and may be unlawful.

The services of Levi9 are exclusively subject to its general terms and conditions. These general terms and conditions can be found on www.levi9.com and a copy will be promptly submitted to you on your request and free of charge.

 

Reply | Threaded
Open this post in threaded view
|

Re: Nexus 2.8.0-05 Bug with scheduled tasks GUI

Stuart McCulloch-2
On 17 Apr 2014, at 13:45, Nikola Milutinovic <[hidden email]> wrote:

Hi all.
 
Upgraded from 2.7.0 to 2.8.0-05. Everything seems to be working except GUI for the scheduled tasks.
 
When I open the “Scheduled tasks” tab, I can see the usual list of tasks. Clicking on one of the tasks shows a popup saying 404 error occurred. This is HTTP conversation:
 
Opening the tab
 
GET /service/local/schedules?_dc=1397737302971 HTTP/1.1 (200 OK)
GET /service/local/repositories?_dc=1397737302999 HTTP/1.1 (200 OK)
GET /service/local/repo_targets?_dc=1397737303010 HTTP/1.1 (200 OK)
GET /service/local/repo_groups?_dc=1397737303022 HTTP/1.1 (200 OK)
GET /service/local/schedule_types?_dc=1397737303033 HTTP/1.1 (200 OK)
 
Clicking on one of the tasks
 
GET /ervice/local/schedules/12?_dc=1397737316046 HTTP/1.1 (404 Not found)
 
Notice that the URL is missing one letter: /ervice/… instead of /service/ 

Looks like https://issues.sonatype.org/browse/NEXUS-6539 - this is fixed in the nexus-2.8.x branch and will be in 2.8.1

BTW are you using a reverse proxy? If so then one workaround is to set the x-forwarded-proto header to https

The other workaround is to turn off Force Base URL, if that’s an option for you.

Met vriendelijke groet / Kind regards,
Nikola Milutinovic
Java architect
<image003.png>

Address: Trifkovicev trg 6, 21000 Novi Sad, Serbia
Tel.: +31 20 7547922 | +381 21 4721037
Mobile: +381 64 2202824
Skype: nikola.milutinovic
Internet: www.levi9.com
 
Chamber of commerce Levi9 Holding: 34221951
Chamber of commerce Levi9 IT Services BV: 34224746

This e-mail may contain confidential or privileged information. If you are not (one of) the intended recipient(s), please notify the sender immediately by reply e-mail and delete this message and any attachments permanently without retaining a copy. Any review, disclosure, copying, distribution or taking any action in reliance on the contents of this e-mail by persons or entities other than the intended recipient(s) is strictly prohibited and may be unlawful.
The services of Levi9 are exclusively subject to its general terms and conditions. These general terms and conditions can be found on www.levi9.com and a copy will be promptly submitted to you on your request and free of charge.

Reply | Threaded
Open this post in threaded view
|

Re: Nexus 2.8.0-05 Bug with scheduled tasks GUI

Peter Lynch-2
In reply to this post by Nikola Milutinovic
I expect this is caused by this bug:


Do you have force base url checked under Administration -> Server?




On Thu, Apr 17, 2014 at 9:45 AM, Nikola Milutinovic <[hidden email]> wrote:

Hi all.

 

Upgraded from 2.7.0 to 2.8.0-05. Everything seems to be working except GUI for the scheduled tasks.

 

When I open the “Scheduled tasks” tab, I can see the usual list of tasks. Clicking on one of the tasks shows a popup saying 404 error occurred. This is HTTP conversation:

 

Opening the tab

 

GET /service/local/schedules?_dc=1397737302971 HTTP/1.1 (200 OK)

GET /service/local/repositories?_dc=1397737302999 HTTP/1.1 (200 OK)

GET /service/local/repo_targets?_dc=1397737303010 HTTP/1.1 (200 OK)

GET /service/local/repo_groups?_dc=1397737303022 HTTP/1.1 (200 OK)

GET /service/local/schedule_types?_dc=1397737303033 HTTP/1.1 (200 OK)

 

Clicking on one of the tasks

 

GET /ervice/local/schedules/12?_dc=1397737316046 HTTP/1.1 (404 Not found)

 

Notice that the URL is missing one letter: /ervice/… instead of /service/

 

Met vriendelijke groet / Kind regards,

Nikola Milutinovic

Java architect

Title: Levi9 IT Services


Address: Trifkovicev trg 6, 21000 Novi Sad, Serbia

Tel.: <a href="tel:%2B31%2020%207547922" value="+31207547922" target="_blank">+31 20 7547922 | <a href="tel:%2B381%2021%204721037" value="+381214721037" target="_blank">+381 21 4721037

Mobile: <a href="tel:%2B381%2064%202202824" value="+381642202824" target="_blank">+381 64 2202824

Skype: nikola.milutinovic

Internet: www.levi9.com

 

Chamber of commerce Levi9 Holding: 34221951

Chamber of commerce Levi9 IT Services BV: 34224746


This e-mail may contain confidential or privileged information. If you are not (one of) the intended recipient(s), please notify the sender immediately by reply e-mail and delete this message and any attachments permanently without retaining a copy. Any review, disclosure, copying, distribution or taking any action in reliance on the contents of this e-mail by persons or entities other than the intended recipient(s) is strictly prohibited and may be unlawful.

The services of Levi9 are exclusively subject to its general terms and conditions. These general terms and conditions can be found on www.levi9.com and a copy will be promptly submitted to you on your request and free of charge.

 


Reply | Threaded
Open this post in threaded view
|

RE: Nexus 2.8.0-05 Bug with scheduled tasks GUI

Nikola Milutinovic

Hi all.

 

We are setting “Force Base URL” and the URL is set to the public URL of our repo. We also have an Apache proxy as HTTPS front and we are setting

 

RequestHeader   add     X-Forwarded-Scheme https

 

And it seems that I was wrong, many other lists do not work, either. Same error.

 

Since the workaround doesn’t work for me and I am not in a real hurry to move to 2.8, I’ll wait for the 2.8.1 to come out.

 

Nix.

 

From: Peter Lynch [mailto:[hidden email]]
Sent: Thursday, April 17, 2014 3:25 PM
To: [hidden email]
Subject: Re: [nexus-user] Nexus 2.8.0-05 Bug with scheduled tasks GUI

 

I expect this is caused by this bug:

 

 

Do you have force base url checked under Administration -> Server?

 

 

 

On Thu, Apr 17, 2014 at 9:45 AM, Nikola Milutinovic <[hidden email]> wrote:

Hi all.

 

Upgraded from 2.7.0 to 2.8.0-05. Everything seems to be working except GUI for the scheduled tasks.

 

When I open the “Scheduled tasks” tab, I can see the usual list of tasks. Clicking on one of the tasks shows a popup saying 404 error occurred. This is HTTP conversation:

 

Opening the tab

 

GET /service/local/schedules?_dc=1397737302971 HTTP/1.1 (200 OK)

GET /service/local/repositories?_dc=1397737302999 HTTP/1.1 (200 OK)

GET /service/local/repo_targets?_dc=1397737303010 HTTP/1.1 (200 OK)

GET /service/local/repo_groups?_dc=1397737303022 HTTP/1.1 (200 OK)

GET /service/local/schedule_types?_dc=1397737303033 HTTP/1.1 (200 OK)

 

Clicking on one of the tasks

 

GET /ervice/local/schedules/12?_dc=1397737316046 HTTP/1.1 (404 Not found)

 

Notice that the URL is missing one letter: /ervice/… instead of /service/

 

Met vriendelijke groet / Kind regards,

Nikola Milutinovic

Java architect

Title: Levi9 IT Services


Address: Trifkovicev trg 6, 21000 Novi Sad, Serbia

Tel.: <a href="tel:%2B31%2020%207547922" target="_blank">+31 20 7547922 | <a href="tel:%2B381%2021%204721037" target="_blank">+381 21 4721037

Mobile: <a href="tel:%2B381%2064%202202824" target="_blank">+381 64 2202824

Skype: nikola.milutinovic

Internet: www.levi9.com

 

Chamber of commerce Levi9 Holding: 34221951

Chamber of commerce Levi9 IT Services BV: 34224746


This e-mail may contain confidential or privileged information. If you are not (one of) the intended recipient(s), please notify the sender immediately by reply e-mail and delete this message and any attachments permanently without retaining a copy. Any review, disclosure, copying, distribution or taking any action in reliance on the contents of this e-mail by persons or entities other than the intended recipient(s) is strictly prohibited and may be unlawful.

The services of Levi9 are exclusively subject to its general terms and conditions. These general terms and conditions can be found on www.levi9.com and a copy will be promptly submitted to you on your request and free of charge.

 

 

Reply | Threaded
Open this post in threaded view
|

Re: Nexus 2.8.0-05 Bug with scheduled tasks GUI

Peter Lynch-2



On Thu, Apr 17, 2014 at 10:50 AM, Nikola Milutinovic <[hidden email]> wrote:

Hi all.

 

We are setting “Force Base URL” and the URL is set to the public URL of our repo. We also have an Apache proxy as HTTPS front and we are setting

 

RequestHeader   add     X-Forwarded-Scheme https

 

And it seems that I was wrong, many other lists do not work, either. Same error.

 

Since the workaround doesn’t work for me and I am not in a real hurry to move to 2.8, I’ll wait for the 2.8.1 to come out.

 


To clarify, the header needed is x-forwarded-proto not x-forwarded-scheme - and once x-forwarded-proto is set, uncheck Force Base URL checkbox in Nexus.

 

Nix.

 

From: Peter Lynch [mailto:[hidden email]]
Sent: Thursday, April 17, 2014 3:25 PM
To: [hidden email]
Subject: Re: [nexus-user] Nexus 2.8.0-05 Bug with scheduled tasks GUI

 

I expect this is caused by this bug:

 

 

Do you have force base url checked under Administration -> Server?

 

 

 

On Thu, Apr 17, 2014 at 9:45 AM, Nikola Milutinovic <[hidden email]> wrote:

Hi all.

 

Upgraded from 2.7.0 to 2.8.0-05. Everything seems to be working except GUI for the scheduled tasks.

 

When I open the “Scheduled tasks” tab, I can see the usual list of tasks. Clicking on one of the tasks shows a popup saying 404 error occurred. This is HTTP conversation:

 

Opening the tab

 

GET /service/local/schedules?_dc=1397737302971 HTTP/1.1 (200 OK)

GET /service/local/repositories?_dc=1397737302999 HTTP/1.1 (200 OK)

GET /service/local/repo_targets?_dc=1397737303010 HTTP/1.1 (200 OK)

GET /service/local/repo_groups?_dc=1397737303022 HTTP/1.1 (200 OK)

GET /service/local/schedule_types?_dc=1397737303033 HTTP/1.1 (200 OK)

 

Clicking on one of the tasks

 

GET /ervice/local/schedules/12?_dc=1397737316046 HTTP/1.1 (404 Not found)

 

Notice that the URL is missing one letter: /ervice/… instead of /service/

 

Met vriendelijke groet / Kind regards,

Nikola Milutinovic

Java architect

Title: Levi9 IT Services


Address: Trifkovicev trg 6, 21000 Novi Sad, Serbia

Tel.: <a href="tel:%2B31%2020%207547922" target="_blank">+31 20 7547922 | <a href="tel:%2B381%2021%204721037" target="_blank">+381 21 4721037

Mobile: <a href="tel:%2B381%2064%202202824" target="_blank">+381 64 2202824

Skype: nikola.milutinovic

Internet: www.levi9.com

 

Chamber of commerce Levi9 Holding: 34221951

Chamber of commerce Levi9 IT Services BV: 34224746


This e-mail may contain confidential or privileged information. If you are not (one of) the intended recipient(s), please notify the sender immediately by reply e-mail and delete this message and any attachments permanently without retaining a copy. Any review, disclosure, copying, distribution or taking any action in reliance on the contents of this e-mail by persons or entities other than the intended recipient(s) is strictly prohibited and may be unlawful.

The services of Levi9 are exclusively subject to its general terms and conditions. These general terms and conditions can be found on www.levi9.com and a copy will be promptly submitted to you on your request and free of charge.