Errors accessing podio api from python

Comments

4 comments

  • Andreas Haugstrup Pedersen

    Looks like your python isn't configured to deal with SSL correctly (or at all).

    0
    Comment actions Permalink
  • Marc Decroos

    @Andreas And how is this solved to make that SSL dealing work ?

    0
    Comment actions Permalink
  • Markus Reuter

    “Hi Marc,
    I did the following:

    Changing (in HTTPSConnectionWithTimeout constructor):

    http.client.HTTPSConnection.init(self, host, port=port,
    key_file=key_file, cert_file=cert_file, timeout=timeout,
    context=context,
    check_hostname= True)

    to:

    http.client.HTTPSConnection.init(self, host, port=port,
    key_file=key_file, cert_file=cert_file, timeout=timeout,
    context=context,
    check_hostname= disable_ssl_certificate_validation ^ True)

    Please have notice on disable_ssl_certificate_validation

    Regards

    0
    Comment actions Permalink
  • Marc Decroos

    It works ! tx !
    Now find good examples to continu iterating over app's / items / tasks etc ... ;-)

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk