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

ssl.SSLEOFError: EOF occurred in violation of protocol #127

Open
Sir-Will opened this issue Mar 3, 2023 · 0 comments
Open

ssl.SSLEOFError: EOF occurred in violation of protocol #127

Sir-Will opened this issue Mar 3, 2023 · 0 comments

Comments

@Sir-Will
Copy link

Sir-Will commented Mar 3, 2023

  • line-item-manager version: 0.2.9
  • Python version: 3.8.9
  • Operating System: Ubuntu 16.04.7

Description

I sometimes get the error below with configurations which take a long time (3-5 hours, 5k line items). I assume the longer it runs, the higher the chance the error will occur.

I did run the same configuration on some other GAM, and it didn't error out.

Is there any way to prevent this or recover from it (to continue form where it failed)?

Similiar to #25

What I Did

INFO:line_item_manager.gam_config:Line Item Creative Associations: Writing 12600 records...
   32%|█████████████████████████████████████████████████████                                                                                                                  | 4000/12600 [08:33<18:24,  7.79it/s]INFO:line_item_manager.gam_config:Auto-archiving Orders:
[..., ..., ..., ..., ..., ...]
WARNING:googleads.soap:Error summary: {'faultMessage': '[ServerError.SERVER_ERROR @ ]', 'requestId': '...', 'responseTime': '25216', 'serviceName': 'OrderService', 'methodName': 'performOrderAction'}
ERROR:line_item_manager.cli:Cleanup: Google Ads Error, [ServerError.SERVER_ERROR @ ]
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.8/dist-packages/urllib3/connection.py", line 414, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/local/lib/python3.8/dist-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/local/lib/python3.8/dist-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/lib/python3.8/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1125)
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