Skip to content

iOS mDNS meta issue #46705

Description

@zanderso

This issue tracks the problems that have been observed with mDNS lookup for iOS.

If your mDNS issue does not fall into one of those four categories then please comment here with detailed information about your setup including:

  • macOS version
  • iOS version
  • xcode version
  • whether HotSpot is enabled or disabled
  • whether the macOS firewall is enabled or disabled
  • whether you have clicked the dialog to allow dart to accept connections
  • any information about your networking setup that seems relevant

Thanks!

Activity

  1. added
    c: regressionIt was better in the past than it is now
    platform-iosiOS applications specifically
    toolAffects the "flutter" command-line tool. See also t: labels.
    engineflutter/engine related. See also e: labels.
    customer: crowdAffects or could affect many people, though not necessarily a specific customer.
    a: annoyanceRepeatedly frustrating issues with non-experimental functionality
    on Dec 10, 2019
  2. zanderso commented on Dec 10, 2019

    @zanderso
    MemberAuthor

    For additional context, from analytics we're seeing iOS mDNS lookup fail, and then the fallback to the log reader fail for about 6% of attempts.

  3. jonahwilliams commented on Dec 10, 2019

    @jonahwilliams
    Contributor

    To help users figure out what is going on here, it might be best to start with a simple FAQ of the known cases such as:

    • Public Wifi
    • Hotspot
    • Permission Dialog

    Then catch the mDNS errors and add this link to the tool exit. FYI @sfshaza2

  4. donaldww commented on Dec 12, 2019

    @donaldww
  5. zanderso commented on Dec 12, 2019

    @zanderso
    Author
  6. christopherfujino commented on Dec 12, 2019

    @christopherfujino
  7. zanderso commented on Dec 12, 2019

    @zanderso
    Author
  8. jonahwilliams commented on Dec 12, 2019

    @jonahwilliams
    Contributor

    Another data point: The google3 issues are caused by the dart_darwin binary not being signed.

  9. gitgeekaus commented on Dec 18, 2019

    @gitgeekaus

    @zanderso
    for #47184, I don't have personal hotspot on, I didn't turn on firewall, so its weird. Let me know if you need any other infomation

  10. stx commented on Dec 18, 2019

    @stx

    @gitgeekaus Are you on Catalina? Go to System Preferences > Network > iPhone USB > uncheck "Disable unless needed" > Apply. This was the problem for me.

    If iPhone USB isn't there, you might need to turn on hotspot in order to get it to appear in order to uncheck that setting. The setting applies with or without hotspot on, and when it is on it will cause mDNS lookup failure.

  11. 44 remaining items

  12. jmagman commented on Oct 20, 2020

    @jmagman
    Member

    #54781 was done in 1.23.0-7.0.pre which is available on the beta channel.

    Would love to get feedback if that's helped with this issue.

  13. passsy commented on Oct 20, 2020

    @passsy
  14. jmagman commented on Oct 20, 2020

    @jmagman
  15. Domiynsbelhanda commented on Dec 12, 2020

    @Domiynsbelhanda

    deactivate the connection by iphone by going to system preferences, then in network and in the iphone usb option, click on it then check the option "deactivate by default".

  16. Dev-Paccore commented on May 11, 2023

    @Dev-Paccore
  17. richard457 commented on Oct 7, 2024

    @richard457
  18. zanderso commented on Oct 7, 2024

    @zanderso
    Author
  19. zanderso commented on Oct 7, 2024

    @zanderso
    MemberAuthor

    @jmagman Should this issue be closed and locked as stale or completed?

  20. jmagman commented on Oct 7, 2024

    @jmagman
    Member

    Let's close it, we can track in individual issues.

    If are you experiencing issues with the Flutter command line tool connecting with your app, please file a new issue and completely fill out the template, including anything about your environment that you suspect may be contributing to networking issues.
    Thank you!

  21. locked as resolved and limited conversation to collaborators on Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: annoyanceRepeatedly frustrating issues with non-experimental functionalityc: regressionIt was better in the past than it is nowcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions