You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Sebastien <se...@gmail.com> on 2015/03/10 15:23:54 UTC

[7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Hi team :)

Back to work this morning...As usual, I am recompiling and redeploy the
webapp I am working on, based on 7.0.0-SNAPSHOT.

It seems that I am facing to a serious issue: no resource reference can be
downloaded by the client, for instance:

"NetworkError: 403 Forbidden -
http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
"

I did recompiled/redeployed with -M5, all is ok.

As I was on vacation these last 2 weeks (it was very great thank you :) ),
I am not very aware of what did changed recently. Any ideas?

Thanks a lot in advance,
Sebastien.

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Sebastien <se...@gmail.com>.
Hi Martin,

It does not work for me, I am not using
AuthenticatedWebApplication/AuthenticatedWebSession but custom ones:

public abstract class OAuthWebApplication extends WebApplication implements
IRoleCheckingStrategy, IUnauthorizedComponentInstantiationListener

public class OAuthWebSession extends WebSession implements
IJQuerySecurityProvider, IOAuthListener

I think I am good for deeper investigations...

Thanks & best regards,
Sebastien.



On Tue, Mar 10, 2015 at 4:39 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> works :)
> Thanks!
>
> should I add this change to main app? or you going to fix it in Wicket?
>
> On Tue, Mar 10, 2015 at 9:37 PM, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > Maxim,
> >
> > Try with MyAuthSession extends AuthenticatedWebSession {
> >
> >   @Override public void replaceSession() {}
> > }
> >
> > i.e. make #replaceSession() a noop
> >
> > Martin Grigorov
> > Funemployed! Available for hire!
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Tue, Mar 10, 2015 at 5:29 PM, Maxim Solodovnik <so...@gmail.com>
> > wrote:
> >
> > > This is the code: https://github.com/solomax/WicketSelect2Clear
> > >
> > > On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <se...@gmail.com> wrote:
> > >
> > > > Well done Maxim, this will probably ease upcoming investigation....
> > > >
> > > > On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <
> > solomax666@gmail.com>
> > > > wrote:
> > > >
> > > > > I can provide a link to the github project demonstrating this
> > > > >
> > > > > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <
> > > solomax666@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Yes
> > > > > > It is reproducible with dummy App based on
> > > AuthenticatedWebApplication
> > > > > > Seems like resources are not being available for download without
> > > auth
> > > > > > anymore
> > > > > >
> > > > > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> > > > solomax666@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > >> Simple app works as expected :(
> > > > > >> Will try to convert it to AuthApp (seems to be security related
> > > issue)
> > > > > >>
> > > > > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> > > > solomax666@gmail.com
> > > > > >
> > > > > >> wrote:
> > > > > >>
> > > > > >>> It's our main application, will try to create simple quickstart
> > > > > >>>
> > > > > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <se...@gmail.com>
> > > wrote:
> > > > > >>>
> > > > > >>>> Hi Maxim,
> > > > > >>>>
> > > > > >>>> Thank you very much for confirming, because I am battling to
> > > > reproduce
> > > > > >>>> it
> > > > > >>>> in a simple quickstart!.. :(
> > > > > >>>>
> > > > > >>>> Best regards,
> > > > > >>>> Sebastien.
> > > > > >>>>
> > > > > >>>>
> > > > > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> > > > > solomax666@gmail.com
> > > > > >>>> >
> > > > > >>>> wrote:
> > > > > >>>>
> > > > > >>>> > Got this exception in the logs:
> > > > > >>>> >
> > > > > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347
> > > > > RequestCycleExtra
> > > > > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following
> > > exception
> > > > > >>>> > org.apache.wicket.markup.MarkupException: The component
> > > > > >>>> > [TransparentWebMarkupContainer [Component id =
> > > > > >>>> > wicket_relative_path_prefix_0]] was rendered already. You
> can
> > > > render
> > > > > >>>> it
> > > > > >>>> > only once during a render phase. Class relative path:
> > > > > >>>> >
> > > > > >>>> >
> > > > > >>>>
> > > > >
> > > >
> > >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > > > > >>>> > at org.apache.wicket.Page.componentRendered(Page.java:211)
> > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > >>>> > at org.apache.wicket.Component.rendered(Component.java:2622)
> > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > >>>> > at
> > > org.apache.wicket.Component.internalRender(Component.java:2383)
> > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > >>>> > at org.apache.wicket.Component.render(Component.java:2307)
> > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > >>>> >
> > > > > >>>> >
> > > > > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
> > > > > >>>> solomax666@gmail.com>
> > > > > >>>> > wrote:
> > > > > >>>> >
> > > > > >>>> > > Can confirm :(
> > > > > >>>> > > Same here with our main application
> > > > > >>>> > >
> > > > > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <
> > sebfz1@gmail.com>
> > > > > >>>> wrote:
> > > > > >>>> > >
> > > > > >>>> > >> Hi team :)
> > > > > >>>> > >>
> > > > > >>>> > >> Back to work this morning...As usual, I am recompiling
> and
> > > > > >>>> redeploy the
> > > > > >>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> > > > > >>>> > >>
> > > > > >>>> > >> It seems that I am facing to a serious issue: no resource
> > > > > >>>> reference can
> > > > > >>>> > be
> > > > > >>>> > >> downloaded by the client, for instance:
> > > > > >>>> > >>
> > > > > >>>> > >> "NetworkError: 403 Forbidden -
> > > > > >>>> > >>
> > > > > >>>> > >>
> > > > > >>>> >
> > > > > >>>>
> > > > >
> > > >
> > >
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > > > > >>>> > >> "
> > > > > >>>> > >>
> > > > > >>>> > >> I did recompiled/redeployed with -M5, all is ok.
> > > > > >>>> > >>
> > > > > >>>> > >> As I was on vacation these last 2 weeks (it was very
> great
> > > > thank
> > > > > >>>> you :)
> > > > > >>>> > ),
> > > > > >>>> > >> I am not very aware of what did changed recently. Any
> > ideas?
> > > > > >>>> > >>
> > > > > >>>> > >> Thanks a lot in advance,
> > > > > >>>> > >> Sebastien.
> > > > > >>>> > >>
> > > > > >>>> > >
> > > > > >>>> > >
> > > > > >>>> > >
> > > > > >>>> > > --
> > > > > >>>> > > WBR
> > > > > >>>> > > Maxim aka solomax
> > > > > >>>> > >
> > > > > >>>> >
> > > > > >>>> >
> > > > > >>>> >
> > > > > >>>> > --
> > > > > >>>> > WBR
> > > > > >>>> > Maxim aka solomax
> > > > > >>>> >
> > > > > >>>>
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>> --
> > > > > >>> WBR
> > > > > >>> Maxim aka solomax
> > > > > >>>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >> --
> > > > > >> WBR
> > > > > >> Maxim aka solomax
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > WBR
> > > > > > Maxim aka solomax
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > WBR
> > > > > Maxim aka solomax
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Martin Grigorov <mg...@apache.org>.
The reason for the failure is clear:
https://github.com/apache/wicket/blob/master/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authorization/strategies/role/annotations/AnnotationsRoleAuthorizationStrategy.java#L162

You use AnnotationsRoleAuthorizationStrategy and obviously most of the
resources do not have @AuthorizeResource

I'll reopen the ticket.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Apr 21, 2015 at 8:38 PM, Sebastien <se...@gmail.com> wrote:

> Hi,
>
> Thanks Martin, git-bisect is really helpful!
>
> The involved commit is b8b9b30173921215972238a34395725a08c70fb3:
> WICKET-5749 add AuthorizeResource to auth-roles so Resources can be
> protected too
>
> I will try to make a quickstart that repro the issue...
>
> Best regards,
> Sebastien
>
>
> On Tue, Apr 21, 2015 at 9:05 AM, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > Hi Sebastien,
> >
> > You can use 'git bisect' to track which change in Wicket code led to this
> > broken behavior for your application.
> > Or create a quickstart and someone else will do the same :-)
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Mon, Apr 20, 2015 at 8:04 PM, Sebastien <se...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > Just to let you know I'm still suffering on this issue. I've forgot I
> had
> > > reverted poms version to -M5... Sorry for awaking so late !
> > >
> > > In my case this is not related to AuthenticationWebSession (I do not
> > extend
> > > it), and - I guess - nothing related to an authenticated user. The
> issue
> > > appear as soon as I reach the homepage...
> > >
> > > I will try to make a quickstart asap !
> > >
> > > Best regards,
> > > Sebastien.
> > >
> > >
> > > On Tue, Mar 10, 2015 at 8:26 PM, Martin Grigorov <mgrigorov@apache.org
> >
> > > wrote:
> > >
> > > > No.
> > > > The change has been introduced with
> > > > https://issues.apache.org/jira/browse/WICKET-5775 - automatic
> support
> > > for
> > > > session fixation attack.
> > > >
> > > > Martin Grigorov
> > > > Funemployed! Available for hire!
> > > > Wicket Training and Consulting
> > > > https://twitter.com/mtgrigorov
> > > >
> > > > On Tue, Mar 10, 2015 at 6:27 PM, Ernesto Reinaldo Barreiro <
> > > > reiern70@gmail.com> wrote:
> > > >
> > > > > Is this to secure resources? The same as pages/components?
> > > > >
> > > > > On Tue, Mar 10, 2015 at 5:23 PM, Martin Grigorov <
> > mgrigorov@apache.org
> > > >
> > > > > wrote:
> > > > >
> > > > > > I think we should revert a change in auth-roles. It caused four
> > > issues
> > > > so
> > > > > > far...
> > > > > > There is a ticket already!
> > > > > > On Mar 10, 2015 5:41 PM, "Maxim Solodovnik" <
> solomax666@gmail.com>
> > > > > wrote:
> > > > > >
> > > > > > > works :)
> > > > > > > Thanks!
> > > > > > >
> > > > > > > should I add this change to main app? or you going to fix it in
> > > > Wicket?
> > > > > > >
> > > > > > > On Tue, Mar 10, 2015 at 9:37 PM, Martin Grigorov <
> > > > mgrigorov@apache.org
> > > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Maxim,
> > > > > > > >
> > > > > > > > Try with MyAuthSession extends AuthenticatedWebSession {
> > > > > > > >
> > > > > > > >   @Override public void replaceSession() {}
> > > > > > > > }
> > > > > > > >
> > > > > > > > i.e. make #replaceSession() a noop
> > > > > > > >
> > > > > > > > Martin Grigorov
> > > > > > > > Funemployed! Available for hire!
> > > > > > > > Wicket Training and Consulting
> > > > > > > > https://twitter.com/mtgrigorov
> > > > > > > >
> > > > > > > > On Tue, Mar 10, 2015 at 5:29 PM, Maxim Solodovnik <
> > > > > > solomax666@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > This is the code:
> > > https://github.com/solomax/WicketSelect2Clear
> > > > > > > > >
> > > > > > > > > On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <
> sebfz1@gmail.com
> > >
> > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Well done Maxim, this will probably ease upcoming
> > > > > investigation....
> > > > > > > > > >
> > > > > > > > > > On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <
> > > > > > > > solomax666@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I can provide a link to the github project
> demonstrating
> > > this
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <
> > > > > > > > > solomax666@gmail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Yes
> > > > > > > > > > > > It is reproducible with dummy App based on
> > > > > > > > > AuthenticatedWebApplication
> > > > > > > > > > > > Seems like resources are not being available for
> > download
> > > > > > without
> > > > > > > > > auth
> > > > > > > > > > > > anymore
> > > > > > > > > > > >
> > > > > > > > > > > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> > > > > > > > > > solomax666@gmail.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > >> Simple app works as expected :(
> > > > > > > > > > > >> Will try to convert it to AuthApp (seems to be
> > security
> > > > > > related
> > > > > > > > > issue)
> > > > > > > > > > > >>
> > > > > > > > > > > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> > > > > > > > > > solomax666@gmail.com
> > > > > > > > > > > >
> > > > > > > > > > > >> wrote:
> > > > > > > > > > > >>
> > > > > > > > > > > >>> It's our main application, will try to create
> simple
> > > > > > quickstart
> > > > > > > > > > > >>>
> > > > > > > > > > > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <
> > > > > sebfz1@gmail.com
> > > > > > >
> > > > > > > > > wrote:
> > > > > > > > > > > >>>
> > > > > > > > > > > >>>> Hi Maxim,
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> Thank you very much for confirming, because I am
> > > > battling
> > > > > to
> > > > > > > > > > reproduce
> > > > > > > > > > > >>>> it
> > > > > > > > > > > >>>> in a simple quickstart!.. :(
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> Best regards,
> > > > > > > > > > > >>>> Sebastien.
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik
> <
> > > > > > > > > > > solomax666@gmail.com
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>> wrote:
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> > Got this exception in the logs:
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324
> > 347
> > > > > > > > > > > RequestCycleExtra
> > > > > > > > > > > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the
> > > > following
> > > > > > > > > exception
> > > > > > > > > > > >>>> > org.apache.wicket.markup.MarkupException: The
> > > > component
> > > > > > > > > > > >>>> > [TransparentWebMarkupContainer [Component id =
> > > > > > > > > > > >>>> > wicket_relative_path_prefix_0]] was rendered
> > > already.
> > > > > You
> > > > > > > can
> > > > > > > > > > render
> > > > > > > > > > > >>>> it
> > > > > > > > > > > >>>> > only once during a render phase. Class relative
> > > path:
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > > > > > > > > > > >>>> > at
> > > > > org.apache.wicket.Page.componentRendered(Page.java:211)
> > > > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > > > >>>> > at
> > > > > > org.apache.wicket.Component.rendered(Component.java:2622)
> > > > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > > > >>>> > at
> > > > > > > > >
> > org.apache.wicket.Component.internalRender(Component.java:2383)
> > > > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > > > >>>> > at
> > > > > org.apache.wicket.Component.render(Component.java:2307)
> > > > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim
> Solodovnik
> > <
> > > > > > > > > > > >>>> solomax666@gmail.com>
> > > > > > > > > > > >>>> > wrote:
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>> > > Can confirm :(
> > > > > > > > > > > >>>> > > Same here with our main application
> > > > > > > > > > > >>>> > >
> > > > > > > > > > > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <
> > > > > > > > sebfz1@gmail.com>
> > > > > > > > > > > >>>> wrote:
> > > > > > > > > > > >>>> > >
> > > > > > > > > > > >>>> > >> Hi team :)
> > > > > > > > > > > >>>> > >>
> > > > > > > > > > > >>>> > >> Back to work this morning...As usual, I am
> > > > > recompiling
> > > > > > > and
> > > > > > > > > > > >>>> redeploy the
> > > > > > > > > > > >>>> > >> webapp I am working on, based on
> > 7.0.0-SNAPSHOT.
> > > > > > > > > > > >>>> > >>
> > > > > > > > > > > >>>> > >> It seems that I am facing to a serious issue:
> > no
> > > > > > resource
> > > > > > > > > > > >>>> reference can
> > > > > > > > > > > >>>> > be
> > > > > > > > > > > >>>> > >> downloaded by the client, for instance:
> > > > > > > > > > > >>>> > >>
> > > > > > > > > > > >>>> > >> "NetworkError: 403 Forbidden -
> > > > > > > > > > > >>>> > >>
> > > > > > > > > > > >>>> > >>
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > > > > > > > > > > >>>> > >> "
> > > > > > > > > > > >>>> > >>
> > > > > > > > > > > >>>> > >> I did recompiled/redeployed with -M5, all is
> > ok.
> > > > > > > > > > > >>>> > >>
> > > > > > > > > > > >>>> > >> As I was on vacation these last 2 weeks (it
> was
> > > > very
> > > > > > > great
> > > > > > > > > > thank
> > > > > > > > > > > >>>> you :)
> > > > > > > > > > > >>>> > ),
> > > > > > > > > > > >>>> > >> I am not very aware of what did changed
> > recently.
> > > > Any
> > > > > > > > ideas?
> > > > > > > > > > > >>>> > >>
> > > > > > > > > > > >>>> > >> Thanks a lot in advance,
> > > > > > > > > > > >>>> > >> Sebastien.
> > > > > > > > > > > >>>> > >>
> > > > > > > > > > > >>>> > >
> > > > > > > > > > > >>>> > >
> > > > > > > > > > > >>>> > >
> > > > > > > > > > > >>>> > > --
> > > > > > > > > > > >>>> > > WBR
> > > > > > > > > > > >>>> > > Maxim aka solomax
> > > > > > > > > > > >>>> > >
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>> > --
> > > > > > > > > > > >>>> > WBR
> > > > > > > > > > > >>>> > Maxim aka solomax
> > > > > > > > > > > >>>> >
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>
> > > > > > > > > > > >>>
> > > > > > > > > > > >>>
> > > > > > > > > > > >>> --
> > > > > > > > > > > >>> WBR
> > > > > > > > > > > >>> Maxim aka solomax
> > > > > > > > > > > >>>
> > > > > > > > > > > >>
> > > > > > > > > > > >>
> > > > > > > > > > > >>
> > > > > > > > > > > >> --
> > > > > > > > > > > >> WBR
> > > > > > > > > > > >> Maxim aka solomax
> > > > > > > > > > > >>
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > WBR
> > > > > > > > > > > > Maxim aka solomax
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > WBR
> > > > > > > > > > > Maxim aka solomax
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > WBR
> > > > > > > > > Maxim aka solomax
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > WBR
> > > > > > > Maxim aka solomax
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Regards - Ernesto Reinaldo Barreiro
> > > > >
> > > >
> > >
> >
>

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Sebastien <se...@gmail.com>.
Hi,

Thanks Martin, git-bisect is really helpful!

The involved commit is b8b9b30173921215972238a34395725a08c70fb3:
WICKET-5749 add AuthorizeResource to auth-roles so Resources can be
protected too

I will try to make a quickstart that repro the issue...

Best regards,
Sebastien


On Tue, Apr 21, 2015 at 9:05 AM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi Sebastien,
>
> You can use 'git bisect' to track which change in Wicket code led to this
> broken behavior for your application.
> Or create a quickstart and someone else will do the same :-)
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Mon, Apr 20, 2015 at 8:04 PM, Sebastien <se...@gmail.com> wrote:
>
> > Hi,
> >
> > Just to let you know I'm still suffering on this issue. I've forgot I had
> > reverted poms version to -M5... Sorry for awaking so late !
> >
> > In my case this is not related to AuthenticationWebSession (I do not
> extend
> > it), and - I guess - nothing related to an authenticated user. The issue
> > appear as soon as I reach the homepage...
> >
> > I will try to make a quickstart asap !
> >
> > Best regards,
> > Sebastien.
> >
> >
> > On Tue, Mar 10, 2015 at 8:26 PM, Martin Grigorov <mg...@apache.org>
> > wrote:
> >
> > > No.
> > > The change has been introduced with
> > > https://issues.apache.org/jira/browse/WICKET-5775 - automatic support
> > for
> > > session fixation attack.
> > >
> > > Martin Grigorov
> > > Funemployed! Available for hire!
> > > Wicket Training and Consulting
> > > https://twitter.com/mtgrigorov
> > >
> > > On Tue, Mar 10, 2015 at 6:27 PM, Ernesto Reinaldo Barreiro <
> > > reiern70@gmail.com> wrote:
> > >
> > > > Is this to secure resources? The same as pages/components?
> > > >
> > > > On Tue, Mar 10, 2015 at 5:23 PM, Martin Grigorov <
> mgrigorov@apache.org
> > >
> > > > wrote:
> > > >
> > > > > I think we should revert a change in auth-roles. It caused four
> > issues
> > > so
> > > > > far...
> > > > > There is a ticket already!
> > > > > On Mar 10, 2015 5:41 PM, "Maxim Solodovnik" <so...@gmail.com>
> > > > wrote:
> > > > >
> > > > > > works :)
> > > > > > Thanks!
> > > > > >
> > > > > > should I add this change to main app? or you going to fix it in
> > > Wicket?
> > > > > >
> > > > > > On Tue, Mar 10, 2015 at 9:37 PM, Martin Grigorov <
> > > mgrigorov@apache.org
> > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Maxim,
> > > > > > >
> > > > > > > Try with MyAuthSession extends AuthenticatedWebSession {
> > > > > > >
> > > > > > >   @Override public void replaceSession() {}
> > > > > > > }
> > > > > > >
> > > > > > > i.e. make #replaceSession() a noop
> > > > > > >
> > > > > > > Martin Grigorov
> > > > > > > Funemployed! Available for hire!
> > > > > > > Wicket Training and Consulting
> > > > > > > https://twitter.com/mtgrigorov
> > > > > > >
> > > > > > > On Tue, Mar 10, 2015 at 5:29 PM, Maxim Solodovnik <
> > > > > solomax666@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > This is the code:
> > https://github.com/solomax/WicketSelect2Clear
> > > > > > > >
> > > > > > > > On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <sebfz1@gmail.com
> >
> > > > wrote:
> > > > > > > >
> > > > > > > > > Well done Maxim, this will probably ease upcoming
> > > > investigation....
> > > > > > > > >
> > > > > > > > > On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <
> > > > > > > solomax666@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > I can provide a link to the github project demonstrating
> > this
> > > > > > > > > >
> > > > > > > > > > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <
> > > > > > > > solomax666@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Yes
> > > > > > > > > > > It is reproducible with dummy App based on
> > > > > > > > AuthenticatedWebApplication
> > > > > > > > > > > Seems like resources are not being available for
> download
> > > > > without
> > > > > > > > auth
> > > > > > > > > > > anymore
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> > > > > > > > > solomax666@gmail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > >> Simple app works as expected :(
> > > > > > > > > > >> Will try to convert it to AuthApp (seems to be
> security
> > > > > related
> > > > > > > > issue)
> > > > > > > > > > >>
> > > > > > > > > > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> > > > > > > > > solomax666@gmail.com
> > > > > > > > > > >
> > > > > > > > > > >> wrote:
> > > > > > > > > > >>
> > > > > > > > > > >>> It's our main application, will try to create simple
> > > > > quickstart
> > > > > > > > > > >>>
> > > > > > > > > > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <
> > > > sebfz1@gmail.com
> > > > > >
> > > > > > > > wrote:
> > > > > > > > > > >>>
> > > > > > > > > > >>>> Hi Maxim,
> > > > > > > > > > >>>>
> > > > > > > > > > >>>> Thank you very much for confirming, because I am
> > > battling
> > > > to
> > > > > > > > > reproduce
> > > > > > > > > > >>>> it
> > > > > > > > > > >>>> in a simple quickstart!.. :(
> > > > > > > > > > >>>>
> > > > > > > > > > >>>> Best regards,
> > > > > > > > > > >>>> Sebastien.
> > > > > > > > > > >>>>
> > > > > > > > > > >>>>
> > > > > > > > > > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> > > > > > > > > > solomax666@gmail.com
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>> wrote:
> > > > > > > > > > >>>>
> > > > > > > > > > >>>> > Got this exception in the logs:
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324
> 347
> > > > > > > > > > RequestCycleExtra
> > > > > > > > > > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the
> > > following
> > > > > > > > exception
> > > > > > > > > > >>>> > org.apache.wicket.markup.MarkupException: The
> > > component
> > > > > > > > > > >>>> > [TransparentWebMarkupContainer [Component id =
> > > > > > > > > > >>>> > wicket_relative_path_prefix_0]] was rendered
> > already.
> > > > You
> > > > > > can
> > > > > > > > > render
> > > > > > > > > > >>>> it
> > > > > > > > > > >>>> > only once during a render phase. Class relative
> > path:
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > > > > > > > > > >>>> > at
> > > > org.apache.wicket.Page.componentRendered(Page.java:211)
> > > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > > >>>> > at
> > > > > org.apache.wicket.Component.rendered(Component.java:2622)
> > > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > > >>>> > at
> > > > > > > >
> org.apache.wicket.Component.internalRender(Component.java:2383)
> > > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > > >>>> > at
> > > > org.apache.wicket.Component.render(Component.java:2307)
> > > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik
> <
> > > > > > > > > > >>>> solomax666@gmail.com>
> > > > > > > > > > >>>> > wrote:
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>> > > Can confirm :(
> > > > > > > > > > >>>> > > Same here with our main application
> > > > > > > > > > >>>> > >
> > > > > > > > > > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <
> > > > > > > sebfz1@gmail.com>
> > > > > > > > > > >>>> wrote:
> > > > > > > > > > >>>> > >
> > > > > > > > > > >>>> > >> Hi team :)
> > > > > > > > > > >>>> > >>
> > > > > > > > > > >>>> > >> Back to work this morning...As usual, I am
> > > > recompiling
> > > > > > and
> > > > > > > > > > >>>> redeploy the
> > > > > > > > > > >>>> > >> webapp I am working on, based on
> 7.0.0-SNAPSHOT.
> > > > > > > > > > >>>> > >>
> > > > > > > > > > >>>> > >> It seems that I am facing to a serious issue:
> no
> > > > > resource
> > > > > > > > > > >>>> reference can
> > > > > > > > > > >>>> > be
> > > > > > > > > > >>>> > >> downloaded by the client, for instance:
> > > > > > > > > > >>>> > >>
> > > > > > > > > > >>>> > >> "NetworkError: 403 Forbidden -
> > > > > > > > > > >>>> > >>
> > > > > > > > > > >>>> > >>
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > > > > > > > > > >>>> > >> "
> > > > > > > > > > >>>> > >>
> > > > > > > > > > >>>> > >> I did recompiled/redeployed with -M5, all is
> ok.
> > > > > > > > > > >>>> > >>
> > > > > > > > > > >>>> > >> As I was on vacation these last 2 weeks (it was
> > > very
> > > > > > great
> > > > > > > > > thank
> > > > > > > > > > >>>> you :)
> > > > > > > > > > >>>> > ),
> > > > > > > > > > >>>> > >> I am not very aware of what did changed
> recently.
> > > Any
> > > > > > > ideas?
> > > > > > > > > > >>>> > >>
> > > > > > > > > > >>>> > >> Thanks a lot in advance,
> > > > > > > > > > >>>> > >> Sebastien.
> > > > > > > > > > >>>> > >>
> > > > > > > > > > >>>> > >
> > > > > > > > > > >>>> > >
> > > > > > > > > > >>>> > >
> > > > > > > > > > >>>> > > --
> > > > > > > > > > >>>> > > WBR
> > > > > > > > > > >>>> > > Maxim aka solomax
> > > > > > > > > > >>>> > >
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>> > --
> > > > > > > > > > >>>> > WBR
> > > > > > > > > > >>>> > Maxim aka solomax
> > > > > > > > > > >>>> >
> > > > > > > > > > >>>>
> > > > > > > > > > >>>
> > > > > > > > > > >>>
> > > > > > > > > > >>>
> > > > > > > > > > >>> --
> > > > > > > > > > >>> WBR
> > > > > > > > > > >>> Maxim aka solomax
> > > > > > > > > > >>>
> > > > > > > > > > >>
> > > > > > > > > > >>
> > > > > > > > > > >>
> > > > > > > > > > >> --
> > > > > > > > > > >> WBR
> > > > > > > > > > >> Maxim aka solomax
> > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > WBR
> > > > > > > > > > > Maxim aka solomax
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > WBR
> > > > > > > > > > Maxim aka solomax
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > WBR
> > > > > > > > Maxim aka solomax
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > WBR
> > > > > > Maxim aka solomax
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Regards - Ernesto Reinaldo Barreiro
> > > >
> > >
> >
>

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Martin Grigorov <mg...@apache.org>.
Hi Sebastien,

You can use 'git bisect' to track which change in Wicket code led to this
broken behavior for your application.
Or create a quickstart and someone else will do the same :-)

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Apr 20, 2015 at 8:04 PM, Sebastien <se...@gmail.com> wrote:

> Hi,
>
> Just to let you know I'm still suffering on this issue. I've forgot I had
> reverted poms version to -M5... Sorry for awaking so late !
>
> In my case this is not related to AuthenticationWebSession (I do not extend
> it), and - I guess - nothing related to an authenticated user. The issue
> appear as soon as I reach the homepage...
>
> I will try to make a quickstart asap !
>
> Best regards,
> Sebastien.
>
>
> On Tue, Mar 10, 2015 at 8:26 PM, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > No.
> > The change has been introduced with
> > https://issues.apache.org/jira/browse/WICKET-5775 - automatic support
> for
> > session fixation attack.
> >
> > Martin Grigorov
> > Funemployed! Available for hire!
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Tue, Mar 10, 2015 at 6:27 PM, Ernesto Reinaldo Barreiro <
> > reiern70@gmail.com> wrote:
> >
> > > Is this to secure resources? The same as pages/components?
> > >
> > > On Tue, Mar 10, 2015 at 5:23 PM, Martin Grigorov <mgrigorov@apache.org
> >
> > > wrote:
> > >
> > > > I think we should revert a change in auth-roles. It caused four
> issues
> > so
> > > > far...
> > > > There is a ticket already!
> > > > On Mar 10, 2015 5:41 PM, "Maxim Solodovnik" <so...@gmail.com>
> > > wrote:
> > > >
> > > > > works :)
> > > > > Thanks!
> > > > >
> > > > > should I add this change to main app? or you going to fix it in
> > Wicket?
> > > > >
> > > > > On Tue, Mar 10, 2015 at 9:37 PM, Martin Grigorov <
> > mgrigorov@apache.org
> > > >
> > > > > wrote:
> > > > >
> > > > > > Maxim,
> > > > > >
> > > > > > Try with MyAuthSession extends AuthenticatedWebSession {
> > > > > >
> > > > > >   @Override public void replaceSession() {}
> > > > > > }
> > > > > >
> > > > > > i.e. make #replaceSession() a noop
> > > > > >
> > > > > > Martin Grigorov
> > > > > > Funemployed! Available for hire!
> > > > > > Wicket Training and Consulting
> > > > > > https://twitter.com/mtgrigorov
> > > > > >
> > > > > > On Tue, Mar 10, 2015 at 5:29 PM, Maxim Solodovnik <
> > > > solomax666@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > This is the code:
> https://github.com/solomax/WicketSelect2Clear
> > > > > > >
> > > > > > > On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <se...@gmail.com>
> > > wrote:
> > > > > > >
> > > > > > > > Well done Maxim, this will probably ease upcoming
> > > investigation....
> > > > > > > >
> > > > > > > > On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <
> > > > > > solomax666@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > I can provide a link to the github project demonstrating
> this
> > > > > > > > >
> > > > > > > > > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <
> > > > > > > solomax666@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Yes
> > > > > > > > > > It is reproducible with dummy App based on
> > > > > > > AuthenticatedWebApplication
> > > > > > > > > > Seems like resources are not being available for download
> > > > without
> > > > > > > auth
> > > > > > > > > > anymore
> > > > > > > > > >
> > > > > > > > > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> > > > > > > > solomax666@gmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > >> Simple app works as expected :(
> > > > > > > > > >> Will try to convert it to AuthApp (seems to be security
> > > > related
> > > > > > > issue)
> > > > > > > > > >>
> > > > > > > > > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> > > > > > > > solomax666@gmail.com
> > > > > > > > > >
> > > > > > > > > >> wrote:
> > > > > > > > > >>
> > > > > > > > > >>> It's our main application, will try to create simple
> > > > quickstart
> > > > > > > > > >>>
> > > > > > > > > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <
> > > sebfz1@gmail.com
> > > > >
> > > > > > > wrote:
> > > > > > > > > >>>
> > > > > > > > > >>>> Hi Maxim,
> > > > > > > > > >>>>
> > > > > > > > > >>>> Thank you very much for confirming, because I am
> > battling
> > > to
> > > > > > > > reproduce
> > > > > > > > > >>>> it
> > > > > > > > > >>>> in a simple quickstart!.. :(
> > > > > > > > > >>>>
> > > > > > > > > >>>> Best regards,
> > > > > > > > > >>>> Sebastien.
> > > > > > > > > >>>>
> > > > > > > > > >>>>
> > > > > > > > > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> > > > > > > > > solomax666@gmail.com
> > > > > > > > > >>>> >
> > > > > > > > > >>>> wrote:
> > > > > > > > > >>>>
> > > > > > > > > >>>> > Got this exception in the logs:
> > > > > > > > > >>>> >
> > > > > > > > > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347
> > > > > > > > > RequestCycleExtra
> > > > > > > > > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the
> > following
> > > > > > > exception
> > > > > > > > > >>>> > org.apache.wicket.markup.MarkupException: The
> > component
> > > > > > > > > >>>> > [TransparentWebMarkupContainer [Component id =
> > > > > > > > > >>>> > wicket_relative_path_prefix_0]] was rendered
> already.
> > > You
> > > > > can
> > > > > > > > render
> > > > > > > > > >>>> it
> > > > > > > > > >>>> > only once during a render phase. Class relative
> path:
> > > > > > > > > >>>> >
> > > > > > > > > >>>> >
> > > > > > > > > >>>>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > > > > > > > > >>>> > at
> > > org.apache.wicket.Page.componentRendered(Page.java:211)
> > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > >>>> > at
> > > > org.apache.wicket.Component.rendered(Component.java:2622)
> > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > >>>> > at
> > > > > > > org.apache.wicket.Component.internalRender(Component.java:2383)
> > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > >>>> > at
> > > org.apache.wicket.Component.render(Component.java:2307)
> > > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > > >>>> >
> > > > > > > > > >>>> >
> > > > > > > > > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
> > > > > > > > > >>>> solomax666@gmail.com>
> > > > > > > > > >>>> > wrote:
> > > > > > > > > >>>> >
> > > > > > > > > >>>> > > Can confirm :(
> > > > > > > > > >>>> > > Same here with our main application
> > > > > > > > > >>>> > >
> > > > > > > > > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <
> > > > > > sebfz1@gmail.com>
> > > > > > > > > >>>> wrote:
> > > > > > > > > >>>> > >
> > > > > > > > > >>>> > >> Hi team :)
> > > > > > > > > >>>> > >>
> > > > > > > > > >>>> > >> Back to work this morning...As usual, I am
> > > recompiling
> > > > > and
> > > > > > > > > >>>> redeploy the
> > > > > > > > > >>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> > > > > > > > > >>>> > >>
> > > > > > > > > >>>> > >> It seems that I am facing to a serious issue: no
> > > > resource
> > > > > > > > > >>>> reference can
> > > > > > > > > >>>> > be
> > > > > > > > > >>>> > >> downloaded by the client, for instance:
> > > > > > > > > >>>> > >>
> > > > > > > > > >>>> > >> "NetworkError: 403 Forbidden -
> > > > > > > > > >>>> > >>
> > > > > > > > > >>>> > >>
> > > > > > > > > >>>> >
> > > > > > > > > >>>>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > > > > > > > > >>>> > >> "
> > > > > > > > > >>>> > >>
> > > > > > > > > >>>> > >> I did recompiled/redeployed with -M5, all is ok.
> > > > > > > > > >>>> > >>
> > > > > > > > > >>>> > >> As I was on vacation these last 2 weeks (it was
> > very
> > > > > great
> > > > > > > > thank
> > > > > > > > > >>>> you :)
> > > > > > > > > >>>> > ),
> > > > > > > > > >>>> > >> I am not very aware of what did changed recently.
> > Any
> > > > > > ideas?
> > > > > > > > > >>>> > >>
> > > > > > > > > >>>> > >> Thanks a lot in advance,
> > > > > > > > > >>>> > >> Sebastien.
> > > > > > > > > >>>> > >>
> > > > > > > > > >>>> > >
> > > > > > > > > >>>> > >
> > > > > > > > > >>>> > >
> > > > > > > > > >>>> > > --
> > > > > > > > > >>>> > > WBR
> > > > > > > > > >>>> > > Maxim aka solomax
> > > > > > > > > >>>> > >
> > > > > > > > > >>>> >
> > > > > > > > > >>>> >
> > > > > > > > > >>>> >
> > > > > > > > > >>>> > --
> > > > > > > > > >>>> > WBR
> > > > > > > > > >>>> > Maxim aka solomax
> > > > > > > > > >>>> >
> > > > > > > > > >>>>
> > > > > > > > > >>>
> > > > > > > > > >>>
> > > > > > > > > >>>
> > > > > > > > > >>> --
> > > > > > > > > >>> WBR
> > > > > > > > > >>> Maxim aka solomax
> > > > > > > > > >>>
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> --
> > > > > > > > > >> WBR
> > > > > > > > > >> Maxim aka solomax
> > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > WBR
> > > > > > > > > > Maxim aka solomax
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > WBR
> > > > > > > > > Maxim aka solomax
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > WBR
> > > > > > > Maxim aka solomax
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > WBR
> > > > > Maxim aka solomax
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Regards - Ernesto Reinaldo Barreiro
> > >
> >
>

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Sebastien <se...@gmail.com>.
Hi,

Just to let you know I'm still suffering on this issue. I've forgot I had
reverted poms version to -M5... Sorry for awaking so late !

In my case this is not related to AuthenticationWebSession (I do not extend
it), and - I guess - nothing related to an authenticated user. The issue
appear as soon as I reach the homepage...

I will try to make a quickstart asap !

Best regards,
Sebastien.


On Tue, Mar 10, 2015 at 8:26 PM, Martin Grigorov <mg...@apache.org>
wrote:

> No.
> The change has been introduced with
> https://issues.apache.org/jira/browse/WICKET-5775 - automatic support for
> session fixation attack.
>
> Martin Grigorov
> Funemployed! Available for hire!
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Mar 10, 2015 at 6:27 PM, Ernesto Reinaldo Barreiro <
> reiern70@gmail.com> wrote:
>
> > Is this to secure resources? The same as pages/components?
> >
> > On Tue, Mar 10, 2015 at 5:23 PM, Martin Grigorov <mg...@apache.org>
> > wrote:
> >
> > > I think we should revert a change in auth-roles. It caused four issues
> so
> > > far...
> > > There is a ticket already!
> > > On Mar 10, 2015 5:41 PM, "Maxim Solodovnik" <so...@gmail.com>
> > wrote:
> > >
> > > > works :)
> > > > Thanks!
> > > >
> > > > should I add this change to main app? or you going to fix it in
> Wicket?
> > > >
> > > > On Tue, Mar 10, 2015 at 9:37 PM, Martin Grigorov <
> mgrigorov@apache.org
> > >
> > > > wrote:
> > > >
> > > > > Maxim,
> > > > >
> > > > > Try with MyAuthSession extends AuthenticatedWebSession {
> > > > >
> > > > >   @Override public void replaceSession() {}
> > > > > }
> > > > >
> > > > > i.e. make #replaceSession() a noop
> > > > >
> > > > > Martin Grigorov
> > > > > Funemployed! Available for hire!
> > > > > Wicket Training and Consulting
> > > > > https://twitter.com/mtgrigorov
> > > > >
> > > > > On Tue, Mar 10, 2015 at 5:29 PM, Maxim Solodovnik <
> > > solomax666@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > This is the code: https://github.com/solomax/WicketSelect2Clear
> > > > > >
> > > > > > On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <se...@gmail.com>
> > wrote:
> > > > > >
> > > > > > > Well done Maxim, this will probably ease upcoming
> > investigation....
> > > > > > >
> > > > > > > On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <
> > > > > solomax666@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > I can provide a link to the github project demonstrating this
> > > > > > > >
> > > > > > > > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <
> > > > > > solomax666@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Yes
> > > > > > > > > It is reproducible with dummy App based on
> > > > > > AuthenticatedWebApplication
> > > > > > > > > Seems like resources are not being available for download
> > > without
> > > > > > auth
> > > > > > > > > anymore
> > > > > > > > >
> > > > > > > > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> > > > > > > solomax666@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > >> Simple app works as expected :(
> > > > > > > > >> Will try to convert it to AuthApp (seems to be security
> > > related
> > > > > > issue)
> > > > > > > > >>
> > > > > > > > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> > > > > > > solomax666@gmail.com
> > > > > > > > >
> > > > > > > > >> wrote:
> > > > > > > > >>
> > > > > > > > >>> It's our main application, will try to create simple
> > > quickstart
> > > > > > > > >>>
> > > > > > > > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <
> > sebfz1@gmail.com
> > > >
> > > > > > wrote:
> > > > > > > > >>>
> > > > > > > > >>>> Hi Maxim,
> > > > > > > > >>>>
> > > > > > > > >>>> Thank you very much for confirming, because I am
> battling
> > to
> > > > > > > reproduce
> > > > > > > > >>>> it
> > > > > > > > >>>> in a simple quickstart!.. :(
> > > > > > > > >>>>
> > > > > > > > >>>> Best regards,
> > > > > > > > >>>> Sebastien.
> > > > > > > > >>>>
> > > > > > > > >>>>
> > > > > > > > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> > > > > > > > solomax666@gmail.com
> > > > > > > > >>>> >
> > > > > > > > >>>> wrote:
> > > > > > > > >>>>
> > > > > > > > >>>> > Got this exception in the logs:
> > > > > > > > >>>> >
> > > > > > > > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347
> > > > > > > > RequestCycleExtra
> > > > > > > > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the
> following
> > > > > > exception
> > > > > > > > >>>> > org.apache.wicket.markup.MarkupException: The
> component
> > > > > > > > >>>> > [TransparentWebMarkupContainer [Component id =
> > > > > > > > >>>> > wicket_relative_path_prefix_0]] was rendered already.
> > You
> > > > can
> > > > > > > render
> > > > > > > > >>>> it
> > > > > > > > >>>> > only once during a render phase. Class relative path:
> > > > > > > > >>>> >
> > > > > > > > >>>> >
> > > > > > > > >>>>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > > > > > > > >>>> > at
> > org.apache.wicket.Page.componentRendered(Page.java:211)
> > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > >>>> > at
> > > org.apache.wicket.Component.rendered(Component.java:2622)
> > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > >>>> > at
> > > > > > org.apache.wicket.Component.internalRender(Component.java:2383)
> > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > >>>> > at
> > org.apache.wicket.Component.render(Component.java:2307)
> > > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > > >>>> >
> > > > > > > > >>>> >
> > > > > > > > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
> > > > > > > > >>>> solomax666@gmail.com>
> > > > > > > > >>>> > wrote:
> > > > > > > > >>>> >
> > > > > > > > >>>> > > Can confirm :(
> > > > > > > > >>>> > > Same here with our main application
> > > > > > > > >>>> > >
> > > > > > > > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <
> > > > > sebfz1@gmail.com>
> > > > > > > > >>>> wrote:
> > > > > > > > >>>> > >
> > > > > > > > >>>> > >> Hi team :)
> > > > > > > > >>>> > >>
> > > > > > > > >>>> > >> Back to work this morning...As usual, I am
> > recompiling
> > > > and
> > > > > > > > >>>> redeploy the
> > > > > > > > >>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> > > > > > > > >>>> > >>
> > > > > > > > >>>> > >> It seems that I am facing to a serious issue: no
> > > resource
> > > > > > > > >>>> reference can
> > > > > > > > >>>> > be
> > > > > > > > >>>> > >> downloaded by the client, for instance:
> > > > > > > > >>>> > >>
> > > > > > > > >>>> > >> "NetworkError: 403 Forbidden -
> > > > > > > > >>>> > >>
> > > > > > > > >>>> > >>
> > > > > > > > >>>> >
> > > > > > > > >>>>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > > > > > > > >>>> > >> "
> > > > > > > > >>>> > >>
> > > > > > > > >>>> > >> I did recompiled/redeployed with -M5, all is ok.
> > > > > > > > >>>> > >>
> > > > > > > > >>>> > >> As I was on vacation these last 2 weeks (it was
> very
> > > > great
> > > > > > > thank
> > > > > > > > >>>> you :)
> > > > > > > > >>>> > ),
> > > > > > > > >>>> > >> I am not very aware of what did changed recently.
> Any
> > > > > ideas?
> > > > > > > > >>>> > >>
> > > > > > > > >>>> > >> Thanks a lot in advance,
> > > > > > > > >>>> > >> Sebastien.
> > > > > > > > >>>> > >>
> > > > > > > > >>>> > >
> > > > > > > > >>>> > >
> > > > > > > > >>>> > >
> > > > > > > > >>>> > > --
> > > > > > > > >>>> > > WBR
> > > > > > > > >>>> > > Maxim aka solomax
> > > > > > > > >>>> > >
> > > > > > > > >>>> >
> > > > > > > > >>>> >
> > > > > > > > >>>> >
> > > > > > > > >>>> > --
> > > > > > > > >>>> > WBR
> > > > > > > > >>>> > Maxim aka solomax
> > > > > > > > >>>> >
> > > > > > > > >>>>
> > > > > > > > >>>
> > > > > > > > >>>
> > > > > > > > >>>
> > > > > > > > >>> --
> > > > > > > > >>> WBR
> > > > > > > > >>> Maxim aka solomax
> > > > > > > > >>>
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > > >> --
> > > > > > > > >> WBR
> > > > > > > > >> Maxim aka solomax
> > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > WBR
> > > > > > > > > Maxim aka solomax
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > WBR
> > > > > > > > Maxim aka solomax
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > WBR
> > > > > > Maxim aka solomax
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > WBR
> > > > Maxim aka solomax
> > > >
> > >
> >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> >
>

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Martin Grigorov <mg...@apache.org>.
No.
The change has been introduced with
https://issues.apache.org/jira/browse/WICKET-5775 - automatic support for
session fixation attack.

Martin Grigorov
Funemployed! Available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Mar 10, 2015 at 6:27 PM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Is this to secure resources? The same as pages/components?
>
> On Tue, Mar 10, 2015 at 5:23 PM, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > I think we should revert a change in auth-roles. It caused four issues so
> > far...
> > There is a ticket already!
> > On Mar 10, 2015 5:41 PM, "Maxim Solodovnik" <so...@gmail.com>
> wrote:
> >
> > > works :)
> > > Thanks!
> > >
> > > should I add this change to main app? or you going to fix it in Wicket?
> > >
> > > On Tue, Mar 10, 2015 at 9:37 PM, Martin Grigorov <mgrigorov@apache.org
> >
> > > wrote:
> > >
> > > > Maxim,
> > > >
> > > > Try with MyAuthSession extends AuthenticatedWebSession {
> > > >
> > > >   @Override public void replaceSession() {}
> > > > }
> > > >
> > > > i.e. make #replaceSession() a noop
> > > >
> > > > Martin Grigorov
> > > > Funemployed! Available for hire!
> > > > Wicket Training and Consulting
> > > > https://twitter.com/mtgrigorov
> > > >
> > > > On Tue, Mar 10, 2015 at 5:29 PM, Maxim Solodovnik <
> > solomax666@gmail.com>
> > > > wrote:
> > > >
> > > > > This is the code: https://github.com/solomax/WicketSelect2Clear
> > > > >
> > > > > On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <se...@gmail.com>
> wrote:
> > > > >
> > > > > > Well done Maxim, this will probably ease upcoming
> investigation....
> > > > > >
> > > > > > On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <
> > > > solomax666@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > I can provide a link to the github project demonstrating this
> > > > > > >
> > > > > > > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <
> > > > > solomax666@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Yes
> > > > > > > > It is reproducible with dummy App based on
> > > > > AuthenticatedWebApplication
> > > > > > > > Seems like resources are not being available for download
> > without
> > > > > auth
> > > > > > > > anymore
> > > > > > > >
> > > > > > > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> > > > > > solomax666@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > >> Simple app works as expected :(
> > > > > > > >> Will try to convert it to AuthApp (seems to be security
> > related
> > > > > issue)
> > > > > > > >>
> > > > > > > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> > > > > > solomax666@gmail.com
> > > > > > > >
> > > > > > > >> wrote:
> > > > > > > >>
> > > > > > > >>> It's our main application, will try to create simple
> > quickstart
> > > > > > > >>>
> > > > > > > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <
> sebfz1@gmail.com
> > >
> > > > > wrote:
> > > > > > > >>>
> > > > > > > >>>> Hi Maxim,
> > > > > > > >>>>
> > > > > > > >>>> Thank you very much for confirming, because I am battling
> to
> > > > > > reproduce
> > > > > > > >>>> it
> > > > > > > >>>> in a simple quickstart!.. :(
> > > > > > > >>>>
> > > > > > > >>>> Best regards,
> > > > > > > >>>> Sebastien.
> > > > > > > >>>>
> > > > > > > >>>>
> > > > > > > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> > > > > > > solomax666@gmail.com
> > > > > > > >>>> >
> > > > > > > >>>> wrote:
> > > > > > > >>>>
> > > > > > > >>>> > Got this exception in the logs:
> > > > > > > >>>> >
> > > > > > > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347
> > > > > > > RequestCycleExtra
> > > > > > > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following
> > > > > exception
> > > > > > > >>>> > org.apache.wicket.markup.MarkupException: The component
> > > > > > > >>>> > [TransparentWebMarkupContainer [Component id =
> > > > > > > >>>> > wicket_relative_path_prefix_0]] was rendered already.
> You
> > > can
> > > > > > render
> > > > > > > >>>> it
> > > > > > > >>>> > only once during a render phase. Class relative path:
> > > > > > > >>>> >
> > > > > > > >>>> >
> > > > > > > >>>>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > > > > > > >>>> > at
> org.apache.wicket.Page.componentRendered(Page.java:211)
> > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > >>>> > at
> > org.apache.wicket.Component.rendered(Component.java:2622)
> > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > >>>> > at
> > > > > org.apache.wicket.Component.internalRender(Component.java:2383)
> > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > >>>> > at
> org.apache.wicket.Component.render(Component.java:2307)
> > > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > > >>>> >
> > > > > > > >>>> >
> > > > > > > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
> > > > > > > >>>> solomax666@gmail.com>
> > > > > > > >>>> > wrote:
> > > > > > > >>>> >
> > > > > > > >>>> > > Can confirm :(
> > > > > > > >>>> > > Same here with our main application
> > > > > > > >>>> > >
> > > > > > > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <
> > > > sebfz1@gmail.com>
> > > > > > > >>>> wrote:
> > > > > > > >>>> > >
> > > > > > > >>>> > >> Hi team :)
> > > > > > > >>>> > >>
> > > > > > > >>>> > >> Back to work this morning...As usual, I am
> recompiling
> > > and
> > > > > > > >>>> redeploy the
> > > > > > > >>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> > > > > > > >>>> > >>
> > > > > > > >>>> > >> It seems that I am facing to a serious issue: no
> > resource
> > > > > > > >>>> reference can
> > > > > > > >>>> > be
> > > > > > > >>>> > >> downloaded by the client, for instance:
> > > > > > > >>>> > >>
> > > > > > > >>>> > >> "NetworkError: 403 Forbidden -
> > > > > > > >>>> > >>
> > > > > > > >>>> > >>
> > > > > > > >>>> >
> > > > > > > >>>>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > > > > > > >>>> > >> "
> > > > > > > >>>> > >>
> > > > > > > >>>> > >> I did recompiled/redeployed with -M5, all is ok.
> > > > > > > >>>> > >>
> > > > > > > >>>> > >> As I was on vacation these last 2 weeks (it was very
> > > great
> > > > > > thank
> > > > > > > >>>> you :)
> > > > > > > >>>> > ),
> > > > > > > >>>> > >> I am not very aware of what did changed recently. Any
> > > > ideas?
> > > > > > > >>>> > >>
> > > > > > > >>>> > >> Thanks a lot in advance,
> > > > > > > >>>> > >> Sebastien.
> > > > > > > >>>> > >>
> > > > > > > >>>> > >
> > > > > > > >>>> > >
> > > > > > > >>>> > >
> > > > > > > >>>> > > --
> > > > > > > >>>> > > WBR
> > > > > > > >>>> > > Maxim aka solomax
> > > > > > > >>>> > >
> > > > > > > >>>> >
> > > > > > > >>>> >
> > > > > > > >>>> >
> > > > > > > >>>> > --
> > > > > > > >>>> > WBR
> > > > > > > >>>> > Maxim aka solomax
> > > > > > > >>>> >
> > > > > > > >>>>
> > > > > > > >>>
> > > > > > > >>>
> > > > > > > >>>
> > > > > > > >>> --
> > > > > > > >>> WBR
> > > > > > > >>> Maxim aka solomax
> > > > > > > >>>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> --
> > > > > > > >> WBR
> > > > > > > >> Maxim aka solomax
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > WBR
> > > > > > > > Maxim aka solomax
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > WBR
> > > > > > > Maxim aka solomax
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > WBR
> > > > > Maxim aka solomax
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Is this to secure resources? The same as pages/components?

On Tue, Mar 10, 2015 at 5:23 PM, Martin Grigorov <mg...@apache.org>
wrote:

> I think we should revert a change in auth-roles. It caused four issues so
> far...
> There is a ticket already!
> On Mar 10, 2015 5:41 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:
>
> > works :)
> > Thanks!
> >
> > should I add this change to main app? or you going to fix it in Wicket?
> >
> > On Tue, Mar 10, 2015 at 9:37 PM, Martin Grigorov <mg...@apache.org>
> > wrote:
> >
> > > Maxim,
> > >
> > > Try with MyAuthSession extends AuthenticatedWebSession {
> > >
> > >   @Override public void replaceSession() {}
> > > }
> > >
> > > i.e. make #replaceSession() a noop
> > >
> > > Martin Grigorov
> > > Funemployed! Available for hire!
> > > Wicket Training and Consulting
> > > https://twitter.com/mtgrigorov
> > >
> > > On Tue, Mar 10, 2015 at 5:29 PM, Maxim Solodovnik <
> solomax666@gmail.com>
> > > wrote:
> > >
> > > > This is the code: https://github.com/solomax/WicketSelect2Clear
> > > >
> > > > On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <se...@gmail.com> wrote:
> > > >
> > > > > Well done Maxim, this will probably ease upcoming investigation....
> > > > >
> > > > > On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <
> > > solomax666@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > I can provide a link to the github project demonstrating this
> > > > > >
> > > > > > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <
> > > > solomax666@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Yes
> > > > > > > It is reproducible with dummy App based on
> > > > AuthenticatedWebApplication
> > > > > > > Seems like resources are not being available for download
> without
> > > > auth
> > > > > > > anymore
> > > > > > >
> > > > > > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> > > > > solomax666@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > >> Simple app works as expected :(
> > > > > > >> Will try to convert it to AuthApp (seems to be security
> related
> > > > issue)
> > > > > > >>
> > > > > > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> > > > > solomax666@gmail.com
> > > > > > >
> > > > > > >> wrote:
> > > > > > >>
> > > > > > >>> It's our main application, will try to create simple
> quickstart
> > > > > > >>>
> > > > > > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <sebfz1@gmail.com
> >
> > > > wrote:
> > > > > > >>>
> > > > > > >>>> Hi Maxim,
> > > > > > >>>>
> > > > > > >>>> Thank you very much for confirming, because I am battling to
> > > > > reproduce
> > > > > > >>>> it
> > > > > > >>>> in a simple quickstart!.. :(
> > > > > > >>>>
> > > > > > >>>> Best regards,
> > > > > > >>>> Sebastien.
> > > > > > >>>>
> > > > > > >>>>
> > > > > > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> > > > > > solomax666@gmail.com
> > > > > > >>>> >
> > > > > > >>>> wrote:
> > > > > > >>>>
> > > > > > >>>> > Got this exception in the logs:
> > > > > > >>>> >
> > > > > > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347
> > > > > > RequestCycleExtra
> > > > > > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following
> > > > exception
> > > > > > >>>> > org.apache.wicket.markup.MarkupException: The component
> > > > > > >>>> > [TransparentWebMarkupContainer [Component id =
> > > > > > >>>> > wicket_relative_path_prefix_0]] was rendered already. You
> > can
> > > > > render
> > > > > > >>>> it
> > > > > > >>>> > only once during a render phase. Class relative path:
> > > > > > >>>> >
> > > > > > >>>> >
> > > > > > >>>>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > > > > > >>>> > at org.apache.wicket.Page.componentRendered(Page.java:211)
> > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > >>>> > at
> org.apache.wicket.Component.rendered(Component.java:2622)
> > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > >>>> > at
> > > > org.apache.wicket.Component.internalRender(Component.java:2383)
> > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > >>>> > at org.apache.wicket.Component.render(Component.java:2307)
> > > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > > >>>> >
> > > > > > >>>> >
> > > > > > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
> > > > > > >>>> solomax666@gmail.com>
> > > > > > >>>> > wrote:
> > > > > > >>>> >
> > > > > > >>>> > > Can confirm :(
> > > > > > >>>> > > Same here with our main application
> > > > > > >>>> > >
> > > > > > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <
> > > sebfz1@gmail.com>
> > > > > > >>>> wrote:
> > > > > > >>>> > >
> > > > > > >>>> > >> Hi team :)
> > > > > > >>>> > >>
> > > > > > >>>> > >> Back to work this morning...As usual, I am recompiling
> > and
> > > > > > >>>> redeploy the
> > > > > > >>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> > > > > > >>>> > >>
> > > > > > >>>> > >> It seems that I am facing to a serious issue: no
> resource
> > > > > > >>>> reference can
> > > > > > >>>> > be
> > > > > > >>>> > >> downloaded by the client, for instance:
> > > > > > >>>> > >>
> > > > > > >>>> > >> "NetworkError: 403 Forbidden -
> > > > > > >>>> > >>
> > > > > > >>>> > >>
> > > > > > >>>> >
> > > > > > >>>>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > > > > > >>>> > >> "
> > > > > > >>>> > >>
> > > > > > >>>> > >> I did recompiled/redeployed with -M5, all is ok.
> > > > > > >>>> > >>
> > > > > > >>>> > >> As I was on vacation these last 2 weeks (it was very
> > great
> > > > > thank
> > > > > > >>>> you :)
> > > > > > >>>> > ),
> > > > > > >>>> > >> I am not very aware of what did changed recently. Any
> > > ideas?
> > > > > > >>>> > >>
> > > > > > >>>> > >> Thanks a lot in advance,
> > > > > > >>>> > >> Sebastien.
> > > > > > >>>> > >>
> > > > > > >>>> > >
> > > > > > >>>> > >
> > > > > > >>>> > >
> > > > > > >>>> > > --
> > > > > > >>>> > > WBR
> > > > > > >>>> > > Maxim aka solomax
> > > > > > >>>> > >
> > > > > > >>>> >
> > > > > > >>>> >
> > > > > > >>>> >
> > > > > > >>>> > --
> > > > > > >>>> > WBR
> > > > > > >>>> > Maxim aka solomax
> > > > > > >>>> >
> > > > > > >>>>
> > > > > > >>>
> > > > > > >>>
> > > > > > >>>
> > > > > > >>> --
> > > > > > >>> WBR
> > > > > > >>> Maxim aka solomax
> > > > > > >>>
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >> --
> > > > > > >> WBR
> > > > > > >> Maxim aka solomax
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > WBR
> > > > > > > Maxim aka solomax
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > WBR
> > > > > > Maxim aka solomax
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > WBR
> > > > Maxim aka solomax
> > > >
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>



-- 
Regards - Ernesto Reinaldo Barreiro

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Andrea Del Bene <an...@gmail.com>.
WICKET-5775
> I think we should revert a change in auth-roles. It caused four issues so
> far...
> There is a ticket already!
> On Mar 10, 2015 5:41 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:
>


Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Martin Grigorov <mg...@apache.org>.
I think we should revert a change in auth-roles. It caused four issues so
far...
There is a ticket already!
On Mar 10, 2015 5:41 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:

> works :)
> Thanks!
>
> should I add this change to main app? or you going to fix it in Wicket?
>
> On Tue, Mar 10, 2015 at 9:37 PM, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > Maxim,
> >
> > Try with MyAuthSession extends AuthenticatedWebSession {
> >
> >   @Override public void replaceSession() {}
> > }
> >
> > i.e. make #replaceSession() a noop
> >
> > Martin Grigorov
> > Funemployed! Available for hire!
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Tue, Mar 10, 2015 at 5:29 PM, Maxim Solodovnik <so...@gmail.com>
> > wrote:
> >
> > > This is the code: https://github.com/solomax/WicketSelect2Clear
> > >
> > > On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <se...@gmail.com> wrote:
> > >
> > > > Well done Maxim, this will probably ease upcoming investigation....
> > > >
> > > > On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <
> > solomax666@gmail.com>
> > > > wrote:
> > > >
> > > > > I can provide a link to the github project demonstrating this
> > > > >
> > > > > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <
> > > solomax666@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Yes
> > > > > > It is reproducible with dummy App based on
> > > AuthenticatedWebApplication
> > > > > > Seems like resources are not being available for download without
> > > auth
> > > > > > anymore
> > > > > >
> > > > > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> > > > solomax666@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > >> Simple app works as expected :(
> > > > > >> Will try to convert it to AuthApp (seems to be security related
> > > issue)
> > > > > >>
> > > > > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> > > > solomax666@gmail.com
> > > > > >
> > > > > >> wrote:
> > > > > >>
> > > > > >>> It's our main application, will try to create simple quickstart
> > > > > >>>
> > > > > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <se...@gmail.com>
> > > wrote:
> > > > > >>>
> > > > > >>>> Hi Maxim,
> > > > > >>>>
> > > > > >>>> Thank you very much for confirming, because I am battling to
> > > > reproduce
> > > > > >>>> it
> > > > > >>>> in a simple quickstart!.. :(
> > > > > >>>>
> > > > > >>>> Best regards,
> > > > > >>>> Sebastien.
> > > > > >>>>
> > > > > >>>>
> > > > > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> > > > > solomax666@gmail.com
> > > > > >>>> >
> > > > > >>>> wrote:
> > > > > >>>>
> > > > > >>>> > Got this exception in the logs:
> > > > > >>>> >
> > > > > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347
> > > > > RequestCycleExtra
> > > > > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following
> > > exception
> > > > > >>>> > org.apache.wicket.markup.MarkupException: The component
> > > > > >>>> > [TransparentWebMarkupContainer [Component id =
> > > > > >>>> > wicket_relative_path_prefix_0]] was rendered already. You
> can
> > > > render
> > > > > >>>> it
> > > > > >>>> > only once during a render phase. Class relative path:
> > > > > >>>> >
> > > > > >>>> >
> > > > > >>>>
> > > > >
> > > >
> > >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > > > > >>>> > at org.apache.wicket.Page.componentRendered(Page.java:211)
> > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > >>>> > at org.apache.wicket.Component.rendered(Component.java:2622)
> > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > >>>> > at
> > > org.apache.wicket.Component.internalRender(Component.java:2383)
> > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > >>>> > at org.apache.wicket.Component.render(Component.java:2307)
> > > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > > >>>> >
> > > > > >>>> >
> > > > > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
> > > > > >>>> solomax666@gmail.com>
> > > > > >>>> > wrote:
> > > > > >>>> >
> > > > > >>>> > > Can confirm :(
> > > > > >>>> > > Same here with our main application
> > > > > >>>> > >
> > > > > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <
> > sebfz1@gmail.com>
> > > > > >>>> wrote:
> > > > > >>>> > >
> > > > > >>>> > >> Hi team :)
> > > > > >>>> > >>
> > > > > >>>> > >> Back to work this morning...As usual, I am recompiling
> and
> > > > > >>>> redeploy the
> > > > > >>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> > > > > >>>> > >>
> > > > > >>>> > >> It seems that I am facing to a serious issue: no resource
> > > > > >>>> reference can
> > > > > >>>> > be
> > > > > >>>> > >> downloaded by the client, for instance:
> > > > > >>>> > >>
> > > > > >>>> > >> "NetworkError: 403 Forbidden -
> > > > > >>>> > >>
> > > > > >>>> > >>
> > > > > >>>> >
> > > > > >>>>
> > > > >
> > > >
> > >
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > > > > >>>> > >> "
> > > > > >>>> > >>
> > > > > >>>> > >> I did recompiled/redeployed with -M5, all is ok.
> > > > > >>>> > >>
> > > > > >>>> > >> As I was on vacation these last 2 weeks (it was very
> great
> > > > thank
> > > > > >>>> you :)
> > > > > >>>> > ),
> > > > > >>>> > >> I am not very aware of what did changed recently. Any
> > ideas?
> > > > > >>>> > >>
> > > > > >>>> > >> Thanks a lot in advance,
> > > > > >>>> > >> Sebastien.
> > > > > >>>> > >>
> > > > > >>>> > >
> > > > > >>>> > >
> > > > > >>>> > >
> > > > > >>>> > > --
> > > > > >>>> > > WBR
> > > > > >>>> > > Maxim aka solomax
> > > > > >>>> > >
> > > > > >>>> >
> > > > > >>>> >
> > > > > >>>> >
> > > > > >>>> > --
> > > > > >>>> > WBR
> > > > > >>>> > Maxim aka solomax
> > > > > >>>> >
> > > > > >>>>
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>> --
> > > > > >>> WBR
> > > > > >>> Maxim aka solomax
> > > > > >>>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >> --
> > > > > >> WBR
> > > > > >> Maxim aka solomax
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > WBR
> > > > > > Maxim aka solomax
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > WBR
> > > > > Maxim aka solomax
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Maxim Solodovnik <so...@gmail.com>.
works :)
Thanks!

should I add this change to main app? or you going to fix it in Wicket?

On Tue, Mar 10, 2015 at 9:37 PM, Martin Grigorov <mg...@apache.org>
wrote:

> Maxim,
>
> Try with MyAuthSession extends AuthenticatedWebSession {
>
>   @Override public void replaceSession() {}
> }
>
> i.e. make #replaceSession() a noop
>
> Martin Grigorov
> Funemployed! Available for hire!
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Mar 10, 2015 at 5:29 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
> > This is the code: https://github.com/solomax/WicketSelect2Clear
> >
> > On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <se...@gmail.com> wrote:
> >
> > > Well done Maxim, this will probably ease upcoming investigation....
> > >
> > > On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <
> solomax666@gmail.com>
> > > wrote:
> > >
> > > > I can provide a link to the github project demonstrating this
> > > >
> > > > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <
> > solomax666@gmail.com>
> > > > wrote:
> > > >
> > > > > Yes
> > > > > It is reproducible with dummy App based on
> > AuthenticatedWebApplication
> > > > > Seems like resources are not being available for download without
> > auth
> > > > > anymore
> > > > >
> > > > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> > > solomax666@gmail.com>
> > > > > wrote:
> > > > >
> > > > >> Simple app works as expected :(
> > > > >> Will try to convert it to AuthApp (seems to be security related
> > issue)
> > > > >>
> > > > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> > > solomax666@gmail.com
> > > > >
> > > > >> wrote:
> > > > >>
> > > > >>> It's our main application, will try to create simple quickstart
> > > > >>>
> > > > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <se...@gmail.com>
> > wrote:
> > > > >>>
> > > > >>>> Hi Maxim,
> > > > >>>>
> > > > >>>> Thank you very much for confirming, because I am battling to
> > > reproduce
> > > > >>>> it
> > > > >>>> in a simple quickstart!.. :(
> > > > >>>>
> > > > >>>> Best regards,
> > > > >>>> Sebastien.
> > > > >>>>
> > > > >>>>
> > > > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> > > > solomax666@gmail.com
> > > > >>>> >
> > > > >>>> wrote:
> > > > >>>>
> > > > >>>> > Got this exception in the logs:
> > > > >>>> >
> > > > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347
> > > > RequestCycleExtra
> > > > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following
> > exception
> > > > >>>> > org.apache.wicket.markup.MarkupException: The component
> > > > >>>> > [TransparentWebMarkupContainer [Component id =
> > > > >>>> > wicket_relative_path_prefix_0]] was rendered already. You can
> > > render
> > > > >>>> it
> > > > >>>> > only once during a render phase. Class relative path:
> > > > >>>> >
> > > > >>>> >
> > > > >>>>
> > > >
> > >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > > > >>>> > at org.apache.wicket.Page.componentRendered(Page.java:211)
> > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > >>>> > at org.apache.wicket.Component.rendered(Component.java:2622)
> > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > >>>> > at
> > org.apache.wicket.Component.internalRender(Component.java:2383)
> > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > >>>> > at org.apache.wicket.Component.render(Component.java:2307)
> > > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > > >>>> >
> > > > >>>> >
> > > > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
> > > > >>>> solomax666@gmail.com>
> > > > >>>> > wrote:
> > > > >>>> >
> > > > >>>> > > Can confirm :(
> > > > >>>> > > Same here with our main application
> > > > >>>> > >
> > > > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <
> sebfz1@gmail.com>
> > > > >>>> wrote:
> > > > >>>> > >
> > > > >>>> > >> Hi team :)
> > > > >>>> > >>
> > > > >>>> > >> Back to work this morning...As usual, I am recompiling and
> > > > >>>> redeploy the
> > > > >>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> > > > >>>> > >>
> > > > >>>> > >> It seems that I am facing to a serious issue: no resource
> > > > >>>> reference can
> > > > >>>> > be
> > > > >>>> > >> downloaded by the client, for instance:
> > > > >>>> > >>
> > > > >>>> > >> "NetworkError: 403 Forbidden -
> > > > >>>> > >>
> > > > >>>> > >>
> > > > >>>> >
> > > > >>>>
> > > >
> > >
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > > > >>>> > >> "
> > > > >>>> > >>
> > > > >>>> > >> I did recompiled/redeployed with -M5, all is ok.
> > > > >>>> > >>
> > > > >>>> > >> As I was on vacation these last 2 weeks (it was very great
> > > thank
> > > > >>>> you :)
> > > > >>>> > ),
> > > > >>>> > >> I am not very aware of what did changed recently. Any
> ideas?
> > > > >>>> > >>
> > > > >>>> > >> Thanks a lot in advance,
> > > > >>>> > >> Sebastien.
> > > > >>>> > >>
> > > > >>>> > >
> > > > >>>> > >
> > > > >>>> > >
> > > > >>>> > > --
> > > > >>>> > > WBR
> > > > >>>> > > Maxim aka solomax
> > > > >>>> > >
> > > > >>>> >
> > > > >>>> >
> > > > >>>> >
> > > > >>>> > --
> > > > >>>> > WBR
> > > > >>>> > Maxim aka solomax
> > > > >>>> >
> > > > >>>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>> --
> > > > >>> WBR
> > > > >>> Maxim aka solomax
> > > > >>>
> > > > >>
> > > > >>
> > > > >>
> > > > >> --
> > > > >> WBR
> > > > >> Maxim aka solomax
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > WBR
> > > > > Maxim aka solomax
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > WBR
> > > > Maxim aka solomax
> > > >
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>



-- 
WBR
Maxim aka solomax

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Martin Grigorov <mg...@apache.org>.
Maxim,

Try with MyAuthSession extends AuthenticatedWebSession {

  @Override public void replaceSession() {}
}

i.e. make #replaceSession() a noop

Martin Grigorov
Funemployed! Available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Mar 10, 2015 at 5:29 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> This is the code: https://github.com/solomax/WicketSelect2Clear
>
> On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <se...@gmail.com> wrote:
>
> > Well done Maxim, this will probably ease upcoming investigation....
> >
> > On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <so...@gmail.com>
> > wrote:
> >
> > > I can provide a link to the github project demonstrating this
> > >
> > > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <
> solomax666@gmail.com>
> > > wrote:
> > >
> > > > Yes
> > > > It is reproducible with dummy App based on
> AuthenticatedWebApplication
> > > > Seems like resources are not being available for download without
> auth
> > > > anymore
> > > >
> > > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> > solomax666@gmail.com>
> > > > wrote:
> > > >
> > > >> Simple app works as expected :(
> > > >> Will try to convert it to AuthApp (seems to be security related
> issue)
> > > >>
> > > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> > solomax666@gmail.com
> > > >
> > > >> wrote:
> > > >>
> > > >>> It's our main application, will try to create simple quickstart
> > > >>>
> > > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <se...@gmail.com>
> wrote:
> > > >>>
> > > >>>> Hi Maxim,
> > > >>>>
> > > >>>> Thank you very much for confirming, because I am battling to
> > reproduce
> > > >>>> it
> > > >>>> in a simple quickstart!.. :(
> > > >>>>
> > > >>>> Best regards,
> > > >>>> Sebastien.
> > > >>>>
> > > >>>>
> > > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> > > solomax666@gmail.com
> > > >>>> >
> > > >>>> wrote:
> > > >>>>
> > > >>>> > Got this exception in the logs:
> > > >>>> >
> > > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347
> > > RequestCycleExtra
> > > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following
> exception
> > > >>>> > org.apache.wicket.markup.MarkupException: The component
> > > >>>> > [TransparentWebMarkupContainer [Component id =
> > > >>>> > wicket_relative_path_prefix_0]] was rendered already. You can
> > render
> > > >>>> it
> > > >>>> > only once during a render phase. Class relative path:
> > > >>>> >
> > > >>>> >
> > > >>>>
> > >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > > >>>> > at org.apache.wicket.Page.componentRendered(Page.java:211)
> > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > >>>> > at org.apache.wicket.Component.rendered(Component.java:2622)
> > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > >>>> > at
> org.apache.wicket.Component.internalRender(Component.java:2383)
> > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > >>>> > at org.apache.wicket.Component.render(Component.java:2307)
> > > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > > >>>> >
> > > >>>> >
> > > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
> > > >>>> solomax666@gmail.com>
> > > >>>> > wrote:
> > > >>>> >
> > > >>>> > > Can confirm :(
> > > >>>> > > Same here with our main application
> > > >>>> > >
> > > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <se...@gmail.com>
> > > >>>> wrote:
> > > >>>> > >
> > > >>>> > >> Hi team :)
> > > >>>> > >>
> > > >>>> > >> Back to work this morning...As usual, I am recompiling and
> > > >>>> redeploy the
> > > >>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> > > >>>> > >>
> > > >>>> > >> It seems that I am facing to a serious issue: no resource
> > > >>>> reference can
> > > >>>> > be
> > > >>>> > >> downloaded by the client, for instance:
> > > >>>> > >>
> > > >>>> > >> "NetworkError: 403 Forbidden -
> > > >>>> > >>
> > > >>>> > >>
> > > >>>> >
> > > >>>>
> > >
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > > >>>> > >> "
> > > >>>> > >>
> > > >>>> > >> I did recompiled/redeployed with -M5, all is ok.
> > > >>>> > >>
> > > >>>> > >> As I was on vacation these last 2 weeks (it was very great
> > thank
> > > >>>> you :)
> > > >>>> > ),
> > > >>>> > >> I am not very aware of what did changed recently. Any ideas?
> > > >>>> > >>
> > > >>>> > >> Thanks a lot in advance,
> > > >>>> > >> Sebastien.
> > > >>>> > >>
> > > >>>> > >
> > > >>>> > >
> > > >>>> > >
> > > >>>> > > --
> > > >>>> > > WBR
> > > >>>> > > Maxim aka solomax
> > > >>>> > >
> > > >>>> >
> > > >>>> >
> > > >>>> >
> > > >>>> > --
> > > >>>> > WBR
> > > >>>> > Maxim aka solomax
> > > >>>> >
> > > >>>>
> > > >>>
> > > >>>
> > > >>>
> > > >>> --
> > > >>> WBR
> > > >>> Maxim aka solomax
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> WBR
> > > >> Maxim aka solomax
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > WBR
> > > > Maxim aka solomax
> > > >
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Maxim Solodovnik <so...@gmail.com>.
This is the code: https://github.com/solomax/WicketSelect2Clear

On Tue, Mar 10, 2015 at 9:27 PM, Sebastien <se...@gmail.com> wrote:

> Well done Maxim, this will probably ease upcoming investigation....
>
> On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
> > I can provide a link to the github project demonstrating this
> >
> > On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <so...@gmail.com>
> > wrote:
> >
> > > Yes
> > > It is reproducible with dummy App based on AuthenticatedWebApplication
> > > Seems like resources are not being available for download without auth
> > > anymore
> > >
> > > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <
> solomax666@gmail.com>
> > > wrote:
> > >
> > >> Simple app works as expected :(
> > >> Will try to convert it to AuthApp (seems to be security related issue)
> > >>
> > >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <
> solomax666@gmail.com
> > >
> > >> wrote:
> > >>
> > >>> It's our main application, will try to create simple quickstart
> > >>>
> > >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <se...@gmail.com> wrote:
> > >>>
> > >>>> Hi Maxim,
> > >>>>
> > >>>> Thank you very much for confirming, because I am battling to
> reproduce
> > >>>> it
> > >>>> in a simple quickstart!.. :(
> > >>>>
> > >>>> Best regards,
> > >>>> Sebastien.
> > >>>>
> > >>>>
> > >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> > solomax666@gmail.com
> > >>>> >
> > >>>> wrote:
> > >>>>
> > >>>> > Got this exception in the logs:
> > >>>> >
> > >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347
> > RequestCycleExtra
> > >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following exception
> > >>>> > org.apache.wicket.markup.MarkupException: The component
> > >>>> > [TransparentWebMarkupContainer [Component id =
> > >>>> > wicket_relative_path_prefix_0]] was rendered already. You can
> render
> > >>>> it
> > >>>> > only once during a render phase. Class relative path:
> > >>>> >
> > >>>> >
> > >>>>
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > >>>> > at org.apache.wicket.Page.componentRendered(Page.java:211)
> > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > >>>> > at org.apache.wicket.Component.rendered(Component.java:2622)
> > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > >>>> > at org.apache.wicket.Component.internalRender(Component.java:2383)
> > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > >>>> > at org.apache.wicket.Component.render(Component.java:2307)
> > >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > >>>> >
> > >>>> >
> > >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
> > >>>> solomax666@gmail.com>
> > >>>> > wrote:
> > >>>> >
> > >>>> > > Can confirm :(
> > >>>> > > Same here with our main application
> > >>>> > >
> > >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <se...@gmail.com>
> > >>>> wrote:
> > >>>> > >
> > >>>> > >> Hi team :)
> > >>>> > >>
> > >>>> > >> Back to work this morning...As usual, I am recompiling and
> > >>>> redeploy the
> > >>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> > >>>> > >>
> > >>>> > >> It seems that I am facing to a serious issue: no resource
> > >>>> reference can
> > >>>> > be
> > >>>> > >> downloaded by the client, for instance:
> > >>>> > >>
> > >>>> > >> "NetworkError: 403 Forbidden -
> > >>>> > >>
> > >>>> > >>
> > >>>> >
> > >>>>
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > >>>> > >> "
> > >>>> > >>
> > >>>> > >> I did recompiled/redeployed with -M5, all is ok.
> > >>>> > >>
> > >>>> > >> As I was on vacation these last 2 weeks (it was very great
> thank
> > >>>> you :)
> > >>>> > ),
> > >>>> > >> I am not very aware of what did changed recently. Any ideas?
> > >>>> > >>
> > >>>> > >> Thanks a lot in advance,
> > >>>> > >> Sebastien.
> > >>>> > >>
> > >>>> > >
> > >>>> > >
> > >>>> > >
> > >>>> > > --
> > >>>> > > WBR
> > >>>> > > Maxim aka solomax
> > >>>> > >
> > >>>> >
> > >>>> >
> > >>>> >
> > >>>> > --
> > >>>> > WBR
> > >>>> > Maxim aka solomax
> > >>>> >
> > >>>>
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> WBR
> > >>> Maxim aka solomax
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> WBR
> > >> Maxim aka solomax
> > >>
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>



-- 
WBR
Maxim aka solomax

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Sebastien <se...@gmail.com>.
Well done Maxim, this will probably ease upcoming investigation....

On Tue, Mar 10, 2015 at 4:20 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> I can provide a link to the github project demonstrating this
>
> On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
> > Yes
> > It is reproducible with dummy App based on AuthenticatedWebApplication
> > Seems like resources are not being available for download without auth
> > anymore
> >
> > On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <so...@gmail.com>
> > wrote:
> >
> >> Simple app works as expected :(
> >> Will try to convert it to AuthApp (seems to be security related issue)
> >>
> >> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <solomax666@gmail.com
> >
> >> wrote:
> >>
> >>> It's our main application, will try to create simple quickstart
> >>>
> >>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <se...@gmail.com> wrote:
> >>>
> >>>> Hi Maxim,
> >>>>
> >>>> Thank you very much for confirming, because I am battling to reproduce
> >>>> it
> >>>> in a simple quickstart!.. :(
> >>>>
> >>>> Best regards,
> >>>> Sebastien.
> >>>>
> >>>>
> >>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <
> solomax666@gmail.com
> >>>> >
> >>>> wrote:
> >>>>
> >>>> > Got this exception in the logs:
> >>>> >
> >>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347
> RequestCycleExtra
> >>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following exception
> >>>> > org.apache.wicket.markup.MarkupException: The component
> >>>> > [TransparentWebMarkupContainer [Component id =
> >>>> > wicket_relative_path_prefix_0]] was rendered already. You can render
> >>>> it
> >>>> > only once during a render phase. Class relative path:
> >>>> >
> >>>> >
> >>>>
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> >>>> > at org.apache.wicket.Page.componentRendered(Page.java:211)
> >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> >>>> > at org.apache.wicket.Component.rendered(Component.java:2622)
> >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> >>>> > at org.apache.wicket.Component.internalRender(Component.java:2383)
> >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> >>>> > at org.apache.wicket.Component.render(Component.java:2307)
> >>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> >>>> >
> >>>> >
> >>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
> >>>> solomax666@gmail.com>
> >>>> > wrote:
> >>>> >
> >>>> > > Can confirm :(
> >>>> > > Same here with our main application
> >>>> > >
> >>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <se...@gmail.com>
> >>>> wrote:
> >>>> > >
> >>>> > >> Hi team :)
> >>>> > >>
> >>>> > >> Back to work this morning...As usual, I am recompiling and
> >>>> redeploy the
> >>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> >>>> > >>
> >>>> > >> It seems that I am facing to a serious issue: no resource
> >>>> reference can
> >>>> > be
> >>>> > >> downloaded by the client, for instance:
> >>>> > >>
> >>>> > >> "NetworkError: 403 Forbidden -
> >>>> > >>
> >>>> > >>
> >>>> >
> >>>>
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> >>>> > >> "
> >>>> > >>
> >>>> > >> I did recompiled/redeployed with -M5, all is ok.
> >>>> > >>
> >>>> > >> As I was on vacation these last 2 weeks (it was very great thank
> >>>> you :)
> >>>> > ),
> >>>> > >> I am not very aware of what did changed recently. Any ideas?
> >>>> > >>
> >>>> > >> Thanks a lot in advance,
> >>>> > >> Sebastien.
> >>>> > >>
> >>>> > >
> >>>> > >
> >>>> > >
> >>>> > > --
> >>>> > > WBR
> >>>> > > Maxim aka solomax
> >>>> > >
> >>>> >
> >>>> >
> >>>> >
> >>>> > --
> >>>> > WBR
> >>>> > Maxim aka solomax
> >>>> >
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> WBR
> >>> Maxim aka solomax
> >>>
> >>
> >>
> >>
> >> --
> >> WBR
> >> Maxim aka solomax
> >>
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Maxim Solodovnik <so...@gmail.com>.
I can provide a link to the github project demonstrating this

On Tue, Mar 10, 2015 at 9:20 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> Yes
> It is reproducible with dummy App based on AuthenticatedWebApplication
> Seems like resources are not being available for download without auth
> anymore
>
> On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
>> Simple app works as expected :(
>> Will try to convert it to AuthApp (seems to be security related issue)
>>
>> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <so...@gmail.com>
>> wrote:
>>
>>> It's our main application, will try to create simple quickstart
>>>
>>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <se...@gmail.com> wrote:
>>>
>>>> Hi Maxim,
>>>>
>>>> Thank you very much for confirming, because I am battling to reproduce
>>>> it
>>>> in a simple quickstart!.. :(
>>>>
>>>> Best regards,
>>>> Sebastien.
>>>>
>>>>
>>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <solomax666@gmail.com
>>>> >
>>>> wrote:
>>>>
>>>> > Got this exception in the logs:
>>>> >
>>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347 RequestCycleExtra
>>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following exception
>>>> > org.apache.wicket.markup.MarkupException: The component
>>>> > [TransparentWebMarkupContainer [Component id =
>>>> > wicket_relative_path_prefix_0]] was rendered already. You can render
>>>> it
>>>> > only once during a render phase. Class relative path:
>>>> >
>>>> >
>>>> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
>>>> > at org.apache.wicket.Page.componentRendered(Page.java:211)
>>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>>>> > at org.apache.wicket.Component.rendered(Component.java:2622)
>>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>>>> > at org.apache.wicket.Component.internalRender(Component.java:2383)
>>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>>>> > at org.apache.wicket.Component.render(Component.java:2307)
>>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>>>> >
>>>> >
>>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
>>>> solomax666@gmail.com>
>>>> > wrote:
>>>> >
>>>> > > Can confirm :(
>>>> > > Same here with our main application
>>>> > >
>>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <se...@gmail.com>
>>>> wrote:
>>>> > >
>>>> > >> Hi team :)
>>>> > >>
>>>> > >> Back to work this morning...As usual, I am recompiling and
>>>> redeploy the
>>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
>>>> > >>
>>>> > >> It seems that I am facing to a serious issue: no resource
>>>> reference can
>>>> > be
>>>> > >> downloaded by the client, for instance:
>>>> > >>
>>>> > >> "NetworkError: 403 Forbidden -
>>>> > >>
>>>> > >>
>>>> >
>>>> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
>>>> > >> "
>>>> > >>
>>>> > >> I did recompiled/redeployed with -M5, all is ok.
>>>> > >>
>>>> > >> As I was on vacation these last 2 weeks (it was very great thank
>>>> you :)
>>>> > ),
>>>> > >> I am not very aware of what did changed recently. Any ideas?
>>>> > >>
>>>> > >> Thanks a lot in advance,
>>>> > >> Sebastien.
>>>> > >>
>>>> > >
>>>> > >
>>>> > >
>>>> > > --
>>>> > > WBR
>>>> > > Maxim aka solomax
>>>> > >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > WBR
>>>> > Maxim aka solomax
>>>> >
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Maxim Solodovnik <so...@gmail.com>.
Yes
It is reproducible with dummy App based on AuthenticatedWebApplication
Seems like resources are not being available for download without auth
anymore

On Tue, Mar 10, 2015 at 9:14 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> Simple app works as expected :(
> Will try to convert it to AuthApp (seems to be security related issue)
>
> On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
>> It's our main application, will try to create simple quickstart
>>
>> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <se...@gmail.com> wrote:
>>
>>> Hi Maxim,
>>>
>>> Thank you very much for confirming, because I am battling to reproduce it
>>> in a simple quickstart!.. :(
>>>
>>> Best regards,
>>> Sebastien.
>>>
>>>
>>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <so...@gmail.com>
>>> wrote:
>>>
>>> > Got this exception in the logs:
>>> >
>>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347 RequestCycleExtra
>>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following exception
>>> > org.apache.wicket.markup.MarkupException: The component
>>> > [TransparentWebMarkupContainer [Component id =
>>> > wicket_relative_path_prefix_0]] was rendered already. You can render it
>>> > only once during a render phase. Class relative path:
>>> >
>>> >
>>> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
>>> > at org.apache.wicket.Page.componentRendered(Page.java:211)
>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>>> > at org.apache.wicket.Component.rendered(Component.java:2622)
>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>>> > at org.apache.wicket.Component.internalRender(Component.java:2383)
>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>>> > at org.apache.wicket.Component.render(Component.java:2307)
>>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>>> >
>>> >
>>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <
>>> solomax666@gmail.com>
>>> > wrote:
>>> >
>>> > > Can confirm :(
>>> > > Same here with our main application
>>> > >
>>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <se...@gmail.com> wrote:
>>> > >
>>> > >> Hi team :)
>>> > >>
>>> > >> Back to work this morning...As usual, I am recompiling and redeploy
>>> the
>>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
>>> > >>
>>> > >> It seems that I am facing to a serious issue: no resource reference
>>> can
>>> > be
>>> > >> downloaded by the client, for instance:
>>> > >>
>>> > >> "NetworkError: 403 Forbidden -
>>> > >>
>>> > >>
>>> >
>>> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
>>> > >> "
>>> > >>
>>> > >> I did recompiled/redeployed with -M5, all is ok.
>>> > >>
>>> > >> As I was on vacation these last 2 weeks (it was very great thank
>>> you :)
>>> > ),
>>> > >> I am not very aware of what did changed recently. Any ideas?
>>> > >>
>>> > >> Thanks a lot in advance,
>>> > >> Sebastien.
>>> > >>
>>> > >
>>> > >
>>> > >
>>> > > --
>>> > > WBR
>>> > > Maxim aka solomax
>>> > >
>>> >
>>> >
>>> >
>>> > --
>>> > WBR
>>> > Maxim aka solomax
>>> >
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Maxim Solodovnik <so...@gmail.com>.
Simple app works as expected :(
Will try to convert it to AuthApp (seems to be security related issue)

On Tue, Mar 10, 2015 at 8:52 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> It's our main application, will try to create simple quickstart
>
> On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <se...@gmail.com> wrote:
>
>> Hi Maxim,
>>
>> Thank you very much for confirming, because I am battling to reproduce it
>> in a simple quickstart!.. :(
>>
>> Best regards,
>> Sebastien.
>>
>>
>> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <so...@gmail.com>
>> wrote:
>>
>> > Got this exception in the logs:
>> >
>> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347 RequestCycleExtra
>> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following exception
>> > org.apache.wicket.markup.MarkupException: The component
>> > [TransparentWebMarkupContainer [Component id =
>> > wicket_relative_path_prefix_0]] was rendered already. You can render it
>> > only once during a render phase. Class relative path:
>> >
>> >
>> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
>> > at org.apache.wicket.Page.componentRendered(Page.java:211)
>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>> > at org.apache.wicket.Component.rendered(Component.java:2622)
>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>> > at org.apache.wicket.Component.internalRender(Component.java:2383)
>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>> > at org.apache.wicket.Component.render(Component.java:2307)
>> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>> >
>> >
>> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <solomax666@gmail.com
>> >
>> > wrote:
>> >
>> > > Can confirm :(
>> > > Same here with our main application
>> > >
>> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <se...@gmail.com> wrote:
>> > >
>> > >> Hi team :)
>> > >>
>> > >> Back to work this morning...As usual, I am recompiling and redeploy
>> the
>> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
>> > >>
>> > >> It seems that I am facing to a serious issue: no resource reference
>> can
>> > be
>> > >> downloaded by the client, for instance:
>> > >>
>> > >> "NetworkError: 403 Forbidden -
>> > >>
>> > >>
>> >
>> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
>> > >> "
>> > >>
>> > >> I did recompiled/redeployed with -M5, all is ok.
>> > >>
>> > >> As I was on vacation these last 2 weeks (it was very great thank you
>> :)
>> > ),
>> > >> I am not very aware of what did changed recently. Any ideas?
>> > >>
>> > >> Thanks a lot in advance,
>> > >> Sebastien.
>> > >>
>> > >
>> > >
>> > >
>> > > --
>> > > WBR
>> > > Maxim aka solomax
>> > >
>> >
>> >
>> >
>> > --
>> > WBR
>> > Maxim aka solomax
>> >
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Maxim Solodovnik <so...@gmail.com>.
It's our main application, will try to create simple quickstart

On Tue, Mar 10, 2015 at 8:51 PM, Sebastien <se...@gmail.com> wrote:

> Hi Maxim,
>
> Thank you very much for confirming, because I am battling to reproduce it
> in a simple quickstart!.. :(
>
> Best regards,
> Sebastien.
>
>
> On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
> > Got this exception in the logs:
> >
> >  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347 RequestCycleExtra
> > [http-nio-0.0.0.0-5080-exec-10] - Handling the following exception
> > org.apache.wicket.markup.MarkupException: The component
> > [TransparentWebMarkupContainer [Component id =
> > wicket_relative_path_prefix_0]] was rendered already. You can render it
> > only once during a render phase. Class relative path:
> >
> >
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> > at org.apache.wicket.Page.componentRendered(Page.java:211)
> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > at org.apache.wicket.Component.rendered(Component.java:2622)
> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > at org.apache.wicket.Component.internalRender(Component.java:2383)
> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> > at org.apache.wicket.Component.render(Component.java:2307)
> > ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> >
> >
> > On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <so...@gmail.com>
> > wrote:
> >
> > > Can confirm :(
> > > Same here with our main application
> > >
> > > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <se...@gmail.com> wrote:
> > >
> > >> Hi team :)
> > >>
> > >> Back to work this morning...As usual, I am recompiling and redeploy
> the
> > >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> > >>
> > >> It seems that I am facing to a serious issue: no resource reference
> can
> > be
> > >> downloaded by the client, for instance:
> > >>
> > >> "NetworkError: 403 Forbidden -
> > >>
> > >>
> >
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> > >> "
> > >>
> > >> I did recompiled/redeployed with -M5, all is ok.
> > >>
> > >> As I was on vacation these last 2 weeks (it was very great thank you
> :)
> > ),
> > >> I am not very aware of what did changed recently. Any ideas?
> > >>
> > >> Thanks a lot in advance,
> > >> Sebastien.
> > >>
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>



-- 
WBR
Maxim aka solomax

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Sebastien <se...@gmail.com>.
Hi Maxim,

Thank you very much for confirming, because I am battling to reproduce it
in a simple quickstart!.. :(

Best regards,
Sebastien.


On Tue, Mar 10, 2015 at 3:46 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> Got this exception in the logs:
>
>  WARN 03-10 20:44:41.513 RequestCycle.java 74324 347 RequestCycleExtra
> [http-nio-0.0.0.0-5080-exec-10] - Handling the following exception
> org.apache.wicket.markup.MarkupException: The component
> [TransparentWebMarkupContainer [Component id =
> wicket_relative_path_prefix_0]] was rendered already. You can render it
> only once during a render phase. Class relative path:
>
> org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
> at org.apache.wicket.Page.componentRendered(Page.java:211)
> ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> at org.apache.wicket.Component.rendered(Component.java:2622)
> ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> at org.apache.wicket.Component.internalRender(Component.java:2383)
> ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
> at org.apache.wicket.Component.render(Component.java:2307)
> ~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
>
>
> On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
> > Can confirm :(
> > Same here with our main application
> >
> > On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <se...@gmail.com> wrote:
> >
> >> Hi team :)
> >>
> >> Back to work this morning...As usual, I am recompiling and redeploy the
> >> webapp I am working on, based on 7.0.0-SNAPSHOT.
> >>
> >> It seems that I am facing to a serious issue: no resource reference can
> be
> >> downloaded by the client, for instance:
> >>
> >> "NetworkError: 403 Forbidden -
> >>
> >>
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> >> "
> >>
> >> I did recompiled/redeployed with -M5, all is ok.
> >>
> >> As I was on vacation these last 2 weeks (it was very great thank you :)
> ),
> >> I am not very aware of what did changed recently. Any ideas?
> >>
> >> Thanks a lot in advance,
> >> Sebastien.
> >>
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Maxim Solodovnik <so...@gmail.com>.
Got this exception in the logs:

 WARN 03-10 20:44:41.513 RequestCycle.java 74324 347 RequestCycleExtra
[http-nio-0.0.0.0-5080-exec-10] - Handling the following exception
org.apache.wicket.markup.MarkupException: The component
[TransparentWebMarkupContainer [Component id =
wicket_relative_path_prefix_0]] was rendered already. You can render it
only once during a render phase. Class relative path:
org.apache.wicket.markup.html.TransparentWebMarkupContainer:html:wicket_relative_path_prefix_0
at org.apache.wicket.Page.componentRendered(Page.java:211)
~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
at org.apache.wicket.Component.rendered(Component.java:2622)
~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
at org.apache.wicket.Component.internalRender(Component.java:2383)
~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]
at org.apache.wicket.Component.render(Component.java:2307)
~[wicket-core-7.0.0-SNAPSHOT.jar:7.0.0-SNAPSHOT]


On Tue, Mar 10, 2015 at 8:44 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> Can confirm :(
> Same here with our main application
>
> On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <se...@gmail.com> wrote:
>
>> Hi team :)
>>
>> Back to work this morning...As usual, I am recompiling and redeploy the
>> webapp I am working on, based on 7.0.0-SNAPSHOT.
>>
>> It seems that I am facing to a serious issue: no resource reference can be
>> downloaded by the client, for instance:
>>
>> "NetworkError: 403 Forbidden -
>>
>> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
>> "
>>
>> I did recompiled/redeployed with -M5, all is ok.
>>
>> As I was on vacation these last 2 weeks (it was very great thank you :) ),
>> I am not very aware of what did changed recently. Any ideas?
>>
>> Thanks a lot in advance,
>> Sebastien.
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: [7.0.0-SNAPSHOT] NetworkError: 403 Forbidden

Posted by Maxim Solodovnik <so...@gmail.com>.
Can confirm :(
Same here with our main application

On Tue, Mar 10, 2015 at 8:23 PM, Sebastien <se...@gmail.com> wrote:

> Hi team :)
>
> Back to work this morning...As usual, I am recompiling and redeploy the
> webapp I am working on, based on 7.0.0-SNAPSHOT.
>
> It seems that I am facing to a serious issue: no resource reference can be
> downloaded by the client, for instance:
>
> "NetworkError: 403 Forbidden -
>
> http://localhost:8080/hawk/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1425374806000.js
> "
>
> I did recompiled/redeployed with -M5, all is ok.
>
> As I was on vacation these last 2 weeks (it was very great thank you :) ),
> I am not very aware of what did changed recently. Any ideas?
>
> Thanks a lot in advance,
> Sebastien.
>



-- 
WBR
Maxim aka solomax