neoPix / bluelinky-stamps

10 stars 6 forks source link

requests.exceptions.ConnectionError #5

Closed Fredrik-Bjuren closed 1 year ago

Fredrik-Bjuren commented 1 year ago

Hi,

thank for this great stampgenerator. It works fine on Windows 10 but on Android I'll try to use it and then get this error thru python-for-android (copy from logcat below). Any idea how I should solve this?

10-30 13:53:47.162 12176 12238 I python : requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /neoPix/bluelinky-stamps/master/kia-e7bcd186-a5fd-410d-92cb-6876a42288bd.v2.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x6df83d8310>: Failed to establish a new connection: [Errno 7] No address associated with hostname')) 10-30 13:53:47.162 12176 12238 I python : Python for android ended.

Fredrik-Bjuren commented 1 year ago

Solution add Internet permission in manifest for Android. Read that it was included always as standard but that was false.