bug: Request intercepted but not showing up when initiated from Requestly

オープン
#39 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

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

調査の方向性

Start by reproducing the difference in the Requestly Desktop App using the listed proxy, curl/browser requests, and the Requestly-initiated request. Compare why the intercepted 500 response appears but the request is absent from the list; done means the Requestly request is recorded while the existing interception rule still works.

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

説明

migration:misfiled-interceptor
Describe your issue?

I have a simple Express app on localhost:3000/httpbin that hits httpbin.org

// Third-party API call to httpbin
app.get('/httpbin', async (req, res) => {
  try {
    const response = await axios.get('https://httpbin.org/get');
    res.json(response.data);
  } catch (error) {
    res.status(500).json({ error: 'Failed to fetch from httpbin', details: error.message });
  }
});

I'm trying to intercept this call and replace it with a 500 response. I have set up the proxy in my terminal where the app is running. I have the rule set up.

Image

If I do curl localhost:3000/httpbin, I can see it works.

Image Image

However, if I hit the same endpoint through Requestly, the rule still works (because I can see 500 error), but it doesn't show up in the list.

Image Image

I'm extremely confused. Both are making requests to localhost:3000/httpbin, so why is one showing up and not the other? I can also open localhost:3000/httpbin on my browser and it also records the URL.

Repro steps
  1. Set up proxy.
  2. Run npm start
  3. Make request via curl or browser - works
  4. Make request via Requestly - does not work.
What Requestly tool were you using?
  • Extension
  • Desktop-App
  • Android SDK
  • Selenium
Your Environment

Windows 11

Requestly Version

25.8.29

Error screenshot

No response

主要言語
TypeScript
スター
87
フォーク
23
平均マージ
14時間
マージ済み PR(30日)
3

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

requestly/interceptor のほかの issue

requestly/interceptor の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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