Maui programs on Windows and Android do not access sites and url
This issue has been moved from a ticket on Developer Community.
I am using VS 2022 community with the MAUI. Everything works fine but when it comes to accessing url or site, it does not work! All other programs and browsers on my laptop (Windows 10) works very well and access sites. I also installed and tested programs on my Android phone. The same problem, all programs on my phone worked and could access the internet. But the programs I installed using VS 2022 with MAUI could not access urls or sites. Programs that do not access the internet works very nicely on windows and Android. But when trying to access the internet, The MAUI program hangs on Windows and blows up on Android. I tried changing networks but the problem remains the same.
Please anyone can help???
Original Comments
Feedback Bot on 5/29/2024, 01:37 AM:
(private comment, text removed)
Original Solutions
(no solutions)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Closed similar issues:
- Blazor MAUI integration err_addresss_invalid (#7641), similarity score: 0.74
- it looks like the webpage at https:/0.0.0.0/ might be having issues (#8613), similarity score: 0.72
- .Net MAUI WebView inconsistent between iOS and Android (#21590), similarity score: 0.72
- Maui on windows emulator dont do Swipe like it do on Android emulator (#17151), similarity score: 0.71
- I cannot run a new MAUI blazor project on windows. (#8357), similarity score: 0.71
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
This issue has been verified using Visual Studio 17.12.0 Preview 3. Not repro on windows and android platforms.
How did you open the URL in the app?
I added a button to open the URL in the MAUI app, and the URL can be opened normally on both Windows and Android. The problem did not repro, please check the screen recording.
Code:
Uri uri = new Uri("https://learn.microsoft.com/en-us/aspnet/core/?view=aspnetcore-8.0");
await Browser.Default.OpenAsync(uri, BrowserLaunchMode.SystemPreferred);
Can you provide a sample project for us to investigate the issue.
Hi @vsfeedback. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.