![]() ![]() : HTTPSConnectionPool(host=**'MYHOST'**, port=443): Max retries exceeded with url: /api/v1/login (Caused by NewConnectionError(': Failed to establish a new connection: Connection refused',)) Raise MaxRetryError(_pool, url, error or ResponseError(cause)) : : Failed to establish a new connection: Connection refusedįile "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in sendįile "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 641, in urlopenįile "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 399, in increment Self, "Failed to establish a new connection: %s" % e) (self._dns_host, self.port), self.timeout, **extra_kw)įile "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 80, in create_connectionįile "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 70, in create_connectionĬonnectionRefusedError: Connection refusedĭuring handling of the above exception, another exception occurred:įile "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 603, in urlopenįile "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 344, in _make_requestįile "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 843, in _validate_connįile "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 305, in connectįile "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 169, in _new_conn JetBrains supports this project by providing us with licenses for their fantastic products.įile "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 160, in _new_conn Reporting bugs and asking for features is also contributing ) Feel free to help us grow by registering issues. ![]() Please, try to implement tests for all your code and use a PEP8 compliant code style. (It may take a while to merge your code but if it's good it will be merged). You can contribute by doing Pull Requests. To start test server do docker-compose up and to take test server down docker-compose down.Tests run on a Rocket.Chat Docker container so install Docker and docker-compose. If you are interested in a specific call just open an issue or open a pull request. Most of the API methods are already implemented. For a detailed parameters list check the Rocket chat API API coverage Only required parameters are explicit on the RocketChat class but you can still use all other parameters. rocketchat import RocketChat rocket = RocketChat( user_id = 'WPXGmQ64S3BXdCRb6', auth_token = 'jvNyOYw2f0YKwtiFS06Fk21HBRBBuV7zI43HmkNzI_s', server_url = '') From pprint import pprint from rocketchat_API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |