dashbitco / broadway_cloud_pub_sub

A Broadway producer for Google Cloud Pub/Sub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v0.7.0 no function clause matching in BroadwayCloudPubSub.GoogleApiClient.handle_response/2

ulissesalmeida opened this issue · comments

Hi everyone,

It only happened once until now and we're using this library for months.
I did a quick overview on the closed issues and I couldn't find anything similar.
I think worth communicate.

FunctionClauseError no function clause matching in BroadwayCloudPubSub.GoogleApiClient.handle_response/2
arg0:  {:error, :invalid, 122880}
arg1:  :receive_messages
lib/broadway_cloud_pub_sub/google_api_client.ex in BroadwayCloudPubSub.GoogleApiClient.receive_messages/3 at line 113
lib/broadway_cloud_pub_sub/producer.ex in BroadwayCloudPubSub.Producer.handle_receive_messages/1 at line 237
lib/broadway/topology/producer_stage.ex in Broadway.Topology.ProducerStage.handle_info/2 at line 229
lib/gen_stage.ex in GenStage.noreply_callback/3 at line 2117
gen_server.erl in :gen_server.try_dispatch/4 at line 695
gen_server.erl in :gen_server.handle_msg/6 at line 771
proc_lib.erl in :proc_lib.init_p_do_apply/3 at line 226

Elixir 1.13.2
Erlang: 24.2

Thank you! It seems an unexpected connection crash which should be hopefully recovered by a supervisor. This error no longer applies to main though as we moved away from Tesla in favor of Finch. :)