We compile a very simple web app…Just a “hello world” label on a window…
We compile it as a standalone web app on port 9000…We call that address in a FileMaker 16 or 17 webviewer
First load = OK (load instantly)
Second load = OK (load instantly)
The third time…FM webviewer seems to indicate it is loading…it worked but it take more than 60 seconds to load
Any ideas ?
Work OK on mac…but not in windows…
Build in 2018r4 but we also try older version without success
Greg : The problem only occur on via FileMaker on windows… If run inside Xojo…it runs OK…as well as on Filemaker Mac.
Christian : we call it via http://127.0.0.1/...no https… i supposed also there is no hsts that force https
Don’t remember it work twice before the problem occur…
It has to be something with xojo…we have other htmlviewer in filemaker that we intensively load, reload javascript…and it work perfectly on windows and mac.
Here is a shot in the dark: You may need to add an entry for 127.0.0.1 in the computer’s hosts file. You will need elevated privileges when you start your text editor. Hosts should be located in the system32/drivers/etc folder. On my win10 laptop, the hosts file is empty. Here is an example from another computer:
[code]# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
This file contains the mappings of IP addresses to host names. Each
entry should be kept on an individual line. The IP address should
be placed in the first column followed by the corresponding host name.
The IP address and the host name should be separated by at least one
space.
Additionally, comments (such as these) may be inserted on individual
lines or following the machine name denoted by a ‘#’ symbol.