Xqt created this task.
Xqt added projects: Pywikibot-core, Pywikibot-network.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

request to vikidia site gives ssl-warnigs (InsecureRequestWarning)

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Administrator>cd ..

C:\Users>cd ..

C:\>cd pwb/git/core

C:\pwb\GIT\core>pwb.py shell
Welcome to the Pywikibot interactive shell!
>>> import pwb, pywikibot as py
>>> s = py.Site('de', 'vikidia')
>>> p = py.Page(s, 'Main Page')
WARNING: C:\Program Files (x86)\Python36-32\lib\site-packages\requests\packages\
urllib3\connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request
is being made. Adding certificate verification is strongly advised. See: https:/
/urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>> p.exists()
>>> p = py.Page(s, 'Vikidia:Hauptseite')
>>> p.exists()
WARNING: C:\Program Files (x86)\Python36-32\lib\site-packages\requests\packages\
urllib3\connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request
is being made. Adding certificate verification is strongly advised. See: https:/
/urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
True
>>> exit()

This is also shown even when protocol method returns 'http' instead of 'https':

C:\pwb\GIT\core>pwb.py shell
Welcome to the Pywikibot interactive shell!
>>> import pwb, pywikibot as py
>>> s = py.Site('de', 'vikidia')
>>> p = py.Page(s, 'Vikidia:Hauptseite')
WARNING: C:\Program Files (x86)\Python36-32\lib\site-packages\requests\packages\
urllib3\connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request
is being made. Adding certificate verification is strongly advised. See: https:/
/urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
WARNING: Non-JSON response received from server vikidia:de; the server may be do
wn.
WARNING: Waiting 5 seconds before retrying.
WARNING: C:\Program Files (x86)\Python36-32\lib\site-packages\requests\packages\
urllib3\connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request
is being made. Adding certificate verification is strongly advised. See: https:/
/urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>>

TASK DETAIL
https://phabricator.wikimedia.org/T171164

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Linedwell, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to