GraphMinimalPermissionsPlugin: permissions service returns 403 "Ip Forbidden" from several networks in Spain
维护者通常 1 天内回复
@waldekmastykarz 已经在做这个了。
开始于 2026年10月9日。
评估
这个 Issue 还没有评估数据。
描述
Description
When stopping a recording with GraphMinimalPermissionsPlugin, no minimal permissions are reported. The plugin fails because the external permissions service responds with an HTML 403 Ip Forbidden page instead of JSON. We tested from three different networks in Spain (home broadband, an office network and a mobile phone hotspot) with the same result, and a teammate hit the same error on their own setup.
Expected behaviour
The minimal permissions for the recorded requests are reported.
Actual behaviour
No permissions are reported. Dev Proxy prints:
An error has occurred while retrieving minimal permissions:
System.Text.Json.JsonException: '<' is an invalid start of a value.
Calling the service directly (outside Dev Proxy) shows the cause: the response is HTTP/1.1 403 Ip Forbidden with an x-ms-forbidden-ip header, which suggests an IP restriction on the service side. (I've left out the IP address on purpose.)
Steps to reproduce
- Enable
GraphMinimalPermissionsPlugin(tested withtype: delegatedandtype: application). - Run
devproxy --urls-to-watch https://graph.microsoft.com/* --record. - Send a few Graph requests (sites, lists, columns, items, drives).
- Stop the recording.
Dev Proxy Version
3.3.1
Operating system (environment)
Windows
Shell
PowerShell
Configuration file
{
"plugins": [
{
"name": "GraphMinimalPermissionsPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
"configSection": "graphMinimalPermissionsPlugin"
}
],
"urlsToWatch": ["https://graph.microsoft.com/*"],
"graphMinimalPermissionsPlugin": {
"type": "application"
}
}
Additional Info
Possibly related to #1012, where the service URL had changed. Is the permissions service restricted by IP or region on purpose? If so, it would help if the plugin reported a clear message instead of a JSON parsing error.
- 主要语言
- C#
- 星标
- 832
- 派生
- 90
- 平均合并
- 12 小时 53 分钟
- 30 天内合并 PR
- 44
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dotnet/dev-proxy 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
MockStdioResponsePlugin: @stdin.body.id placeholder fails to resolve when messages arrive back-to-back after an id-less message可能重新可做 @garrytrinder 于 90 天前认领,目前没有进行中的 PR。 未关闭
dotnet/dev-proxy#1757 · 1 个 reaction · 已指派 2 人 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 55/100
维护者通常 1 天内回复
-
needs peer review
难度 4/5 3-5 天 新手友好度 52/100
dotnet/dev-proxy#1667 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
A numeric literal is parsed in the host's culture, so 1.5 is 15 in a made EXE on a comma-decimal OS未关闭bug interpreter silently-wrong small
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
reactiveui/ReactiveUI.Binding.SourceGenerators#176 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
lugassawan/swe-workbench#799 ·
维护者通常 1 天内回复
-
.NET Docs Next Major
难度 2/5 1-3 小时 新手友好度 77/100
getsentry/sentry-dotnet#5709 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
plengauer/RicherPresence#132 ·
维护者通常 1 天内回复