{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1445","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1445/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1445/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1445/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-python/issues/1445","id":132924665,"number":1445,"title":"gcloud-python 0.9.0 SSL broken in app engine","user":{"login":"savvykang-bnnjack","id":16752542,"avatar_url":"https://avatars.githubusercontent.com/u/16752542?v=3","gravatar_id":"","url":"https://api.github.com/users/savvykang-bnnjack","html_url":"https://github.com/savvykang-bnnjack","followers_url":"https://api.github.com/users/savvykang-bnnjack/followers","following_url":"https://api.github.com/users/savvykang-bnnjack/following{/other_user}","gists_url":"https://api.github.com/users/savvykang-bnnjack/gists{/gist_id}","starred_url":"https://api.github.com/users/savvykang-bnnjack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savvykang-bnnjack/subscriptions","organizations_url":"https://api.github.com/users/savvykang-bnnjack/orgs","repos_url":"https://api.github.com/users/savvykang-bnnjack/repos","events_url":"https://api.github.com/users/savvykang-bnnjack/events{/privacy}","received_events_url":"https://api.github.com/users/savvykang-bnnjack/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/labels/auth","name":"auth","color":"bfdadc"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/labels/packaging","name":"packaging","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-11T09:24:32Z","updated_at":"2016-02-11T16:03:27Z","closed_at":null,"body":"I noticed the depending crypto module was changed since commit 948cccf3. The project was deployed with GAE release 1.9.32 and gcloud-python 0.9.0.\r\n\r\nHere are some context info according to your recent comments:\r\n\r\n1. How do you vendor in gcloud-python for App Engine?\r\nAs described in GAE documentation: https://cloud.google.com/appengine/docs/python/tools/libraries27#vendoring\r\n\r\n2. Which services / gcloud-python subpackages do you use? (I'm curious which imports / import paths your code has been using.)\r\nI am generating signed url for an object in Google Cloud Storage. Here's the partial stacktrace:\r\n> Traceback (most recent call last):\r\n> ---- omitted for simple trace) ----\r\n>     from ext import cloudstorage as storage\r\n>   File \"/base/data/home/apps/s~jackend-0/1.390622100755930629/ext/cloudstorage.py\", line 8, in <module>\r\n>     from gcloud import (\r\n>   File \"/base/data/home/apps/s~jackend-0/1.390622100755930629/lib/gcloud/storage/__init__.py\", line 43, in <module>\r\n>     from gcloud.storage.blob import Blob\r\n>   File \"/base/data/home/apps/s~jackend-0/1.390622100755930629/lib/gcloud/storage/blob.py\", line 28, in <module>\r\n>     from gcloud.credentials import generate_signed_url\r\n>   File \"/base/data/home/apps/s~jackend-0/1.390622100755930629/lib/gcloud/credentials.py\", line 22, in <module>\r\n>     from OpenSSL import crypto\r\n>   File \"/base/data/home/apps/s~jackend-0/1.390622100755930629/lib/OpenSSL/__init__.py\", line 8, in <module>\r\n>     from OpenSSL import rand, crypto, SSL\r\n>   File \"/base/data/home/apps/s~jackend-0/1.390622100755930629/lib/OpenSSL/rand.py\", line 11, in <module>\r\n>     from OpenSSL._util import (\r\n>   File \"/base/data/home/apps/s~jackend-0/1.390622100755930629/lib/OpenSSL/_util.py\", line 6, in <module>\r\n>     from cryptography.hazmat.bindings.openssl.binding import Binding\r\n>   File \"/base/data/home/apps/s~jackend-0/1.390622100755930629/lib/cryptography/hazmat/bindings/openssl/binding.py\", line 14, in <module>\r\n>     from cryptography.hazmat.bindings._openssl import ffi, lib\r\n> ImportError: dynamic module does not define init function (init_openssl)\r\n\r\n\r\nI guess this is caused by the [inherent inflexibility](https://cloud.google.com/appengine/docs/python/tools/libraries27) with runtime environment in GAE, and affects #1009 which seems to conflict with this issue."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/comments/182934954","html_url":"https://github.com/GoogleCloudPlatform/gcloud-python/issues/1445#issuecomment-182934954","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1445","id":182934954,"user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T16:03:27Z","updated_at":"2016-02-11T16:03:27Z","body":"Re-opening, this is a **different** import error than the one in #1436, will rename accordingly"}}