FuzzkingCool Posted May 25, 2017 Report Share Posted May 25, 2017 Hi, I have installed a local server for testing the python api, but am running into a problem. I am testing the CM LREP code found at the top of the page at: https://www.plasticscm.com/documentation/restapi/plastic-scm-version-control-rest-api-guide.shtml#Pythonexample This always fails with: ('Connection aborted.', error(10054, 'An existing connection was forcibly closed by the remote host')) I am: not using ssl windows firewall is totally disabled localhost is enabled in c:/windows/system32/etc/hosts file server address is the default localhost:8087 I have tried 127.0.0.1:8087 with the same result I have run: cm lrep localhost:8087 and get a valid response:default@localhost:8087 repo_zero@localhost:8087 If i run: cm lrep localhost:8087/api/v1/repos I get the following response: default@localhost:8087/api/v1/repos repo_zero@localhost:8087/api/v1/repos I am totally stumped here... any clues would be deeply appreciated! - Aleks Link to comment Share on other sites More sharing options...
FuzzkingCool Posted May 25, 2017 Author Report Share Posted May 25, 2017 Ok, in the tradition of all my posts on forums recently, I answer my own questions, because I missed something in my reading of documentation. I needed to start the plasticapi first, and the api itself also runs by default on port 9090. See here: https://www.plasticscm.com/documentation/restapi/plastic-scm-version-control-rest-api-guide.shtml#Introduction - Aleks Link to comment Share on other sites More sharing options...
manu Posted May 26, 2017 Report Share Posted May 26, 2017 Great you found the answer at the docs! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.