I have been following the webinar to setup python sdk in my machine.
I setup the environmet variable
TP_DEV_TOKEN, (close the terminal and reopen), and I can see it when I output it with echo. I confirmed that the token is the provided here: https://app.testproject.io/#/integrations/sdk.
My agent is running, and I have even tried restarting it. If I go to the provided URL (localhost with port 8585) it show this:
TestProject Agent (0.62.14) on LXVXD2PKJGH6 (Mac OS X)
Installation path: /Applications/TestProject Agent.app/Contents/Resources
Data path: /Users/felipe/Library/Application Support/TestProject/Agent
Registered: Yes (111862)
Authorized: Yes (f_24kjjC-0GWktEYcn_rjA)
Alias: Felipe’s Machine
The error I’m getting is this:
root:agent_client.py:269 Failed to initialize a session with the Agent
root:agent_client.py:270 Response from Agent: 404 Client Error: Not Found for url: http://127.0.0.1:8585//api/development/session
note that I’m using the default TP_AGENT_URL. I do have the variable setup to be localhost 8585, but I also tried removing it.
Anybody knows how to fix this? Thanks!