Moi, Jeps muutin eilen kieleksi englanti mutta samoja (samankaltasia) virheitä pukkaa. Koitin myös tiputtaa scriptiajat 10 minuutin välein ei suurempaa vaikutusta (varmaan samassa suhteessa toki virheitä kuin 5 min intervallilla).
Suoraan näköjään IP osoitteen laittamista ei tuo palvely hyväksy (www.myupway.com = 52.232.19.237) .
Suoraan näköjään IP osoitteen laittamista ei tuo palvely hyväksy (www.myupway.com = 52.232.19.237) .
Date: Sep 9, 2023 at 2:31 PM
To: Root <root@samone>
Subject: Cron /usr/bin/python3 /home/security/.local/lib/python3.8/site-packages/myupway.py > /dev/null
Traceback (most recent call last):
File "/home/security/.local/lib/python3.8/site-packages/myupway.py", line 12, in <module>
values = myupway.get_current_values()
File "/home/security/.local/lib/python3.8/site-packages/pyupway/__init__.py", line 205, in get_current_values
raise requests.exceptions.HTTPError(
requests.exceptions.HTTPError: Request failed with status code 500, data: <Response [500]>
Date: Sep 9, 2023 at 7:07 PM
To: Root <root@samone>
Subject: Cron /usr/bin/python3 /home/security/.local/lib/python3.8/site-packages/myupway.py > /dev/null
Traceback (most recent call last):
File "/home/security/.local/lib/python3.8/site-packages/urllib3/connection.py", line 203, in _new_conn
sock = connection.create_connection(
File "/home/security/.local/lib/python3.8/site-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.8/socket.py", line 918, 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 "/home/security/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
File "/home/security/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/home/security/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/home/security/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1092, in _validate_conn
conn.connect()
File "/home/security/.local/lib/python3.8/site-packages/urllib3/connection.py", line 611, in connect
self.sock = sock = self._new_conn()
File "/home/security/.local/lib/python3.8/site-packages/urllib3/connection.py", line 210, in _new_conn
raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7fbe3fccb190>: Failed to resolve 'www.myupway.com' ([Errno -3] Temporary failure in name resolution)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/security/.local/lib/python3.8/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/home/security/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 844, in urlopen
retries = retries.increment(
File "/home/security/.local/lib/python3.8/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.myupway.com', port=443): Max retries exceeded with url: /LogIn (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fbe3fccb190>: Failed to resolve 'www.myupway.com' ([Errno -3] Temporary failure in name resolution)"))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/security/.local/lib/python3.8/site-packages/myupway.py", line 10, in <module>
myupway = MyUpway(config)
File "/home/security/.local/lib/python3.8/site-packages/pyupway/__init__.py", line 155, in __init__
self._login()
File "/home/security/.local/lib/python3.8/site-packages/pyupway/__init__.py", line 167, in _login
response = self._session.post(url, headers=headers, data=data)
File "/home/security/.local/lib/python3.8/site-packages/requests/sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
File "/home/security/.local/lib/python3.8/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/home/security/.local/lib/python3.8/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/home/security/.local/lib/python3.8/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.myupway.com', port=443): Max retries exceeded with url: /LogIn (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fbe3fccb190>: Failed to resolve 'www.myupway.com' ([Errno -3] Temporary failure in name resolution)"))