久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <small id='Ooh0Z'></small><noframes id='Ooh0Z'>

    <tfoot id='Ooh0Z'></tfoot>

        <bdo id='Ooh0Z'></bdo><ul id='Ooh0Z'></ul>
        <i id='Ooh0Z'><tr id='Ooh0Z'><dt id='Ooh0Z'><q id='Ooh0Z'><span id='Ooh0Z'><b id='Ooh0Z'><form id='Ooh0Z'><ins id='Ooh0Z'></ins><ul id='Ooh0Z'></ul><sub id='Ooh0Z'></sub></form><legend id='Ooh0Z'></legend><bdo id='Ooh0Z'><pre id='Ooh0Z'><center id='Ooh0Z'></center></pre></bdo></b><th id='Ooh0Z'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Ooh0Z'><tfoot id='Ooh0Z'></tfoot><dl id='Ooh0Z'><fieldset id='Ooh0Z'></fieldset></dl></div>
        <legend id='Ooh0Z'><style id='Ooh0Z'><dir id='Ooh0Z'><q id='Ooh0Z'></q></dir></style></legend>
      1. Kivy 中的 HTTPS 請求

        HTTPS Request in Kivy(Kivy 中的 HTTPS 請求)
          <tbody id='hIFm1'></tbody>
        <legend id='hIFm1'><style id='hIFm1'><dir id='hIFm1'><q id='hIFm1'></q></dir></style></legend>
        <i id='hIFm1'><tr id='hIFm1'><dt id='hIFm1'><q id='hIFm1'><span id='hIFm1'><b id='hIFm1'><form id='hIFm1'><ins id='hIFm1'></ins><ul id='hIFm1'></ul><sub id='hIFm1'></sub></form><legend id='hIFm1'></legend><bdo id='hIFm1'><pre id='hIFm1'><center id='hIFm1'></center></pre></bdo></b><th id='hIFm1'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='hIFm1'><tfoot id='hIFm1'></tfoot><dl id='hIFm1'><fieldset id='hIFm1'></fieldset></dl></div>

            • <tfoot id='hIFm1'></tfoot>

            • <small id='hIFm1'></small><noframes id='hIFm1'>

                  <bdo id='hIFm1'></bdo><ul id='hIFm1'></ul>

                  本文介紹了Kivy 中的 HTTPS 請求的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我一直在努力處理綁定到通過 AWS API Gateway 托管的 API 的 Kivy 應用程序中的 HTTPS 請求.首先,我從 Python3 轉到 2,然后從 requests 庫轉到 kivy 的 URLRequest.

                  I've been struggling with HTTPS requests in a Kivy app tied to an API hosted through AWS API Gateway. First, I moved from Python3 to 2 and then from the requests library to kivy's URLRequest.

                  該應用程序在我的 linux 桌面上運行良好.當我使用請求庫發出 API 請求時,出現 SSL 錯誤:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

                  The app works fine on my linux desktop. When I made the API request with the requests library I got an SSL error: SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

                  我轉而使用 URLRequest,它似乎與 requests 有相同的 SSL 錯誤.傳遞給 URLRequest 錯誤回調的參數是:(, SSLError(1, '_ssl.c:503: error:14077410:SSLroutines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure')))

                  I moved to using URLRequest, which seems to be having the same SSL error as requests was. Arguments passed into the URLRequest error callback are: (, SSLError(1, '_ssl.c:503: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure'))

                  我發現了這個 stackoverflow 問題:SSL23_GET_SERVER_HELLO:sslv3 警報握手失敗 [基維]

                  I found this stackoverflow question: SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure [Kivy]

                  這意味著這與過時的 python 版本有關.

                  Which implies this has to do with outdated python versions.

                  只是 Kivy android 應用無法與 AWS API 網關通信嗎?

                  Is it just a Kivy android app is incapable of communicating with an AWS API Gateway?

                  Buildozer .spec 行:要求 = hostpython2、kivy、future、python-dateutil、openssl、pyopenssl、jmespath、botocore、boto3、requests

                  Buildozer .spec lines: requirements = hostpython2, kivy, future, python-dateutil, openssl, pyopenssl, jmespath, botocore, boto3, requests

                  android.permissions = 互聯網

                  android.permissions = INTERNET

                  更新:我使用 URL https://kivy 測試了一個 HTTPS GET 請求.org/logos/kivy-logo-black-64.png.這在 Android 應用程序中成功完成.這個問題似乎特定于 AWS API Gateway 使用的 SSL 版本

                  UPDATE: I tested a HTTPS GET request with the URL https://kivy.org/logos/kivy-logo-black-64.png. This completed successfully in the Android App. This problem seems to be specific to the SSL version used by AWS API Gateway

                  UPDATE2:Android 上的 Kivy 也可以與 Google Cloud Platform 的云功能 HTTPS 端點一起正常工作.更多證據表明此問題與 AWS API Gateway 密切相關.

                  UPDATE2: Kivy on Android also works fine with Google Cloud Platform's cloud functions HTTPS endpoints. Even more evidence this issue is specifically tied to AWS API Gateway.

                  推薦答案

                  確保您的 .spec 文件具有 Internet 權限.另外,如果您使用 python2,我相信您的要求中需要hostpython2".我不確定您在其中的任何要求是否依賴于 python 2 或 3,但如果您使用的是 python 2,請確保它們適用于 python 2.此外,我認為您的請求要求中不需要 [安全].嘗試只輸入請求",您也可以嘗試安裝 sqlite 并將 g 添加到您的要求中.

                  Make sure your .spec file has internet permissions. Also I believe you need 'hostpython2' in your requirements if you are using python2. Im not sure if any of the requirements you have in there are python 2 or 3 dependent but make sure they work for python 2 if that's what your using. Also I dont think you need the [security] in your requests requirement. Try just putting 'requests' also u might try installing sqlite and adding g that into your requirements as well.

                  這篇關于Kivy 中的 HTTPS 請求的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                  IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                  How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                  How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網絡提供商)
                  Get current location during app launch(在應用啟動期間獲取當前位置)
                  locationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)
                  • <tfoot id='NvG6i'></tfoot>

                      <bdo id='NvG6i'></bdo><ul id='NvG6i'></ul>

                      1. <i id='NvG6i'><tr id='NvG6i'><dt id='NvG6i'><q id='NvG6i'><span id='NvG6i'><b id='NvG6i'><form id='NvG6i'><ins id='NvG6i'></ins><ul id='NvG6i'></ul><sub id='NvG6i'></sub></form><legend id='NvG6i'></legend><bdo id='NvG6i'><pre id='NvG6i'><center id='NvG6i'></center></pre></bdo></b><th id='NvG6i'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='NvG6i'><tfoot id='NvG6i'></tfoot><dl id='NvG6i'><fieldset id='NvG6i'></fieldset></dl></div>

                        • <small id='NvG6i'></small><noframes id='NvG6i'>

                            <tbody id='NvG6i'></tbody>

                          1. <legend id='NvG6i'><style id='NvG6i'><dir id='NvG6i'><q id='NvG6i'></q></dir></style></legend>
                            主站蜘蛛池模板: 精品国产乱码久久久久久蜜柚 | 久久久久久久久久久久久91 | 亚洲激精日韩激精欧美精品 | 天天操狠狠操 | 亚洲黄色高清视频 | 色本道| 亚洲天堂一区二区 | 日本在线网站 | 九九热在线免费视频 | 欧美日韩国产一区二区三区 | 九九热视频这里只有精品 | 久久伊人在 | 成人日韩 | 欧美日韩国产一区二区 | 极品的亚洲 | 国产在线a视频 | 国产成人免费 | 亚洲成人免费视频 | 国产成人精品一区二区在线 | 日本午夜精品一区二区三区 | 精品在线看| eeuss国产一区二区三区四区 | 一级特黄网站 | 三级成人在线 | 麻豆一区二区三区精品视频 | 一区二区日本 | 国产精品欧美一区二区三区不卡 | 日韩一区在线视频 | 国产精品毛片一区二区三区 | 精品国产乱码久久久久久蜜退臀 | 国产精品电影网 | 亚洲高清成人 | 亚洲中午字幕 | hitomi一区二区三区精品 | 精品入口麻豆88视频 | 亚洲高清在线观看 | 久久久久国产一区二区三区 | 国产精品欧美一区二区三区 | 欧美一区二区三区视频在线播放 | 久久精品亚洲精品国产欧美 | 中文字幕av色 |