srbhr / Resume-Matcher

Resume Matcher is an open source, free tool to improve your resume. It works by using language models to compare and rank resumes with job descriptions.
https://www.resumematcher.fyi/
Apache License 2.0
4.92k stars 2.11k forks source link

[Errno -3] Temporary failure in name resolution #143

Closed tutree closed 1 year ago

tutree commented 1 year ago

1) Installed version - v0.1.0-alpha.1

2) added config.yml file with values

3) run command streamlit run streamlit_app.py

Getting this error

2023-09-11 12:01:14,996 - scripts.similarity.get_similarity_score - INFO - Started getting similarity score 2023-09-11 12:01:15.062 Uncaught app exception Traceback (most recent call last): File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions yield File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpcore/_backends/sync.py", line 212, in connect_tcp sock = socket.create_connection( File "/usr/lib/python3.10/socket.py", line 824, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpx/_transports/default.py", line 66, in map_httpcore_exceptions yield File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpx/_transports/default.py", line 228, in handle_request resp = self._pool.handle_request(req) File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 262, in handle_request raise exc File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 245, in handle_request response = connection.handle_request(request) File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 99, in handle_request raise exc File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 76, in handle_request stream = self._connect(request) File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 124, in _connect stream = self._network_backend.connect_tcp(**kwargs) File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpcore/_backends/sync.py", line 211, in connect_tcp with map_exceptions(exc_map): File "/usr/lib/python3.10/contextlib.py", line 153, in exit self.gen.throw(typ, value, traceback) File "/root/Resume-Matcher/env/lib/python3.10/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectError: [Errno -3] Temporary failure in name resolution

Any idea what's wrong ?

srbhr commented 1 year ago

Hi @tutree can you try pulling it from main and then try.

tutree commented 1 year ago

Hi, it was my mistake in setup process, my config.yml file was in Scripts and not in Scripts/similarity folder. Thanks.