In my HCL Domino Volt 1.0.1 (Release 1.0.1.0_9) local installation, everything works ok (develop, preview, deploy, ...) until I launch a well-tested app, that shows the JS error: "Uncaught ReferenceError: freedomapplication is not defined"
Someone with this problem?
Hi Javier,
We would very much like to understand how this could be happening. We have seen another case of this "in the wild" but have not yet been able to reproduce the exact same conditions that cause it to happen. The request to .../anon/1/content/... should have been redirected to .../secure/1/content/...
It would help us get to the root cause if you could temporarily enable additional http logging on your Domino server by invoking the following command in the console:
tell http debug thread on
After doing this, please refresh the page again. A log file will appear at [domino_data_dir]\IBM_TECHNICAL_SUPPORT\htthr_xxx.log. Please upload this log file. We are interested in log messages such as "... Process Request for User CN=xxxx/O=xxxxx ..."
Once you have captured a log file, turn off this additional logging:
tell http debug thread off
Those are the log files that have been generated with the process that you described.
If you need additional info, please just ask.
Thanks in advance
httpLog.zip
Thanks Javier. That does give us some more clues. What type of session authentication is configured on this server? "Single Server", "Multiple Servers (SSO)", "SAML", or "Disabled"
It's configured to "Single Server". I've uploaded a few captures of some parts of the internet site configuration.
Thanks Again Javier. Appreciate your quick responses on this. I can reproduce this issue now, but only with basic authentication (aka "Disabled" session authentication). I cannot reproduce with "Single Server". In fact, the http logs you sent don't match a setting of "Single Server".
It appears as if your browser has remembered some basic auth credentials and is using those to make some requests to Volt, but not all requests (which is why the page fails to load properly).
Were you previously interecting with this same server with this same browser using basic authentication, (aka "Disabled" session authentication)?
Next steps:
- Confirm the behviour you are seeing. Are you prompted to log-in to this application with a login html page, or is it the browser prompting for credentials, or perhaps neither?
- Please try this same application in another browser, one in which you have never used Volt before.
Reading your replay I figured that although the session authentication setting from the volt internet site was in "Single Server", the session authentication setting in my "Current Server Document" was in "Disable".
As you say, that shows the browser authentication. When I changed the Current server Document from "Disable" to "Single Server", a html login form appears and... It works!
Thanks Rob, I'm very grateful for your help.
Very glad it is working for you now.
As a result of this conversation, we will make changes to ensure that the product works better with basic authentication (eta, Volt 1.0.2). Basic authentication is not a mode we expect to be used in a proper environment, but we do know that those trying out the product could run into this issue.