Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Thread-ConsumeBidirectionalStream caught unexpected exception 'NoneType' object has no attribute 'Call' and will exit #309

Closed
Assignees
atulep
Labels
needs more infoThis issue needs more information from the customer to proceed.priority: p2Moderately-important priority. Fix may not be included in next release.status: investigatingThe issue is under investigation, which is determined to be non-trivial.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
@orby

Description

@orby

Environment details

  • OS type and version:
    • FROM python:3.7.9-slim-stretch
  • Python version:python --version
    • 3.7.9
  • pip version:pip --version
    • 20.2
  • google-api-core version:pip show google-api-core
    • 2.2.2

Steps to reproduce

  1. Make aSubscriber usinggoogle-cloud-pubsub 2.9.0
  2. await new messages
  3. After 30 minutes you get the unexpected exception

Stack trace

Thread-ConsumeBidirectionalStream caught unexpected exception 'NoneType' object has no attribute 'Call' and will exit.Traceback (most recent call last):    File "/root/.local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 106, in __next__        return next(self._wrapped)    File "/root/.local/lib/python3.7/site-packages/grpc/_channel.py", line 426, in __next__        return self._next()    File "/root/.local/lib/python3.7/site-packages/grpc/_channel.py", line 826, in _next        raise selfgrpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:    status = StatusCode.INTERNAL    details = "Received RST_STREAM with error code 2"    debug_error_string = "{"created":"@1637058210.761422301","description":"Error received from peer ipv4:173.194.210.95:443","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"Received RST_STREAM with error code 2","grpc_status":13}"        During handling of the above exception, another exception occurred:Traceback (most recent call last):    File "/root/.local/lib/python3.7/site-packages/google/api_core/bidi.py", line 655, in _thread_main        response = self._bidi_rpc.recv()    File "/root/.local/lib/python3.7/site-packages/google/api_core/bidi.py", line 561, in recv        return self._recoverable(self._recv)    File "/root/.local/lib/python3.7/site-packages/google/api_core/bidi.py", line 520, in _recoverable        raise exc    File "/root/.local/lib/python3.7/site-packages/google/api_core/bidi.py", line 504, in _recoverable        return method(*args, **kwargs)    File "/root/.local/lib/python3.7/site-packages/google/api_core/bidi.py", line 558, in _recv        return next(call)    File "/root/.local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 109, in __next__        raise exceptions.from_grpc_error(exc) from exc    File "/root/.local/lib/python3.7/site-packages/google/api_core/exceptions.py", line 532, in from_grpc_error        if isinstance(rpc_exc, grpc.Call) or _is_informative_grpc_error(rpc_exc):AttributeError: 'NoneType' object has no attribute 'Call'"

Metadata

Metadata

Assignees

Labels

needs more infoThis issue needs more information from the customer to proceed.priority: p2Moderately-important priority. Fix may not be included in next release.status: investigatingThe issue is under investigation, which is determined to be non-trivial.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp