Cognos Analytics

 View Only
  • 1.  Issue configuring Jupyter Notebooks on CA

    Posted Fri May 17, 2019 12:02 PM
    Hi All,
    Im facing issus configuring Jupyter notebooks. I trying to configure per the steps mentioned in the documention except ssl configuration.

    I get below error messages when i try to create notebook from new handle.


    I get the below screen when i try to acess jupyter server below url
    http://<Server>:8000/bi/v1/jupyter/hub/ibmcalogin



    Not sure if i missed a configuration step.
     Thanks,

    ------------------------------
    Raju Kella
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Issue configuring Jupyter Notebooks on CA

    Posted Mon May 20, 2019 08:42 AM

    Raju,

    I think CA host ( as you configured in the Dispatcher URL ) is not accessible from Linux Server where Jupyter Server is running. Try to ping CA host from Linux/Unix box and see if you are able to access http://dispatcher fully qualified name:9300/bi from Linux host.

    Thanks,
    Sudhakar



    ------------------------------
    Sudhakar Chappidi
    ------------------------------



  • 3.  RE: Issue configuring Jupyter Notebooks on CA

    Posted Tue May 21, 2019 09:05 AM
    Edited by System Fri January 20, 2023 04:41 PM
    Hello,
    I have also same issue. As I ping dispatcher from Linux I am getting succesfull connection. 

    I am getting following error from jupyter container:
    [E 2019-05-20 08:56:18.101 JupyterHub log:158] 500 GET /bi/v1/jupyter/hub/notebooks/new?kernel_name=python3 (@::ffff:<CAServer>) 24.59ms

    have u ever faced that error? 

    Regards
    Farhod

    ------------------------------
    Farhod Rasulov
    ------------------------------



  • 4.  RE: Issue configuring Jupyter Notebooks on CA

    Posted Tue May 21, 2019 12:01 PM
    A couple of things:

    1. Run the command 'docker logs <containerID>' and check what information is captured
    2. Open a browser and log into your CA environment e.g. http://<server>:<port>/bi/v1/disp
    Then open a new session and type:

    http://<ca_server>:<port>/bi/v1/jupyter/notebooks/new?kernel_name=python3

    What message do you see on the page?

    3. You could also reset by:

    navigate to /opt/ibm/cognos/jupyter/dist/scripts/unix
    ./stop.sh
    ./prune.sh
    ./start.sh

    Then test.


    ------------------------------
    ANTONIO MARZIANO
    ------------------------------



  • 5.  RE: Issue configuring Jupyter Notebooks on CA

    Posted Wed May 22, 2019 01:09 AM

    Thank you all for the inputs. I will trying the above suggestions and post the results.

    ------------------------------
    Raju Kella
    ------------------------------



  • 6.  RE: Issue configuring Jupyter Notebooks on CA

    Posted Wed May 22, 2019 05:10 AM
    Hello,

    make sure your Cognos environment is reachable by the Jupyter environment.
    I got a similar issue because my Cognos environment is not reachable.
    Maybe check with your network administrator

    regards,

    ------------------------------
    Vivien
    Senior Consultant
    Talan Solutions
    Paris
    ------------------------------



  • 7.  RE: Issue configuring Jupyter Notebooks on CA

    Posted Wed May 22, 2019 11:02 AM
    @Vivien You are right. I had DNS issues with linux machine where I configured Jupyter notebook server. ​I got it working now. 

    Thanks all.

    ------------------------------
    Raju Kella
    ------------------------------