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

JRpcTimeoutError #263

Closed
siboj opened this issue Oct 3, 2023 · 8 comments
Closed

JRpcTimeoutError #263

siboj opened this issue Oct 3, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@siboj
Copy link

siboj commented Oct 3, 2023

I try to use zerotier tunnel from my mobile to my printer and sometime works sometimes no, error that i recive from mobileraker is

Exception:
JRpcTimeoutError: JRpcMethod timed out after 0:00:10.000000

#0 JsonRpcClient.sendJRpcMethod. (package:common/network/json_rpc_client.dart:226)
#1 FutureExtensions.onError.onError (dart:async/future.dart:1069)
#2 _RootZone.runBinary (dart:async/zone.dart:1666)
#3 _FutureListener.handleError (dart:async/future_impl.dart:171)
#4 Future._propagateToListeners.handleError (dart:async/future_impl.dart:852)
#5 Future._propagateToListeners (dart:async/future_impl.dart:873)
#6 Future._completeError (dart:async/future_impl.dart:649)
#7 Future.timeout. (dart:async/future_impl.dart:927)
#8 Timer._createTimer. (dart:async-patch/timer_patch.dart:18)
#9 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398)
#10 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429)
#11 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189)

I change timeout to 30 s but still same error

@siboj siboj added the bug Something isn't working label Oct 3, 2023
@Clon1998
Copy link
Owner

Clon1998 commented Oct 3, 2023

This indicates that the printer does not answer in time. The next time this happens, could you verify if mainsail/fluidd is also broken?

@siboj
Copy link
Author

siboj commented Oct 3, 2023

This indicates that the printer does not answer in time. The next time this happens, could you verify if mainsail/fluidd is also broken?

Its not broken everithing works fine but i don't know why need tooì much time to open

@siboj
Copy link
Author

siboj commented Oct 3, 2023

If i waiting in open app he will connect, he will try a lot of time and it will pass
Screenshot_20231003_144957

@TaylorN15
Copy link

You could try increasing the value in Printer Settings -> Client timeout in the app.

@siboj
Copy link
Author

siboj commented Oct 9, 2023

You could try increasing the value in Printer Settings -> Client timeout in the app.

I try that first but still same

@Clon1998
Copy link
Owner

Clon1998 commented Oct 9, 2023

You could try increasing the value in Printer Settings -> Client timeout in the app.

I try that first but still same

I am looking into that.
It seems like I made the app throw JRpcTimeoutError to aggressively. I already adjusted it in some places for the upcoming release. Lets see if that helps :)

@siboj
Copy link
Author

siboj commented Oct 9, 2023

You could try increasing the value in Printer Settings -> Client timeout in the app.

I try that first but still same

I am looking into that. It seems like I made the app throw JRpcTimeoutError to aggressively. I already adjusted it in some places for the upcoming release. Lets see if that helps :)

Thanks man

I would like to test new version

@siboj
Copy link
Author

siboj commented Nov 4, 2023

Hi

I tested new version of app and everithing is fine, its working very well

@siboj siboj closed this as completed Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants