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

flutter-grpc example does not work #29

Open
makorne opened this issue Aug 16, 2021 · 0 comments
Open

flutter-grpc example does not work #29

makorne opened this issue Aug 16, 2021 · 0 comments

Comments

@makorne
Copy link

makorne commented Aug 16, 2021

android:

Launching lib/main.dart on sdk gphone x86 arm in debug mode...
Running Gradle task 'assembleDebug'...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...
Debug service listening on ws://127.0.0.1:37627/MK0kJdXocbU=/ws
Syncing files to device sdk gphone x86 arm...
E/flutter ( 5775): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: OS Error: Connection refused, errno = 111, address = todoworld.servicestack.net, port = 46266, details: null, rawResponse: null)
E/flutter ( 5775): 
I/chatty  ( 5775): uid=10155(com.example.flutter_grpc) 1.ui identical 12 lines
E/flutter ( 5775): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: OS Error: Connection refused, errno = 111, address = todoworld.servicestack.net, port = 46266, details: null, rawResponse: null)
E/flutter ( 5775): 

chrome:

Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
This app is linked to the debug service: ws://127.0.0.1:34811/Myw57rTJB5k=/ws
Debug service listening on ws://127.0.0.1:34811/Myw57rTJB5k=/ws

Running with unsound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
Debug service listening on ws://127.0.0.1:34811/Myw57rTJB5k=/ws
Error: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: Unsupported operation: SecurityContext constructor, details: null, rawResponse: null)


    at Object.createErrorWithStack (http://localhost:35847/dart_sdk.js:5362:12)
    at Object._rethrow (http://localhost:35847/dart_sdk.js:39548:16)
    at async._AsyncCallbackEntry.new.callback (http://localhost:35847/dart_sdk.js:39542:13)
    at Object._microtaskLoop (http://localhost:35847/dart_sdk.js:39374:13)
    at _startMicrotaskLoop (http://localhost:35847/dart_sdk.js:39380:13)
    at http://localhost:35847/dart_sdk.js:34887:9
Error: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: Unsupported operation: SecurityContext constructor, details: null, rawResponse: null)
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

1 participant