Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another World Happiness crash report (certificate issues) #7

Open
wvdvegte opened this issue Jan 11, 2024 · 0 comments
Open

Another World Happiness crash report (certificate issues) #7

wvdvegte opened this issue Jan 11, 2024 · 0 comments

Comments

@wvdvegte
Copy link

One of my students cannot use the World Happiness widget: every time he puts it on the canvas or double clicks the widget on the canvas, he is getting the following error report:

Exception:
pymongo.errors.ServerSelectionTimeoutError: cluster0-shard-00-00.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms),cluster0-shard-00-02.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms),cluster0-shard-00-01.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 659e621043138498c53ae579, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('cluster0-shard-00-00.vxftj.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-00.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription ('cluster0-shard-00-01.vxftj.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-01.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription ('cluster0-shard-00-02.vxftj.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-02.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>
Module:
pymongo.topology:259
Widget Name:
Socioeconomic Indices
Widget Module:
orangecontrib.worldhappiness.widgets.owwhstudy:381
Version:
3.36.2
Environment:
Python 3.9.12 on Windows 10 10.0.22631 AMD64
Installed Packages:
AnyQt==0.2.0, Bottleneck==1.3.7, Brotli==1.1.0, Orange-Spectroscopy==0.6.11, Orange3-Associate==1.3.0, Orange3-Educational==0.7.1, Orange3-Explain==0.6.8, Orange3-Fairness==0.1.7, Orange3-Geo==0.4.1, Orange3-ImageAnalytics==0.12.2, Orange3-Network==1.8.0, Orange3-Prototypes==0.21.1, Orange3-Text==1.15.0, Orange3-Timeseries==0.6.1, Orange3-WorldHappiness==0.1.9, Orange3==3.36.2, Pebble==5.0.6, Pillow==10.0.0, PyQt5-sip==12.12.2, PyQt5==5.15.9, PyQtWebEngine==5.15.4, PySocks==1.7.1, PyYAML==6.0.1, Pygments==2.16.1, QtPy==2.4.0, XlsxWriter==3.1.5, aif360==0.5.0, annotated-types==0.6.0, anyio==4.0.0, appdirs==1.4.4, asteval==0.9.31, asttokens==2.4.0, attrs==23.1.0, backcall==0.2.0, backports.functools-lru-cache==1.6.5, baycomp==1.0.2, beautifulsoup4==4.12.2, biopython==1.82, catboost==1.2.2, cattrs==23.1.2, certifi==2023.7.22, chardet==5.2.0, charset-normalizer==3.2.0, click==8.1.7, cloudpickle==3.0.0, colorama==0.4.6, colorcet==3.0.1, commonmark==0.9.1, conllu==4.5.3, contourpy==1.1.1, cycler==0.11.0, debugpy==1.8.0, decorator==5.1.1, defusedxml==0.7.1, dictdiffer==0.9.0, distro==1.9.0, dnspython==2.4.2, docutils==0.20.1, docx2txt==0.8, et-xmlfile==1.1.0, exceptiongroup==1.1.3, executing==1.2.0, extranormal3==0.0.3, fonttools==4.42.1, frozendict==2.4.0, future==0.18.3, gensim==4.3.2, graphviz==0.20.1, h11==0.14.0, h2==4.1.0, h5py==3.10.0, hpack==4.0.0, html5lib==1.1, httpcore==0.18.0, httpx==0.25.0, hyperframe==6.0.1, idna==3.4, importlib-metadata==6.8.0, importlib-resources==6.1.0, ipykernel==6.14.0, ipython-genutils==0.2.0, ipython==8.4.0, itsdangerous==2.1.2, jaraco.classes==3.3.0, jedi==0.19.0, jellyfish==1.0.3, joblib==1.3.2, jupyter-client==8.3.1, jupyter-core==5.3.2, keyring==24.2.0, keyrings.alt==4.2.0, kiwisolver==1.4.5, langdetect==1.0.9, lemmagen3==3.5.0, llvmlite==0.41.1, lmfit==1.2.2, lxml==5.1.0, matplotlib-inline==0.1.6, matplotlib==3.8.0, more-itertools==10.1.0, multitasking==0.0.11, munkres==1.1.4, ndf==0.1.4, nest-asyncio==1.5.6, networkx==3.1, nltk==3.8.1, numba==0.58.1, numpy==1.23.5, oauthlib==3.2.2, odfpy==1.4.1, openTSNE==1.0.0, openai==1.7.0, openpyxl==3.1.2, orange-canvas-core==0.1.33, orange-widget-base==4.22.0, owlready2==0.45, packaging==23.1, pandas-datareader==0.10.0, pandas==1.5.3, param==2.0.1, parso==0.8.3, patsy==0.5.6, peewee==3.17.0, pickleshare==0.7.5, pip==23.2.1, platformdirs==3.10.0, plotly==5.17.0, ply==3.11, pooch==1.7.0, prompt-toolkit==3.0.39, psutil==5.9.5, pure-eval==0.2.2, pybind11==2.11.1, pyct==0.5.0, pydantic-core==2.14.6, pydantic==2.5.3, pymongo==4.6.1, pyparsing==3.1.1, pypdf==3.17.4, pyproj==3.6.1, pyqtgraph==0.13.3, python-dateutil==2.8.2, python-louvain==0.16, pytz==2023.3.post1, pywin32-ctypes==0.2.2, pywin32==306, pyzmq==25.1.1, qasync==0.24.2, qtconsole==5.4.4, regex==2023.12.25, renishawWiRE==0.1.16, requests-cache==1.1.0, requests-oauthlib==1.3.1, requests==2.31.0, scikit-learn==1.1.3, scipy==1.10.1, segtok==1.5.11, serverfiles==0.3.0, setuptools==68.2.2, shap==0.44.0, shapely==2.0.2, simhash==2.1.2, simplejson==3.19.2, sip==6.7.11, six==1.16.0, slicer==0.0.7, smart-open==6.4.0, sniffio==1.3.0, soupsieve==2.5, spectral==0.23.1, stack-data==0.6.2, statsmodels==0.14.1, tabulate==0.9.0, tenacity==8.2.3, threadpoolctl==3.2.0, tiktoken==0.5.2, toml==0.10.2, tomli==2.0.1, tornado==6.3.3, tqdm==4.66.1, traitlets==5.10.1, trimesh==4.0.8, tweepy==4.14.0, typing-extensions==4.8.0, ufal.udpipe==1.3.1.1, ujson==5.8.0, uncertainties==3.1.7, unicodedata2==15.1.0, url-normalize==1.4.3, urllib3==2.0.5, wbgapi==1.0.12, wcwidth==0.2.6, webencodings==0.5.1, wheel==0.41.2, wikipedia==1.4.0, win-inet-pton==1.1.0, xgboost==2.0.3, xlrd==2.0.1, yake==0.4.8, yfinance==0.2.35, zipp==3.17.0
Machine ID:
6abce4c3-c6d8-43b5-af9f-a445e7e5fe8d
Stack Trace:
Traceback (most recent call last):
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\orangecanvas\scheme\widgetmanager.py", line 404, in __process_init_queue
self.ensure_created(node)
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\orangecanvas\scheme\widgetmanager.py", line 350, in ensure_created
self.__add_widget_for_node(node)
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\orangecanvas\scheme\widgetmanager.py", line 243, in __add_widget_for_node
w = self.create_widget_for_node(node)
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\orangewidget\workflow\widgetsscheme.py", line 300, in create_widget_for_node
widget = self.create_widget_instance(node)
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\orangewidget\workflow\widgetsscheme.py", line 413, in create_widget_instance
widget.init()
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\orangecontrib\worldhappiness\widgets\owwhstudy.py", line 381, in init
self.country_features = MONGO_HANDLE.countries()
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\orangecontrib\worldhappiness\whstudy\world_data_api.py", line 66, in countries
for doc in cursor:
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\pymongo\cursor.py", line 1264, in next
if len(self.__data) or self._refresh():
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\pymongo\cursor.py", line 1155, in _refresh
self.__session = self.__collection.database.client._ensure_session()
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\pymongo\mongo_client.py", line 1823, in _ensure_session
return self.__start_session(True, causal_consistency=False)
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\pymongo\mongo_client.py", line 1766, in __start_session
self._topology._check_implicit_session_support()
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\pymongo\topology.py", line 573, in _check_implicit_session_support
self._check_session_support()
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\pymongo\topology.py", line 589, in _check_session_support
self._select_servers_loop(
File "C:\Users\javie\AppData\Local\Programs\Orange\lib\site-packages\pymongo\topology.py", line 259, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: cluster0-shard-00-00.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms),cluster0-shard-00-02.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms),cluster0-shard-00-01.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 659e621043138498c53ae579, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('cluster0-shard-00-00.vxftj.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-00.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription ('cluster0-shard-00-01.vxftj.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-01.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription ('cluster0-shard-00-02.vxftj.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-02.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>

Local Variables:
OrderedDict([('address', None),
('end_time', 168281.187),
('now', 168281.328),
('selector',
<function readable_server_selector at 0x00000226B08A0160>),
('self',
<Topology <TopologyDescription id: 659e621043138498c53ae579, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('cluster0-shard-00-00.vxftj.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-00.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription ('cluster0-shard-00-01.vxftj.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-01.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription ('cluster0-shard-00-02.vxftj.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-02.vxftj.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>>),
('server_descriptions', []),
('timeout', 30)])

The traceback part seems similar to #6, perhaps it's the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant