Skip to content
This repository was archived by the owner on Jun 30, 2026. It is now read-only.
This repository was archived by the owner on Jun 30, 2026. It is now read-only.

google_api_pub_sub / google_gax raises exception when tesla >= 1.18.3 #13325

Open

Description

@grzuy

Environment details

  • Programming language: elixir
  • OS: linux
  • Language runtime version: elixir 1.19
  • Package version:
    • google_api_pub_sub 0.42.0
    • google_gax 0.4.0
    • tesla 1.18.3

Steps to reproduce

  1. use GoogleApi.PubSub.V1.Connection
  2. make a pub sub publish using that connection

result:

Tesla.Middleware.Compression requires the :max_body_size option to be set. Pass a positive integer cap (e.g. max_body_size: 32 * 1024 * 1024) or :infinity to opt out of the cap explicitly. See the moduledoc for the security rationale.

Thanks!

Activity

  1. added
    type: bug
    priority: p2
    on Jun 4, 2026
  2. grzuy commented on Jun 4, 2026

    @grzuy
    Author

    Relates to this tesla change elixir-tesla/tesla@340f75b

  3. changed the title [-]google_api_pub_sub raises exception for tesla 1.18.3[/-] [+]google_api_pub_sub raises exception when tesla 1.18.3[/+] on Jun 10, 2026
  4. changed the title [-]google_api_pub_sub raises exception when tesla 1.18.3[/-] [+]google_api_pub_sub / google_gax raises exception when tesla 1.18.3[/+] on Jun 12, 2026
  5. changed the title [-]google_api_pub_sub / google_gax raises exception when tesla 1.18.3[/-] [+]google_api_pub_sub / google_gax raises exception when tesla >= 1.18.3[/+] on Jun 19, 2026
  6. jamesvl commented on Jun 23, 2026

    @jamesvl
    Contributor

    This also affects google_api_storage, causing uploads to fail.

  7. grzuy commented on Jun 23, 2026

    @grzuy
    Author

    Yeah, the issue seems to be in google_gax, so potentially any package depending/using google_gax (https://hex.pm/packages/google_gax/dependents) might be transitively affected I guess.

  8. grzuy commented on Jun 23, 2026

    @grzuy
    Author

    Attempt to fix this in #13328.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2type: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions