Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Re: 404 in Intraweb 14.2.3
#1
>>>>Posted: Nov 3, 2017 7:52 AM    in response to: Gerrit Schurer
>>>>Gerrit Schurer wrote:
>>>>Context : Intraweb 14.2.3, Delphi Tokyo 10.2
>>>>My Intraweb application has the RestartExpiredSession set to true.

>>>In my previous Intraweb version this resulted in a restart of a
>>>>session whenever I restarted the standalone server application
>>>>and clicked anything in the old browser session (or waited for
>>>>an asynchronous timer event to happen). In 14.2.3 I get a 404
>>error ? Maybe it is a simple setting I missed ? Maybe I can get
>>>>around it or create a custom 404 page that does the restarting.
>>>>How can I create such a page ?

>>I'm also experiencing this but just on async events when the session
>>expires or is invalid from recycling the service.



This still appears to happen (using 14.2.7) but only on mobile Safari.  


To reproduce: 
  • Access the IW page.
  • Swipe away the browser.
  • Wait until the session ends.
  • Access the IW page again (without using a bookmark, Safari appears to cache the last accessed page).
  • In my case, I click past an initial CGDevTools dialog then get a 404.  Clicking on the IW 404 page fixes it as does accessing through a bookmark.
     
Can provide a link to demonstrate if needed.
Reply
#2
(06-23-2018, 05:12 PM)MJS@mjs.us Wrote: >>>>Posted: Nov 3, 2017 7:52 AM    in response to: Gerrit Schurer
>>>>Gerrit Schurer wrote:
>>>>Context : Intraweb 14.2.3, Delphi Tokyo 10.2
>>>>My Intraweb application has the RestartExpiredSession set to true.

>>>In my previous Intraweb version this resulted in a restart of a
>>>>session whenever I restarted the standalone server application
>>>>and clicked anything in the old browser session (or waited for
>>>>an asynchronous timer event to happen). In 14.2.3 I get a 404
>>error ? Maybe it is a simple setting I missed ? Maybe I can get
>>>>around it or create a custom 404 page that does the restarting.
>>>>How can I create such a page ?

>>I'm also experiencing this but just on async events when the session
>>expires or is invalid from recycling the service.



This still appears to happen (using 14.2.7) but only on mobile Safari.  


To reproduce: 
  • Access the IW page.
  • Swipe away the browser.
  • Wait until the session ends.
  • Access the IW page again (without using a bookmark, Safari appears to cache the last accessed page).
  • In my case, I click past an initial CGDevTools dialog then get a 404.  Clicking on the IW 404 page fixes it as does accessing through a bookmark.
     
Can provide a link to demonstrate if needed.

If you can provide a link privately so I can see what is actually happening, please send an email to alexandre [at] atozed dot com

I'll check it out ASAP.

Kind regards
Reply
#3
Did some more tests and it may be an Abyss reverse proxy issue and not an IW issue (don't have the problem when accessing the page directly and not going through Abyss).


Regards,
Mark
Reply
#4
Thanks for the update.
Reply
#5
(06-24-2018, 11:52 PM)Alexandre Machado Wrote:
(06-23-2018, 05:12 PM)MJS@mjs.us Wrote: >>>>Posted: Nov 3, 2017 7:52 AM    in response to: Gerrit Schurer
>>>>Gerrit Schurer wrote:
>>>>Context : Intraweb 14.2.3, Delphi Tokyo 10.2
>>>>My Intraweb application has the RestartExpiredSession set to true.

>>>In my previous Intraweb version this resulted in a restart of a
>>>>session whenever I restarted the standalone server application
>>>>and clicked anything in the old browser session (or waited for
>>>>an asynchronous timer event to happen). In 14.2.3 I get a 404
>>error ? Maybe it is a simple setting I missed ? Maybe I can get
>>>>around it or create a custom 404 page that does the restarting.
>>>>How can I create such a page ?

>>I'm also experiencing this but just on async events when the session
>>expires or is invalid from recycling the service.



This still appears to happen (using 14.2.7) but only on mobile Safari.  


To reproduce: 
  • Access the IW page.
  • Swipe away the browser.
  • Wait until the session ends.
  • Access the IW page again (without using a bookmark, Safari appears to cache the last accessed page).
  • In my case, I click past an initial CGDevTools dialog then get a 404.  Clicking on the IW 404 page fixes it as does accessing through a bookmark.
     
Can provide a link to demonstrate if needed.

If you can provide a link privately so I can see what is actually happening, please send an email to alexandre [at] atozed dot com

I'll check it out ASAP.

Kind regards

Hi,

we did several tests with Abyss as a reverse proxy (also with Apache) and both worked flawlessly. I don't see any reason why it should fail... Is it failing to send a header to the browser or, the other way around, it is not forwarding something to IW server? Does it happen in Safari/iOS only?
Reply
#6
From Abyss log:
... - - [25/Jun/2018:05:38:21 -0700] "GET /$/FWPEForm.html HTTP/1.1" 404 2003 ...

It’s very odd, it only seems to occur with Abyss reverse proxy + safari/iOS + starting safari when an IW page was the last page accessed and cached.  The Abyss logs seem to show a request being munged as it’s translated from the proxy to the IW service (in my case ‘/DFWPEForm.html’ gets copied as ‘/$/FWPEForm.html’ hence the 404).  The work around in Abyss was simple enough – just added a rule to translate it back correctly.  The IW service responds correctly when there is no reverse proxy.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)