template-flutter icon indicating copy to clipboard operation
template-flutter copied to clipboard

Cannot connect directly to the VM service

Open intfract opened this issue 1 year ago • 4 comments

Error

Terminal

An Observatory debugger and profiler on Chrome is available at: http://127.0.0.1:36805/XXXXXXXXXXX=
Flutter Web Bootstrap: Programmatic
The Flutter DevTools debugger and profiler on Chrome is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:36805/XXXXXXXXXXX=/
ERROR - 2023-06-24 03:29:58.512945
GET /XXXXXXXXXXX%3D
Error thrown by handler.
Invalid argument(s): handlerPath "/XXXXXXXXXXX=/" must be a prefix of requestedUri path "/XXXXXXXXXXX"
package:shelf/src/request.dart 258:20  Request.change
package:dds/src/dds_impl.dart 250:29   DartDevelopmentServiceImpl._authCodeMiddleware.<fn>

Gitpod Link Message

Cannot connect directly to the VM service as a Dart Development Service (DDS) instance has taken control and can be found at http://127.0.0.1:36805/XXXXXXXXXXX=/.

Description

I have made no changes to the repo in Gitpod. I have only entered the flutter run command and selected device 2 to run my flutter app on chrome.

  • Brave Browser
  • Gitpod Browser (Visual Studio Code)

I don't know what authentication code to use.

intfract avatar Jun 24 '23 03:06 intfract