I have a connection issue when I tried to connect Tiger Graph using pyTigerGraph in Jupyter Notebook. The secret I am using is the one created in AdminPortal. However, after I run the getToken(), the error occurs Please check the details in the following screenshot.
@ydeng Did you change the parameters for your solution? The credentials in that example belong to an old box I was connected to and was terminated. (If you run “as-is” you will get an error)
Domain = Graph = Secret =
Update the parameters to match your solution information. If you need help on anything let me know. If it’s your first time generating a secret you will navigate to Tools > Admin Portal > Management > Users
Did you try executing the code in the Google Colab with your credentials? Did you run into any errors while using the Google Colab to test the connection?
Other pyTigerGraph users have experienced issues on Windows. Are you trying to run the notebook locally on a Windows machine?
We host weekly office hour sessions (TigerGraph Graphe) in Discord on Tuesdays @ 7:30am PST. Feel free to join, and we can help out there as well.
I tried to use Google Colab to run the code with my credentials and I am able to get the token now. However, I have another connection issue when I tried to connect with localhost (TigerGraph Desktop)? I am using the similar setup @Jon_Herke provides and change the domain to “http://127.0.0.1:14240”.
@ydeng for the domain the port is handled through pyTigerGraph. Could you try changing the Domain to http://127.0.0.1orhttps://127.0.0.1 depending on your security configurations?
@Jon_Herke I’ve tried to use both http://127.0.0.1orhttps://127.0.0.1 as the Domain; however, I still got the error message. I notice that there are 2 types of Security, LDAP and SSO. And I was trying to use SSO. Is there anything I should pay attention to set up the SSO in AdminPortal?
@ydeng Do you have some free time today? Maybe we can jump into a Virtual Room on Discord. Once we discover the resolution we can post the resolution steps here.