Planning Analytics

 View Only
  • 1.  Git Integration failed to git repository : error cod 289

    Posted Thu June 24, 2021 12:54 PM
      |   view attached
    Hi,

    Need help Git Integration with Planning Analytics. 

    I am getting error while using GitInit from postman.
    "error": {
            "code""289",
    "message""TM1 Git failed to connect to remote.Reason :TM1 Git network connection failed."

    1. Here Github url is specific to customers domain github, eg: alm-github.systems.x.x/userid/repo/ " ,the same Git url i am able to open from broswer on PA server with same credentials
    2. certificates also imported properly
    3.when i use Get function I am getting response from PA ; http://hostname:xxxx/api/v1/ 

    Thanks
    Rama Krishna


    ------------------------------
    Rama Krishna Oleti
    ------------------------------

    #PlanningAnalyticswithWatson


  • 2.  RE: Git Integration failed to git repository : error cod 289

    IBM Champion
    Posted Thu July 01, 2021 12:47 PM
    Is TM1 running under a service account? Does the account have proper rights to connect to the git-server?

    ------------------------------
    Christoph Hein
    ------------------------------



  • 3.  RE: Git Integration failed to git repository : error cod 289

    Posted Wed July 07, 2021 07:29 AM
    Thanks Christoph .

    I think the issue is with proxy server. i need to use proxy details



    Thanks
    Rama Krishna


    ------------------------------
    Rama Krishna Oleti
    ------------------------------



  • 4.  RE: Git Integration failed to git repository : error cod 289

    Posted Fri July 02, 2021 05:33 AM
    Hi Rama,

    I think it might be related to the URL you are specifying. It is the URL you'd specify in a git clone command which typically ends in ".git". When using public GitHub you'd be using the URL shown when you hit the "Clone or Download" or "Code" button (depending on version of GitHub).  

    For example, I've got a demo model I've used at a Cubewise conference on my personal GitHub here: https://github.com/Hubert-Heijkers/tm1-model-pony-music, but if you want to use that with TM1's GIT integration the URL you'd specify is: https://github.com/Hubert-Heijkers/tm1-model-pony-music.git, or, if you want to use SSH: git@github.com:Hubert-Heijkers/tm1-model-pony-music.git in which case you'd have to have one of the latest 11.8.x versions of TM1 and specify your public and private keys in the request as well. In either case, the URL ends in ".git".

    ------------------------------
    Hubert Heijkers
    ------------------------------



  • 5.  RE: Git Integration failed to git repository : error cod 289

    Posted Wed July 07, 2021 12:20 PM
    Thanks for your reply Hubert.

    At the end i am using .git in url also..

    i came to know this is because of proxy.

    From the below command i removed  config option which is working fine in my local machine but when i tried on client server i am not able to connect.
    Now i need to test adding " config with proxy". As this proxy is hidden on client server i am waiting for details from client side team. Once I get details i will test it again. 
    POST /api/v1/GitInit
    {
     "URL": "https://github.com/GithubAccountXXX/RepoXXX.git",
     "Deployment": "prod",
     "Username": "GitUserXXX",
     "Password": "xxx",
     "Config":
     {
       "http.proxy": "http://localhost:8888"
     }
    }

    Thanks
    Rama Krishna

    ------------------------------
    Rama Krishna Oleti
    ------------------------------