Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Python SSL error

    Cinema 4D SDK
    python r20
    4
    9
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SwinnS
      Swinn
      last edited by a_block

      I have a Python API that is trying to communicate with my server and I am getting this error:

      Error: Communication with Server failed. (<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (ssl.c:661)>)

      Is there a way to fix this? Any help would be appreciated. Thanks.

      SwinnS 1 Reply Last reply Reply Quote 0
      • SwinnS
        Swinn @Swinn
        last edited by

        @swinn Is there any word on a solution to this issue? Any help would be greatly appreciated. Thanks.

        1 Reply Last reply Reply Quote 0
        • M
          m_adam
          last edited by

          Hi @Swinn,

          I can confirm the issue, this is a known issue on Mac, and this is currently being worked on.

          Cheers,
          Maxime.

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

          SwinnS 1 Reply Last reply Reply Quote 0
          • SwinnS
            Swinn @m_adam
            last edited by

            @m_adam Is there any workaround?

            1 Reply Last reply Reply Quote 0
            • a_blockA
              a_block
              last edited by

              Hi Swinn,

              first I'd like to apologize for answering so lately. As announced here, the SDK Team was out of office for more than half of last week. Now, we try to work through the backlog as fast as possible.

              This seems to be an issue only on macOS. It is currently being investigated and we hope to be able to provide a fix with one of the next service packs.

              Cheers,
              Andreas

              SwinnS 1 Reply Last reply Reply Quote 0
              • SwinnS
                Swinn @a_block
                last edited by

                @a_block Cool. Thanks. 👍

                1 Reply Last reply Reply Quote 0
                • orestiskonO
                  orestiskon
                  last edited by orestiskon

                  Hi all,

                  is there an update on this? Some of my customers had trouble verifying their licenses and I pinpointed it to this error.
                  I can work around it by using this solution, which seems to create an unverified context: https://stackoverflow.com/questions/35569042/ssl-certificate-verify-failed-with-python3

                  Is this an acceptable solution for dealing with this issue?

                  1 Reply Last reply Reply Quote 0
                  • M
                    m_adam
                    last edited by

                    What is the version of your customer, this should be fixed until S24 version.

                    Yes it's an Okish solution, best way would be to create the context as demonstrate in urllib2.urlopen fails on C4D for Mac

                    MAXON SDK Specialist

                    Development Blog, MAXON Registered Developer

                    orestiskonO 1 Reply Last reply Reply Quote 1
                    • orestiskonO
                      orestiskon @m_adam
                      last edited by

                      @m_adam Thanks Maxime, I'll check that out.
                      The customer was using R23.110

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post