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

Unable to connect to the auctioneer (no order found) #357

Closed
positiveblue opened this issue Apr 13, 2022 · 2 comments
Closed

Unable to connect to the auctioneer (no order found) #357

positiveblue opened this issue Apr 13, 2022 · 2 comments
Labels

Comments

@positiveblue
Copy link
Contributor

Describe the issue
Some users are unable to trade because the auctioneer ends the connection with the client. The client has two accounts that get disconnected after starting poold because of the server getting an unrecoverable error ([/poolrpc.ChannelAuctioneer/OrderState]: rpc error: code = Unknown desc = no order found)

What behavior did you expect?

The user is able to start the client and participate in trades for the orders that the server stored properly. Even if we consider this a critical error (it is a state that should never happen) poold should not stop without given the user a chance to fix the problem (cancel the order? force sync orders with the server?)

What was the actual behavior (provide screenshots if the issue is UI related)?
The user cannot restart the deamon. It exits during the startup process

relevant logs:

2022-04-12 23:10:48.972 [INF] RPCS: Trader server is now active
2022-04-12 23:10:49.043 [INF] POOL: Starting gRPC listener
2022-04-12 23:10:49.044 [INF] POOL: Starting REST proxy listener
2022-04-12 23:10:49.068 [INF] POOL: RPC server listening on [::]:8443
2022-04-12 23:10:49.068 [INF] POOL: REST proxy listening on 127.0.0.1:828
...
2022-04-12 23:10:50.519 [INF] AUCT: Shutting down auctioneer client
2022-04-12 23:10:50.519 [DBG] AUCT: Closing server stream
2022-04-12 23:10:50.519 [TRC] AUCT: Received msg=(*auctioneerrpc.ServerAuctionMessage)(nil), err=rpc error: code = Canceled desc = context canceled from server
2022-04-12 23:10:50.519 [INF] RPCS: Trader server stopping
2022-04-12 23:10:50.519 [INF] AUCT: Shutting down auctioneer client
...
2022-04-12 23:28:39.013 [DBG] LNDC: Closing lnd connection
2022-04-12 23:28:39.013 [DBG] LNDC: Wait for client to finish
2022-04-12 23:28:39.013 [DBG] LNDC: Wait for chain notifier to finish
2022-04-12 23:28:39.014 [DBG] LNDC: Wait for invoices to finish
2022-04-12 23:28:39.014 [DBG] LNDC: Wait for router to finish
2022-04-12 23:28:39.014 [DBG] LNDC: Lnd services finished
2022-04-12 23:28:39.014 [DBG] LNDC: Lnd services finished
unable to start server: unable to fetch order state: rpc error: code = Unknown desc = no order found
...
@kornpow
Copy link

kornpow commented Apr 14, 2022

@positiveblue 's PR got me unstuck yesterday. I had 4 orders in my DB that the order didnt store properly somehow

@guggero
Copy link
Member

guggero commented Apr 26, 2022

Will be fixed (at least the startup problem part) by #360.

positiveblue pushed a commit to positiveblue/pool that referenced this issue Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants