{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/6724","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/6724/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/6724/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/6724/events","html_url":"https://github.com/flutter/flutter/issues/6724","id":187602273,"number":6724,"title":"`flutter run` produces a WebSocket exception","user":{"login":"alvaroc1","id":107395,"avatar_url":"https://avatars.githubusercontent.com/u/107395?v=3","gravatar_id":"","url":"https://api.github.com/users/alvaroc1","html_url":"https://github.com/alvaroc1","followers_url":"https://api.github.com/users/alvaroc1/followers","following_url":"https://api.github.com/users/alvaroc1/following{/other_user}","gists_url":"https://api.github.com/users/alvaroc1/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaroc1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaroc1/subscriptions","organizations_url":"https://api.github.com/users/alvaroc1/orgs","repos_url":"https://api.github.com/users/alvaroc1/repos","events_url":"https://api.github.com/users/alvaroc1/events{/privacy}","received_events_url":"https://api.github.com/users/alvaroc1/received_events","type":"User","site_admin":false},"labels":[{"id":407144314,"url":"https://api.github.com/repos/flutter/flutter/labels/dev:%20tool%20-%20reload","name":"dev: tool - reload","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"johnmccutchan","id":224266,"avatar_url":"https://avatars.githubusercontent.com/u/224266?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmccutchan","html_url":"https://github.com/johnmccutchan","followers_url":"https://api.github.com/users/johnmccutchan/followers","following_url":"https://api.github.com/users/johnmccutchan/following{/other_user}","gists_url":"https://api.github.com/users/johnmccutchan/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmccutchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmccutchan/subscriptions","organizations_url":"https://api.github.com/users/johnmccutchan/orgs","repos_url":"https://api.github.com/users/johnmccutchan/repos","events_url":"https://api.github.com/users/johnmccutchan/events{/privacy}","received_events_url":"https://api.github.com/users/johnmccutchan/received_events","type":"User","site_admin":false},"assignees":[{"login":"johnmccutchan","id":224266,"avatar_url":"https://avatars.githubusercontent.com/u/224266?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmccutchan","html_url":"https://github.com/johnmccutchan","followers_url":"https://api.github.com/users/johnmccutchan/followers","following_url":"https://api.github.com/users/johnmccutchan/following{/other_user}","gists_url":"https://api.github.com/users/johnmccutchan/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmccutchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmccutchan/subscriptions","organizations_url":"https://api.github.com/users/johnmccutchan/orgs","repos_url":"https://api.github.com/users/johnmccutchan/repos","events_url":"https://api.github.com/users/johnmccutchan/events{/privacy}","received_events_url":"https://api.github.com/users/johnmccutchan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":23,"created_at":"2016-11-07T00:21:44Z","updated_at":"2017-01-25T22:55:15Z","closed_at":null,"body":"## Steps to Reproduce\r\n\r\n`flutter run` produces an error. `flutter install` appears to work fine.\r\n\r\n## Logs\r\n\r\n```\r\nalvaro@alvaro-ThinkCentre-M93p ~/workspace/devstack $ flutter run\r\nInstalling build/app.apk...                         7851ms\r\nError connecting to the service protocol: Failed to connect to ws://127.0.0.1:8108/ws\r\n  WebSocketException: Connection to 'http://127.0.0.1:8108/ws#' was not upgraded to websocket\r\nE/DartVM  (28493): vm-service: Error: Unhandled exception:\r\nE/DartVM  (28493): WebSocketException: Invalid WebSocket upgrade request\r\nE/DartVM  (28493): #0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1138)\r\nE/DartVM  (28493): #1      _microtaskLoop (dart:async/schedule_microtask.dart:41)\r\nE/DartVM  (28493): #2      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)\r\nE/DartVM  (28493): #3      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)\r\nE/DartVM  (28493): #4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)\r\nE/DartVM  (28493): \r\nE/flutter (28493): [ERROR:../../flutter/runtime/dart_init.cc(137)] Isolate vm-service exited with an error\r\nE/flutter (28493): [ERROR:../../lib/tonic/logging/dart_error.cc(16)] Unhandled exception:\r\nE/flutter (28493): WebSocketException: Invalid WebSocket upgrade request\r\nE/flutter (28493): #0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1138)\r\nE/flutter (28493): #1      _microtaskLoop (dart:async/schedule_microtask.dart:41)\r\nE/flutter (28493): #2      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)\r\nE/flutter (28493): #3      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)\r\nE/flutter (28493): #4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)\r\n```\r\n```\r\nalvaro@alvaro-ThinkCentre-M93p ~/workspace/devstack $ flutter analyze\r\nAnalyzing lib/main.dart...\r\n[warning] The named parameter 'formField' isn't defined. (lib/main.dart, line 43, col 13)\r\n[warning] The named parameter 'formField' isn't defined. (lib/main.dart, line 38, col 13)\r\n[hint] The parameter 'builder' is required. (lib/main.dart, line 43, col 28)\r\n[hint] The parameter 'builder' is required. (lib/main.dart, line 38, col 28)\r\n[hint] The value of the field '_counter' isn't used. (lib/main.dart, line 23, col 7)\r\n[hint] The method '_incrementCounter' isn't used. (lib/main.dart, line 25, col 8)\r\n(Ran in 4.3s)\r\n```\r\n\r\n## Flutter Doctor\r\n\r\n```\r\nalvaro@alvaro-ThinkCentre-M93p ~/workspace/devstack $ flutter doctor\r\n[✓] Flutter (on Linux, channel master)\r\n    • Flutter at /home/alvaro/workspace/flutter\r\n    • Framework revision 54d76518ac (19 hours ago), 2016-11-05 22:47:33\r\n    • Engine revision 16077d474b\r\n    • Tools Dart version 1.21.0-dev.3.0\r\n\r\n[✓] Android toolchain - develop for Android devices (Android SDK 24.0.3)\r\n    • Android SDK at /home/alvaro/Android/Sdk\r\n    • Platform android-24, build-tools 24.0.3\r\n    • OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14)\r\n\r\n[x] Flutter IDE Support (No supported IDEs installed)\r\n    • IntelliJ - https://www.jetbrains.com/idea/\r\n\r\n[✓] Connected devices\r\n    • HTC One M9 • FA53TYJ13526 • android-arm • Android 6.0 (API 23)\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/275259073","html_url":"https://github.com/flutter/flutter/issues/6724#issuecomment-275259073","issue_url":"https://api.github.com/repos/flutter/flutter/issues/6724","id":275259073,"user":{"login":"johnmccutchan","id":224266,"avatar_url":"https://avatars.githubusercontent.com/u/224266?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmccutchan","html_url":"https://github.com/johnmccutchan","followers_url":"https://api.github.com/users/johnmccutchan/followers","following_url":"https://api.github.com/users/johnmccutchan/following{/other_user}","gists_url":"https://api.github.com/users/johnmccutchan/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmccutchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmccutchan/subscriptions","organizations_url":"https://api.github.com/users/johnmccutchan/orgs","repos_url":"https://api.github.com/users/johnmccutchan/repos","events_url":"https://api.github.com/users/johnmccutchan/events{/privacy}","received_events_url":"https://api.github.com/users/johnmccutchan/received_events","type":"User","site_admin":false},"created_at":"2017-01-25T22:55:15Z","updated_at":"2017-01-25T22:55:15Z","body":"I just followed the [instructions](https://forums.oneplus.net/threads/oxygenos-2-1-4-for-the-oneplus-one.425544/) and I appeared to have bricked a OnePlus One.\r\n\r\nI'll talk with @eseidelGoogle about ordering a OnePlus X"}}
{"actor":{"display_login":"johnmccutchan"}}