ProxymanApp / ProxymanApp/Proxyman
Proxyman not capturing traffic on NextJS Edge runtime (middleware)
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 7k
- Forks
- 237
- PR merge metrics
- No merged PRs in 30d
Description
Description
Proxyman is not capturing traffic on the edge runtime. But normal requests under the route handlers, and server components show up on proxyman.
Steps to Reproduce
- Clone https://github.com/Mahdhir/next-proxyman-issue
- Setup using manual/automatic mode and run the app and see the requests to jsonplaceholder.typicode show up on proxyman
- Modify the middleware.ts file by commenting the route handler fetch and uncomment the fetch call directly to the jsonplaceholder endpoint
- If you run the app now, you will notice the requests do not show up on proxyman
Current Behavior
Proxyman is not capturing traffic on the edge runtime next js middleware.
Expected Behavior
Proxyman should capture all traffic including next js middleware edge runtime.
Environment
Proxyman Version 5.7.0 (50700) | macOS: Version 14.6.1 (Build 23G93)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reproduction repository at https://github.com/Mahdhir/next-proxyman-issue and its middleware.ts file. Run the app in manual or automatic mode, compare the route-handler fetch with the direct jsonplaceholder fetch in middleware, and verify that traffic from the Next.js Edge middleware is captured by Proxyman.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, next.js
- Domain
- devtools, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100