Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encountered internal error running command: Error: 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/appium-flutter-driver#usage and that it does not crash on startup. #739

Open
ChandanMySelenium opened this issue Sep 27, 2024 · 3 comments

Comments

@ChandanMySelenium
Copy link

can any one help me to solve this please

@dlewis2017
Copy link

dlewis2017 commented Oct 24, 2024

I'm running into this problem as well. Maybe the wording has changed when you start up flutter in latest so it can't find it. I'm not great at grep but:

A Dart VM Service on My iPad is available at: http://127.0.0.1:65015/Aaj81SrdP9Y=/
The Flutter DevTools debugger and profiler on My iPad is available at:
http://127.0.0.1:9102?uri=http://127.0.0.1:65015/Aaj81SrdP9Y=/

Versus what appium is looking for: '/(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

You've commented on a lot of other posts similar to this one, I'm curious as to your thoughts on this idea? @KazuCocoa

I've also updated to iOS 18 recently on my device and MacOS 15

@KazuCocoa
Copy link
Member

One thing we could advise is if the device prints the log of the URL in the syslog. appium:showIOSLog capability would help to check it.

@dlewis2017
Copy link

I did a few things and one of them seemed to work. It was either:

  1. After restarting my Mac. I found that flutter run --profile was actually failing (where it didn't show that before)
    2.My flutter channel was a little behind. There were some unstaged changes so I had to abort them and then run flutter upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants