Hi Paul,
please see the screenshots below. These are all errors I see in the Canvas Sample (before res. after logging in as ADMIN user with just TM1 security).
I access Canvas (and everything around TM1 in general) using the FQDN:
http://FQDN:8080/samples/#/sample/component/tm1web
TM1Web standalone can be reached without problems via http://:9510/tm1web.
I have the following console output before the login prompt:
Then the login prompt comes up, and I enter “admin”. The following errors come up after logging in:
The full text of the last error message is:
Possibly unhandled rejection: {“data”:null,“status”:-1,“config”:{“method”:“POST”,“transformResponse”:[null],“jsonpCallbackParam”:“callback”,“url”:“http://localhost:9510/tm1web/dwrx/jsonp/TM1Service/login",“headers”:{“Content-Type”:“application/x-www-form-urlencoded”,“Accept”:"application/json, text/plain, /”},“data”:{“param0”:“”,“param1”:“Canvas Sample”,“param2”:“admin”,“param3”:“”},“withCredentials”:true},“statusText”:“”}
I’m wondering why the callback url in that message contains the “localhost” instead of my FQDN.
This is my instances.json:
[
{
"name":"pnf",
"restUri":"https://<FQDN>:3356",
"tm1WebUri":"http://<FQDN>::9510/tm1web",
"applyParenthesisFormatting":true,
"chartColorScheme":["#FB6900", "#F63700", "#004853", "#007E80", "#00B9BD"],
"clientCAMURI":"http://<FQDN>:/ibmcognos/cgi-bin/cognos.cgi",
"camNamespaces":["<ADServer>"],
"useSSOWithCAM":true
}
]
When I access the same sample page directly from the server via http://localhost/…, I just get the following message in the Console:
Any idea? Anything I could try or test?
Thanks,
Andreas