Hey Scott,
That's an odd one - you should be fully authenticated to use notebooks.
There isn't a whole lot involved in the authentication process, other than verifying that the user who is running the notebook is a Cognos user
and that the request originated from the browser you're in.
I'd like to investigate further - could you share the entire jupyter hub docker logs with the error in it?
It'd probably be best to restart the server to reset the logs (by running startup.bat) and attempting to open a new notebook again.
Also, just a few follow-up questions:
1) Are cognos analytics and jupyter notebooks encrypted with SSL?
2) Is there a gateway in front of Cognos Analytics?
Thanks,
Rob
------------------------------
ROBERT MCAULEY
------------------------------
Original Message:
Sent: Wed January 29, 2020 08:00 PM
From: Scott Taylor
Subject: Jupyter server on Windows 10 issue
#robert mcauley Thanks for the info. I did comment out the pixiedust package and then ran the build.bat again. This time I now see the Docker image "ca_jupyter_server_instance: latest". I restarted the jupyter server running on my laptop under a 'local System'. When i run 'new notebook' from Cognos I now receive a different error,"The Cognos Analytics server can't communicate with the Jupyter server." Check the Jupyter Service Location field. I did that and confirmed it matched the parameter 'Host_Name' and 'Host_port' in the config.conf file on the laptop.
I also looked at the log files on Docker and found the following error in the lines:
[W 2020-01-29 19:16:55.348 SingleUserNotebookApp auth:370] Failed to check authorization: [400] Bad Request
[W 2020-01-29 19:16:55.348 SingleUserNotebookApp auth:372] {"error": "invalid_request", "error_description": "Invalid authorization code parameter"}
[W 2020-01-29 19:16:55.349 SingleUserNotebookApp web:1680] 500 GET...
I'm the Directory Administrator on Cognos so my security should be fine. I'm also the admin on the laptop. Can you point me to where I might be missing something on the authentication process? Should I run Docker on my laptop with a service account or is the local account ok?
Thanks for your help.
------------------------------
Scott Taylor
Cognos Administrator
Chelan County PUD
Wenatchee WA
------------------------------
Original Message:
Sent: Tue January 28, 2020 02:42 PM
From: ROBERT MCAULEY
Subject: Jupyter server on Windows 10 issue
The pixiedust error in itself is not a big problem, however that may have caused the build process to halt for the image "ca_jupyter_server_instance:latest".
I would try removing the package from "dist/scripts/additional_packages.txt" and re-installing the server.
Let me know if that helps!
Regards,
Robert
------------------------------
ROBERT MCAULEY