SSLError: Can't connect to HTTPS URL because the SSL module is not available on google app engine

后端 未结 3 1914
北荒
北荒 2021-01-01 14:37

Want to use wechat sdk to create menu

WeChat.create_menu({
     \"button\":[
     {    
          \"type\":\"click\",
          \"name\":\"Daily Song\",
            


        
3条回答
  •  长发绾君心
    2021-01-01 15:07

    If you're using GAE's Sockets, you can get SSL support without any hacks by simply loading the SSL library.

    Simply add this to your app.yaml file:

    libraries:
    - name: ssl
      version: latest
    

    This is documented on Google Cloud's OpenSSL Support documentation.

提交回复
热议问题