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
Original Message:
Sent: Mon January 27, 2020 12:47 PM
From: Scott Taylor
Subject: Jupyter server on Windows 10 issue
I'm attempting to install Jupyter server on my Windows 10 system. I've installed Docker for Windows and verified it is working. I've run the Cognos install for Windows Jupyter, it worked fine although I did see in the command text that it couldn't collect pixiedust, 'No matching distribution found for pixiedust...'. Not sure what issue that will cause but my main question is about connection error when starting Cognos Analytics V11.1.5 new Notebook. I receive "An unexpected error occurred. Check the Jupyter server logs.". Checking the logs I found a 'server: 404 client error: Not found ("no such image: ca_jupyter_server_instance: latest: No such image'.
When I ran the 'docker image ls' command I see the following:
ca_jupyter_viewer latest
ca_jupyter_hub latest
ca_jupyter_server_instance_original 11.1.5.xxx
ca_jupyter_server_instance_original installed
ca_jupyter_hub_original 11.1.5.xxx
ca_jupyter_hub_original installed
ca_jupyter_viewer_original 11.1.5.xxx
ca_jupyter_viewer_original installed
There doesn't seem to be an image file for 'ca_jupyter_server_instance'. What or why would that be the case and how do I correct that? I though about renaming the instance_original but I'm not familiar with image files and how they are used so I figured I would screw up the system even worse. I uninstalled the jupyter server with the script and then restarted but the same errors show up.
Hope someone can assist me with this issues.
------------------------------
Scott
Cognos Administrator
Chelan County PUD
------------------------------
#CognosAnalyticswithWatson