You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems to be the same error as was documented and closed last year. Opening this issue for the sanity of other people who face this issue in 2024 because the other tickets are from 2023 and are closed as if they've been resolved. Just want to say no you're not crazy if you have this issue, the fastest workaround I could find was to forget about logging on the LAN and just write to an external ip address.
When trying to log to a REST API running on my LAN I get the error "No Route to host". Also cannot ping.
I've verified that the iPhone is on my LAN, it has an ip address and I can hit the REST server in my browser. Just from the app I cannot ping/post/get.
As a temporary workaround I just open a port on my router and use my external ip.
Thanks for the report! You don't mention the address you're trying to reach nor is there any reproduction so it will be hard to determine what is exactly going on. I don't think there is any widespread issue here, but rather some configuration thing inside of your machine, firewall, network, or something related.
It seems you have a good workaround, else another great option you could look at is using Dev Tunnels.
If you do think this is really an issue, I would suggest opening something on https://github.com/xamarin/xamarin-macios because if there is an issue, this is unlikely something that originates from .NET MAUI, but rather a layer deeper.
Description
Seems to be the same error as was documented and closed last year. Opening this issue for the sanity of other people who face this issue in 2024 because the other tickets are from 2023 and are closed as if they've been resolved. Just want to say no you're not crazy if you have this issue, the fastest workaround I could find was to forget about logging on the LAN and just write to an external ip address.
#14930
#12731
#14224
When trying to log to a REST API running on my LAN I get the error "No Route to host". Also cannot ping.
I've verified that the iPhone is on my LAN, it has an ip address and I can hit the REST server in my browser. Just from the app I cannot ping/post/get.
As a temporary workaround I just open a port on my router and use my external ip.
I've also tried adding
to my info.plist and that does not work, same as it does not work for people in the other tickets.
This issue was present on iOS 16 as well based on those tickets and others.
Steps to Reproduce
See the previous bug tickets, it is the same error.
I am using HttpClient::Send and HttpClient::SendAsync
but various other libraries have given the same issue. Only on iOS.
Link to public reproduction project repository
No response
Version with bug
8.0.10 SR3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iPhone 11 iOS 17.4.1
Did you find any workaround?
Work around is to forward a port through my router and write to my external ip address from iOS.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: