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

MySQL Client Error: Connection cannot process a request for Instance of 'PrepareHandler' #37

Open
u007 opened this issue Dec 9, 2019 · 3 comments

Comments

@u007
Copy link

u007 commented Dec 9, 2019

i think after running the instance for a day, the connection seems to got disconnected.
i suspect there are no mechanism to reconnect.
getting some difficult to identify error:

MySQL Client Error: Connection cannot process a request for Instance of 'PrepareHandler' while a request is already in progress for Instance of 'PrepareHandler'
#0      setupLogger.<anonymous closure> (package:project/src/util/logging.dart:13)
#1      _rootRunUnary (dart:async/zone.dart:1136)
#2      _RootZone.runUnaryGuarded (dart:async/zone.dart:1317)
#3      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336)
#4      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
#5      _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:375)
#6      _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:250)
#7      Logger._publish (package:logging/logging.dart:240)
#8      Logger.log (package:logging/logging.dart:186)
#9      Logger.severe (package:logging/logging.dart:221)
#10     Driver.handleRawRequest.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:angel_framework/src/core/driver.dart:200)
#11     new Future.<anonymous closure> (dart:async/future.dart:176)
#12     _rootRun (dart:async/zone.dart:1120)
#13     _CustomZone.run (dart:async/zone.dart:1021)
#14     _CustomZone.runGuarded (dart:async/zone.dart:923)
#15     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963)
#16     _rootRun (dart:async/zone.dart:1124)
#17     _CustomZone.run (dart:async/zone.dart:1021)
#18     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947)
#19     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:21)
#20     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382)
#21     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416)
#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172)

@u007
Copy link
Author

u007 commented Dec 12, 2019

might be related to this:
#27

@insinfo
Copy link

insinfo commented May 19, 2020

@u007
I'm having this same problem, did you find any solution?

@u007
Copy link
Author

u007 commented May 19, 2020

no solution yet, right now im using logging to detect preparehandler error and restart the instance

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

2 participants