Skip to content

No observatory URL matching error is seen even though the iPhone system log has Observatory URL. #617

@pothurajtharun

Description

@pothurajtharun

Test Environment:

  • Java 11 (temurin)
  • Appium: 2.2.1
  • flutter@2.2.0 [installed (npm)]
  • xcuitest@5.8.0 (automationName 'XCUITest')
  • iPhone 8 Plus (16.7.3)

Steps followed:

  1. Start a session without app capability and session has been created successfully.
  2. Install and launch the app with ios-deploy commands programmatically. (While execution is going on, in parallel i started observing the iPhone device log through Console app in Mac OS)
  3. App has been launched successfully. The observatory URL has been displayed in iPhone system log at 10:06 pm IST (4:36 pm UTC) as per the attached screenshot.
  4. Called the flutter:connectObservatoryWsUrl to identify the observatory URL at 10:07 pm IST(4:37 pm UTC)

Actual Output:
Even though there is an observatory URL in iPhone system log at 10:06 pm IST (4:36 pm UTC) , flutter:connectObservatoryWsUrl is failed to identify the observatory URL for 10 times and thrown the error at 10:08 pm IST(4:38 pm UTC)

- No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_\-.\[\]]+)/' was found in the device log. Please make sure the application under test is configured properly according to https://github.com/appium-userland/appium-flutter-driver#usage and that it does not crash on startup.

Attaching the full appium log: appium.log

Reproducibility: Some times.

Error_Screenshot iPhone_Sysytem_Log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions