Google::Cloud::Error Events - Stream error in the HTTP/2 framing layer (Google::Cloud::Error)
維護者通常 1 天內回覆
@rajeevpodar 已經在處理了。
開始於 2026年10月9日。
評估
這個 Issue 還沒有評估資料。
描述
Environment details
OS: Linux/Debian latest trixie
Ruby version: 3.4.9
Gem name and version: google-cloud-storage 1.59.0, google-apis-core 1.0.2
Steps to reproduce
- Rails ActiveStorage 8.x using the the above versions of the gcp gems
- Have an attachment on a model like -
has_one_attached :profile_picture, service: 'some_service'wheresome_servicerefers to a config that looks like
some_service:
name: 'some_service'
service: GCS
project: some-project-id
credentials: credentials-json
bucket: bucket name
- Attach a file to to the active storage attribute
Code example
company = Company.find(1)
company.profile_picture.attach(io: File.open(Rails.root.join("picture.jpg")), filename: "picture.jpg")
Full backtrace
Faraday::ConnectionFailed: Stream error in the HTTP/2 framing layer (Faraday::ConnectionFailed)
from faraday/adapter/typhoeus.rb:91:in 'block in Faraday::Adapter::Typhoeus#request'
from typhoeus/request/callbacks.rb:146:in 'block in Typhoeus::Request::Callbacks#execute_callbacks'
from typhoeus/request/callbacks.rb:145:in 'each'
from typhoeus/request/callbacks.rb:145:in 'execute_callbacks'
from typhoeus/request/operations.rb:35:in 'finish'
from typhoeus/easy_factory.rb:170:in 'block in Typhoeus::EasyFactory#set_callback'
from typhoeus/request/operations.rb:16:in 'run'
from typhoeus/request/cacheable.rb:18:in 'run'
from typhoeus/request/block_connection.rb:31:in 'run'
from typhoeus/request/stubbable.rb:25:in 'run'
from typhoeus/request/before.rb:26:in 'run'
from faraday/adapter/typhoeus.rb:48:in 'perform_request'
from faraday/adapter/typhoeus.rb:28:in 'call'
from faraday/follow_redirects/middleware.rb:77:in 'perform_with_redirection'
from faraday/follow_redirects/middleware.rb:65:in 'call'
from faraday/rack_builder.rb:153:in 'build_response'
from faraday/connection.rb:452:in 'run_request'
from faraday/connection.rb:280:in 'post'
from google/apis/core/storage_upload.rb:140:in 'initiate_resumable_upload'
from google/apis/core/http_command.rb:132:in 'block (2 levels) in Google::Apis::Core::HttpCommand#do_retry'
from retriable.rb:94:in 'Retriable.call_with_timeout'
from retriable.rb:65:in 'block in Retriable.execute_tries'
from <internal:numeric>:257:in 'times'
from retriable.rb:61:in 'Retriable.execute_tries'
from retriable.rb:49:in 'Retriable.retriable'
from google/apis/core/http_command.rb:129:in 'block in Google::Apis::Core::HttpCommand#do_retry'
from retriable.rb:94:in 'Retriable.call_with_timeout'
from retriable.rb:65:in 'block in Retriable.execute_tries'
from <internal:numeric>:257:in 'times'
from retriable.rb:61:in 'Retriable.execute_tries'
from retriable.rb:49:in 'Retriable.retriable'
from google/apis/core/http_command.rb:119:in 'do_retry'
from google/apis/core/storage_upload.rb:108:in 'execute'
from google/apis/core/base_service.rb:507:in 'execute_or_queue_command'
from google/apis/storage_v1/service.rb:2952:in 'insert_object'
from google/cloud/storage/service.rb:440:in 'block in Google::Cloud::Storage::Service#insert_file'
from google/cloud/storage/service.rb:1032:in 'execute'
from google/cloud/storage/service.rb:439:in 'insert_file'
from google/cloud/storage/bucket.rb:1811:in 'create_file'
- 主要語言
- Ruby
- 星號
- 1.4k
- 分支
- 581
- 平均合併
- 1 天 22 小時
- 30 天內合併 PR
- 69
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
googleapis/google-cloud-ruby 的其他 Issue
-
eMudhra/emSign CA compromise (October 2026): what Cloud SDK Ruby Libraries developers need to do可能已有人在做 @viacheslav-rostovtsev 於 13 天前認領。 未關閉type: process
googleapis/google-cloud-ruby#36690 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
chore(ci): remove temporary Windows grpc < 1.85.0 pin once x64-mingw-ucrt gem is published可能已有人在做 @viacheslav-rostovtsev 於 21 天前認領。 未關閉grpc priority: p1 type: cleanup
googleapis/google-cloud-ruby#36677 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
[google-cloud-datastore] timeout option has no effect: per-RPC defaults override it (same as #14050)未關閉api: datastore priority: p2 type: bug
googleapis/google-cloud-ruby#36632 · 1 則留言 ·
維護者通常 1 天內回覆
-
storage/bigquery: google-apis-* dependency floors are lower than the wrappers actually require可能重新可做 @kalragauri 於 34 天前認領,目前沒有進行中的 PR。 未關閉api: storage priority: p3 type: bug
googleapis/google-cloud-ruby#36610 · 2 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
Support `STORAGE_EMULATOR_HOST` in the `google-cloud-storage` Gem可能已有人在做 @rajeevpodar 於 38 天前認領。 未關閉api: storage priority: p2 type: feature request
googleapis/google-cloud-ruby#34022 · 1 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
查看 googleapis/google-cloud-ruby 的全部 Issue
相似的 Issue
-
難度 1/5 1-3 小時 新手友好度 66/100
philippe-nougaillon/coopcomm#543 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
we-promise/sure#5191 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
-
Source Support
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 72/100
palkan/action_policy#316 ·