bcgov / bcgov/visitz-app

Certain VPNs cause MAUI to respond with connectivity of NetworkAccess.Local

Open
#231 0 comments 0 reactions 0 assignees View on GitHub
bug platform/Windows 💻 workaround
Dominant language
C#
Stars
0
Forks
1
Avg merge
1d 32m
Merged PRs (30d)
15

Description

https://github.com/dotnet/maui/issues/22228

> Description
>
> When building a Windows MAUI app, the NetworkAccess will sometimes return Local for laptop connected via Wifi with Tailscale installed and the Tailscale interface shows up before the wifi Interface in the Control Panel Network Connections screen. I think that the logic may be picking the first connection when you may have more than one connection which is unexpected as Windows itself reports you have internet access but the app thinks you don't.

Based on https://github.com/dotnet/maui/issues/22228#issuecomment-2109365568, we're directly accessing Windows APIs to read network status instead of MAUI's layer: https://github.com/bcgov-c/mcfd-mobility/pull/230

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked .NET MAUI issue 22228 and its referenced comment, then review the linked mobility pull request for how Windows network status is accessed. Confirm whether the reported Tailscale/Wi-Fi ordering affects this repository or belongs upstream, and document a reproducible result and the appropriate ownership of the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.