Skip to content

Instantly share code, notes, and snippets.

@hnykda
Created November 29, 2019 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hnykda/d3d8e36b5085f202d6d070414888b418 to your computer and use it in GitHub Desktop.
Save hnykda/d3d8e36b5085f202d6d070414888b418 to your computer and use it in GitHub Desktop.
17:07:19 WARNING Future {future} failed. Putting in retry queue.
17:07:19 ERROR Failed to publish 47 messages.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
return callable_(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 690, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 592, in _end_unary_response_blocking
raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "The value for request_size is too large. You passed 10000096 in the request, but the maximum value is 10000000."
debug_error_string = "{"created":"@1574960839.876048359","description":"Error received from peer ipv4:74.125.206.95:443","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"The value for request_size is too large. You passed 10000096 in the request, but the maximum value is 10000000.","grpc_status":3}"
>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/google/cloud/pubsub_v1/publisher/_batch/thread.py", line 208, in _commit
response = self._client.api.publish(self._topic, self._messages)
File "/usr/local/lib/python3.7/site-packages/google/cloud/pubsub_v1/gapic/publisher_client.py", line 498, in publish
request, retry=retry, timeout=timeout, metadata=metadata
File "/usr/local/lib/python3.7/site-packages/google/api_core/gapic_v1/method.py", line 143, in __call__
return wrapped_func(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/google/api_core/retry.py", line 277, in retry_wrapped_func
on_error=on_error,
File "/usr/local/lib/python3.7/site-packages/google/api_core/retry.py", line 182, in retry_target
return target()
File "/usr/local/lib/python3.7/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
return func(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
File "<string>", line 3, in raise_from
google.api_core.exceptions.InvalidArgument: 400 The value for request_size is too large. You passed 10000096 in the request, but the maximum value is 10000000.
@hnykda
Copy link
Author

hnykda commented Nov 29, 2019

Pubsub python client failing because request_size is too large: googleapis/google-cloud-python#7108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment