-
Notifications
You must be signed in to change notification settings - Fork 36
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
[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: stream is closed #16
Comments
Thank You for your input. Seems to be connected with #15 and I have to admit that I was not able to make much of an progress since. I will try to take another look and I hope to move this issue forward. |
@Peter-717 are you able to write code in way to be included in test and to reproduce bug. You can publish code here in this thread or other way you find appropriate. That would be valuable in better understanding of Your particular issue and might additionally benefit other users. Kind regards, Luka |
Hi Luka, I am using a local Redis Server. And I am subscribing to the 'test' channel. When I publish any message on that channel, it will be displayed in the app. Let me know if I can be of any further assistance. Thanks! Note: One more thing, how can test that the connection is still alive with the server, as in PubSub mode, we can no longer send a PING command. Thanks import 'dart:async'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { class MyHomePage extends StatefulWidget { @OverRide class _MyHomePageState extends State{ Future finish() async {
} Future generateConnect() async {
} Future startRedis() async {
} @OverRide @OverRide @OverRide |
I faced with practically the same error. In my case it was |
@idrats Thak you for report. Can you please post short and working example of code, so that we are able to reproduce this? |
Sorry, I have figured out, that was my mistake |
@idrats that is great :) I am now closing this, since we did made some progress in recent release, for this thing. |
First of all, thank you so much for your library! We are using your redis-dart in our project.
Everything works well for us except the close() on a redisconnection. It throws on the console: "[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: stream is closed", despite a try and catch in our call (see snippet below where _redisConnection is the "single" instance of RedisConnection())
Future closeRedisConnection() async {
bool _close;
}
The text was updated successfully, but these errors were encountered: