1. Juan Pedro Sanz Diez
  2. PowerServer 2020 or older (Obsolete)
  3. Tuesday, 2 July 2019 09:00 AM UTC

 

Hello.

We have come accross with a bug when we have tried to go by https instead http.

When we conect to a single application. i.e. appweb

http://app.orgnization.org/appweb + intro

it opens the application and goes to

app.orgnization.org/appweb/multi_browser_index.htm

But when we try

https://app.orgnization.org/appweb + intro


it opens the application and goes to

https://app.orgnization.org/appweb/multi_browser_indexs.htm

and the app goes to blank.

Several internet searches and Appeon online helps happened, before we realized the final "s" in multi_browser_indexs

Workarround:

Put from the beginning not

https://app.orgnization.org/appweb + intro

but

https://app.orgnization.org/appweb/multi_browser_index.htm

Problem:

Since we send to our users a single link, now we have to specify that if the are using Edge or chrome this link or iexplorer, this another one.

regads

Juan Pedro.

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 3 July 2019 16:26 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Yes, I thought that might help as a "workaround". Unfortunately not.  :-(

Comment
  1. Juan Pedro Sanz Diez
  2. Thursday, 4 July 2019 07:29 AM UTC
do you know why multi_browser_indexs.htm and multi_browser_index.htm are so diferent?



If we change multi_browser_indexs.htm by multi_browser_index.htm it seems to work properly...



we put



var strHref = window.location.href;



if(0 == strHref.indexOf("https"))

{

// open multi_browser_index.htm

}

else

{

// open "multi_browser_index.htm"

}
  1. Helpful
  1. Mike Jarvis
  2. Friday, 1 November 2019 16:57 PM UTC
I am having the same issue. Web app runs if using http. When using https the app goes blank. Is there an update on this issue?
  1. Helpful
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Wednesday, 3 July 2019 09:38 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

Hi Chris,

index.html checks by itself whether you go by https or http.

In essence, here a mock up of how it works:

var strHref = window.location.href;

if(0 == strHref.indexOf("https"))
{
// open multi_browser_indexs.htm
}
else
{
// open "multi_browser_index.htm"
}

You do not need redirect settings. Strange that Juan gets blank page. 

.m

Comment
  1. Juan Pedro Sanz Diez
  2. Wednesday, 3 July 2019 12:14 PM UTC
It is as you said: default.html have the code you said. The redirection works fine but the application goes blank.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 3 July 2019 16:28 PM UTC
FYI: I am having the same issue after switching from PS2017 to PS2019 - but, only in my FF web browser. The Apps always go blank when the MDI Frame is opening. Apps work fine in all other browsers. Have not been able to track this issue down yet on my test PC's.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 2 July 2019 18:03 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 3

Hi Juan;

  You should not have to specify the HTML designation when you start a PS Web App or send out a link. The specific web browser plug-in will determine this extension.

  What you may have to do is code an HTTP => HTTPS: "redirect" web page once a basic App session has been established.

Regards ... Chris

Comment
  1. Juan Pedro Sanz Diez
  2. Wednesday, 3 July 2019 07:04 AM UTC
Hello, Chris



It goes to https://app.orgnization.org/appweb/multi_browser_indexs.htm itself when i Put https://app.orgnization.org/appweb/



The problem is that multi_browser_indexs.htm make the apllication go to blank.



In fact, it seems not to be a recent problem. This is a piece of code inside the multi_browser_indexs.htm:



window.onresize = function(){ onWindowSizeChange();}



//@begin:[Bug:34149] by wutao on 2015-12-16 ADD

//@reaseon:the page can not refresh,just blank.

// sometimes prefetch will work

//

//@end::[Bug:34149] by wutao on 2015-12-16

if ( document.webkitVisibilityState === undefined || document.webkitVisibilityState === "visible" ) {

visibilityFunction();

} else {

document.addEventListener( "webkitvisibilitychange", visibilityFunction );

}





  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 2 July 2019 17:58 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 4

Hi Marco;

   FYI: The SAFARI web browser is no longer supported in PowerServer.

https://www.appeon.com/support/documents/appeon_online_help/ps2019/installation_guide/ch02s01s01.html

Regards ... Chris

Comment
  1. Marco Meoni
  2. Wednesday, 3 July 2019 09:30 AM UTC
It is by index.htm :-)



re = /(safari).([\d.]+)/;

if( re.exec(BrowserFlag) )

{



.m
  1. Helpful
There are no comments made yet.
Juan Pedro Sanz Diez Accepted Answer Pending Moderation
  1. Tuesday, 2 July 2019 10:16 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 5

Sorry, I'm Wrong.

 

It must say:

 

 

Workarround:

Put from the beginning not

https://app.orgnization.org/appweb + intro

but

https://app.orgnization.org/appweb/multi_browser_index.htm  (With s it doesn't work)

 OK I have corrected the main comment.

 

 

Comment
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Tuesday, 2 July 2019 10:07 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 6

Hello Juan,

default browser behaviour when you access http{s}://servername/appname should be to open index.htm{l}.
Then, index.htm{l} checks itself whether https or not and, if browser is Firefox or Chrome, it auto redirects to multi_browser_index{s}.

You should not append manually multi_browser_index{s}.htm to the app URL because that's not the way to start the app in IE or Safari browsers.

Are you sure index.htm{l} is served as default HTML page when you start the PowerServer app?

Best,

.m

Comment
  1. Juan Pedro Sanz Diez
  2. Tuesday, 2 July 2019 10:21 AM UTC
As I said, I was wrong in the main comment



I think it sent to index.htm{l} and this one to multi_browser_indexs.htm, but this page doesn't exist or doesn't work....
  1. Helpful
  1. Marco Meoni
  2. Tuesday, 2 July 2019 10:43 AM UTC
Hello,

is multi_browser_indexs.htm created under server's C:\inetpub\wwwroot\?

If not, please redeploy your app fully.

If I go by https, multi_browser_indexs.htm gets delivered to my (FF/Chrome) browser.

Multi browser HTML page is not meant to be accessed manually though.

Best,

.m
  1. Helpful
  1. Juan Pedro Sanz Diez
  2. Tuesday, 2 July 2019 13:08 PM UTC
yes, multi_browser_indexs.htm exists for the application.



Then I think it doesn't work properly....
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.