GithubHelp home page GithubHelp logo

cloudify-rest-client's People

Contributors

adamlavie avatar adigrabow avatar chenroth avatar dankilman avatar dusking avatar fogelomer avatar funkyhat avatar geokala avatar idanmo avatar idob-cloudify avatar iliapolo avatar inbala avatar isaac-s avatar jcollado avatar limor-gs avatar m1keil avatar mcouthon avatar mxmrlv avatar nir0s avatar nirbir avatar noakup avatar opencm avatar tehasdf avatar tyacbovi avatar yaelpeled avatar yarivgiga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloudify-rest-client's Issues

Max retries exceeded with url

I'm trying to run the example with cloudify-rest-client==4.1 against my manager (community ed) with the lines:

client = CloudifyClient('http://[ip]', username='admin', password='[pass]', tenant='default_tenant')
blueprints = client.blueprints.list()

The second line gives me the following error:

Traceback (most recent call last):
  File "test.py", line 4, in <module>
    blueprints = client.blueprints.list()
  File "/usr/local/lib/python2.7/dist-packages/cloudify_rest_client/blueprints.py", line 132, in list
    params=params)
  File "/usr/local/lib/python2.7/dist-packages/cloudify_rest_client/client.py", line 239, in get
    timeout=timeout)
  File "/usr/local/lib/python2.7/dist-packages/cloudify_rest_client/client.py", line 221, in do_request
    verify=self.get_request_verify(), timeout=timeout)
  File "/usr/local/lib/python2.7/dist-packages/cloudify_rest_client/client.py", line 143, in _do_request
    timeout=timeout)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 72, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 508, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='http', port=80): Max retries exceeded with url: //10.38.3.74:80/api/3.1/blueprints (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88c7a4ad50>: Failed to establish a new connection: [Errno -2] Name or service not known',))

I've tested that the client machine has connection to the manager ip on port 80.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.