cloudinary / cloudinary/cloudinary_gem

404's when fetching .eml files (from Action Mailbox)

オープン
#581 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Ruby
スター
420
フォーク
285
PR マージ指標
30日以内にマージされた PR はありません

説明

## Bug report for Cloudinary Ruby SDK
The issue persists on https://rubygems.org/gems/cloudinary 2.4

## Describe the bug in a sentence or two.
Sometimes I get HTTP 404 when trying to fetch a .eml file (but the file exist in Cloudinary)

Initially reported in https://github.com/cloudinary/cloudinary_gem/issues/555

## Issue Type (Can be multiple)
- [ ] Build - Cannot install or import the SDK
- [ ] Performance - Performance issues
- [x] Behaviour - Functions are not working as expected (such as generate URL)
- [ ] Documentation - Inconsistency between the docs and behaviour
- [ ] Other (Specify)

## Steps to reproduce
- Start a new Rails project
- Set up [Action Mailbox](https://guides.rubyonrails.org/action_mailbox_basics.html) with Cloudinary as service
- Run the rails server, visit `/rails/conductor/action_mailbox/inbound_emails/` and create a few inbound emails
- You must see the error `Error performing ActionMailbox::RoutingJob` in the logs (it doesn't happen for all inbound emails, so be patient and keep adding them)

## Operating System
- [ ] Linux
- [ ] Windows
- [x] macOS
- [ ] All

## Environment and Libraries (fill in the version numbers)
- Cloudinary Ruby SDK version - 2.4
- Ruby Version - 3.1.7
- Rails Version - 7.1.5.2
- Other Libraries (ActiveStorage, etc) - activestorage = 7.1.5.2, actionmailbox = 7.1.5.2

## Repository

If possible, please provide a link to a reproducible repository that showcases the problem

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

/rails/conductor/action_mailbox/inbound_emails/ を通じて障害を再現することから始め、受信 .eml ファイルについて Error performing ActionMailbox::RoutingJob のパスを追跡します。Cloudinary Active Storage 統合を調査し、既存のすべての受信メールを HTTP 404 応答なしで取得できることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rails, ruby
領域
backend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。