GraphMinimalPermissionsPlugin: permissions service returns 403 "Ip Forbidden" from several networks in Spain
Maintainer thường phản hồi trong vòng 1 ngày
@waldekmastykarz đang làm issue này rồi.
Từ ngày 9/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- C#
- Star
- 832
- Fork
- 90
- Merge trung bình
- 14 giờ 14 phút
- Pull request đã merge (30 ngày)
- 45
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dotnet/dev-proxy
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
MockStdioResponsePlugin: @stdin.body.id placeholder fails to resolve when messages arrive back-to-back after an id-less messageCó thể làm lại được @garrytrinder đã nhận 89 ngày trước và không có pull request nào đang mở. Đang mở
dotnet/dev-proxy#1757 · 1 reaction · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs peer review
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
dotnet/dev-proxy#1667 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của dotnet/dev-proxy
Issue tương tự
-
再現済み 要トリアージ 誤判定
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
yksr-melt/Meltype#421 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Facepunch/sbox-public#12063 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
facioquo/stock-indicators-dotnet#2316 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
eriknihlen/OpenAC#219 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ObsidianMC/Obsidian#548 ·
Maintainer thường phản hồi trong vòng 1 ngày