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

An error occurred at task: ProcessBsqSwapTxInputsMessage #6033

Closed
rfpe opened this issue Feb 7, 2022 · 3 comments
Closed

An error occurred at task: ProcessBsqSwapTxInputsMessage #6033

rfpe opened this issue Feb 7, 2022 · 3 comments

Comments

@rfpe
Copy link

rfpe commented Feb 7, 2022

Description

Trying to buy a small amount of BSQ fails with the exception.

fev.-07 08:59:44.364 [JavaFX Application Thread] ERROR b.c.t.p.TradeProtocol: Task runner failed with error An error occurred at task: ProcessBsqSwapTxInputsMessage
Exception message: Buyers BSQ input amount must match input amount from unspentTxOutputMap in DAO state. Triggered from BsqSwapTxInputsMessage 

Version

v1.8.2

Steps to reproduce

Just try to buy BSQ from the BSQ-BSQ listing. I sort the listings for BTC (min-max) and click on Take Offer to Buy BSQ on any of the smallest ones (~ 9 or 12 BSQ)

Expected behaviour

To complete the purchase

Actual behaviour

An error message comes up and the trade is not completed

Screenshots

image

Device or machine

Windows 11

Additional info

fev.-07 08:58:55.696 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: No candidates found. We check if we exceed our outBoundPeerTrigger of 16 
fev.-07 08:58:55.696 [JavaFX Application Thread] INFO  b.n.p.p.PeerManager: We have not exceeded outBoundPeerTrigger of 16 so don't need to close any connections 
fev.-07 08:58:57.881 [JavaFX Application Thread] INFO  b.c.u.DesktopUtil: Trying to exec: cmd = explorer args = %s file = "https://bisq.network/source/bisq/issues?utm_source=desktop-client&utm_medium=in-app-link&utm_campaign=language_en" 
fev.-07 08:58:57.885 [JavaFX Application Thread] INFO  b.c.u.DesktopUtil: Process is running. 
fev.-07 08:59:34.033 [JavaFX Application Thread] INFO  b.c.t.TaskRunner: Run task: SendOfferAvailabilityRequest 
fev.-07 08:59:34.033 [JavaFX Application Thread] INFO  b.c.o.a.t.SendOfferAvailabilityRequest: Send OfferAvailabilityRequest with offerId WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182 and uid 2e116019-3304-4f31-a9f2-fea235603b28 to peer ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999 
fev.-07 08:59:34.059 [JavaFX Application Thread] INFO  b.c.o.a.t.SendOfferAvailabilityRequest: OfferAvailabilityRequest arrived at peer: offerId=WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182; uid=2e116019-3304-4f31-a9f2-fea235603b28 
fev.-07 08:59:34.965 [JavaFX Application Thread] INFO  b.c.o.a.OfferAvailabilityProtocol: Received handleOfferAvailabilityResponse from ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999 with offerId WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182 and uid 854898eb-ef16-4eb6-94bf-7e77b2fb9edf 
fev.-07 08:59:34.965 [JavaFX Application Thread] INFO  b.c.t.TaskRunner: Run task: ProcessOfferAvailabilityResponse 
fev.-07 08:59:34.966 [JavaFX Application Thread] INFO  b.c.o.a.OfferAvailabilityProtocol: Send AckMessage for OfferAvailabilityResponse to peer ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999 with offerId WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182 and sourceUid 854898eb-ef16-4eb6-94bf-7e77b2fb9edf 
fev.-07 08:59:34.967 [JavaFX Application Thread] INFO  b.c.o.a.OfferAvailabilityProtocol: AckMessage for OfferAvailabilityResponse arrived at makersNodeAddress ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999. offerId=WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182, sourceUid=854898eb-ef16-4eb6-94bf-7e77b2fb9edf 
fev.-07 08:59:35.129 [JavaFX Application Thread] INFO  b.c.o.OpenOfferManager: Received AckMessage for OfferAvailabilityRequest with offerId WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182 and uid 2e116019-3304-4f31-a9f2-fea235603b28 
fev.-07 08:59:35.506 [JavaFX Application Thread] INFO  b.c.p.f.FeeService: BTC tx fee: txFeePerVbyte=10 minFeePerVbyte=2 
fev.-07 08:59:42.200 [JavaFX Application Thread] INFO  b.c.t.TaskRunner: Run task: SendOfferAvailabilityRequest 
fev.-07 08:59:42.201 [JavaFX Application Thread] INFO  b.c.o.a.t.SendOfferAvailabilityRequest: Send OfferAvailabilityRequest with offerId WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182 and uid 01920446-07a3-46fb-a7d9-e97d8ae63c2e to peer ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999 
fev.-07 08:59:42.203 [JavaFX Application Thread] INFO  b.c.o.a.t.SendOfferAvailabilityRequest: OfferAvailabilityRequest arrived at peer: offerId=WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182; uid=01920446-07a3-46fb-a7d9-e97d8ae63c2e 
fev.-07 08:59:43.534 [JavaFX Application Thread] INFO  b.c.o.a.OfferAvailabilityProtocol: Received handleOfferAvailabilityResponse from ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999 with offerId WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182 and uid 89c85198-ee7d-4b94-9e6e-ab4252fc4209 
fev.-07 08:59:43.534 [JavaFX Application Thread] INFO  b.c.t.TaskRunner: Run task: ProcessOfferAvailabilityResponse 
fev.-07 08:59:43.534 [JavaFX Application Thread] INFO  b.c.o.a.OfferAvailabilityProtocol: Send AckMessage for OfferAvailabilityResponse to peer ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999 with offerId WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182 and sourceUid 89c85198-ee7d-4b94-9e6e-ab4252fc4209 
fev.-07 08:59:43.535 [JavaFX Application Thread] INFO  b.c.t.TaskRunner: Run task: ApplyFilter 
fev.-07 08:59:43.536 [JavaFX Application Thread] INFO  b.c.t.TaskRunner: Run task: SendSellersBsqSwapRequest 
fev.-07 08:59:43.536 [JavaFX Application Thread] INFO  b.c.t.p.b.t.SendBsqSwapMessageTask: Send SellersBsqSwapRequest to peer ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999. tradeId=WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182, uid=073d7f5a-20a5-4763-9e62-9bf2d267c953 
fev.-07 08:59:43.538 [JavaFX Application Thread] INFO  b.c.o.a.OfferAvailabilityProtocol: AckMessage for OfferAvailabilityResponse arrived at makersNodeAddress ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999. offerId=WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182, sourceUid=89c85198-ee7d-4b94-9e6e-ab4252fc4209 
fev.-07 08:59:43.588 [JavaFX Application Thread] INFO  b.c.t.p.b.t.SendBsqSwapMessageTask: SellersBsqSwapRequest arrived at peer ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999. tradeId=WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182, uid=073d7f5a-20a5-4763-9e62-9bf2d267c953 
fev.-07 08:59:43.588 [JavaFX Application Thread] INFO  b.c.t.p.TradeProtocol: TaskRunner successfully completed. Triggered from TAKE_OFFER, tradeId=WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182 
fev.-07 08:59:43.723 [JavaFX Application Thread] INFO  b.c.o.OpenOfferManager: Received AckMessage for OfferAvailabilityRequest with offerId WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182 and uid 01920446-07a3-46fb-a7d9-e97d8ae63c2e 
fev.-07 08:59:44.345 [JavaFX Application Thread] INFO  b.c.t.p.b.BsqSwapSellerAsTakerProtocol: Received BsqSwapTxInputsMessage from ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999 with tradeId WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182 and uid a2e00819-139b-4376-9838-e094006a6114 
fev.-07 08:59:44.345 [JavaFX Application Thread] INFO  b.c.t.TaskRunner: Run task: ProcessBsqSwapTxInputsMessage 
fev.-07 08:59:44.364 [JavaFX Application Thread] WARN  b.d.m.o.b.t.BsqSwapTakeOfferViewModel: An error occurred at task: ProcessBsqSwapTxInputsMessage
Exception message: Buyers BSQ input amount must match input amount from unspentTxOutputMap in DAO state 
fev.-07 08:59:44.364 [JavaFX Application Thread] ERROR b.c.t.Task: An error occurred at task: ProcessBsqSwapTxInputsMessage
Exception message: Buyers BSQ input amount must match input amount from unspentTxOutputMap in DAO state 
fev.-07 08:59:44.364 [JavaFX Application Thread] ERROR b.c.t.TaskRunner: Task failed: ProcessBsqSwapTxInputsMessage / errorMessage: An error occurred at task: ProcessBsqSwapTxInputsMessage
Exception message: Buyers BSQ input amount must match input amount from unspentTxOutputMap in DAO state 
fev.-07 08:59:44.364 [JavaFX Application Thread] ERROR b.c.t.p.TradeProtocol: Task runner failed with error An error occurred at task: ProcessBsqSwapTxInputsMessage
Exception message: Buyers BSQ input amount must match input amount from unspentTxOutputMap in DAO state. Triggered from BsqSwapTxInputsMessage 
fev.-07 08:59:44.364 [JavaFX Application Thread] INFO  b.c.t.p.TradeProtocol: Send AckMessage for BsqSwapTxInputsMessage to peer ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999. tradeId=WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182, sourceUid=a2e00819-139b-4376-9838-e094006a6114 
fev.-07 08:59:44.370 [JavaFX Application Thread] INFO  b.c.t.p.TradeProtocol: AckMessage for BsqSwapTxInputsMessage arrived at peer ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999. tradeId=WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182, sourceUid=a2e00819-139b-4376-9838-e094006a6114 
fev.-07 08:59:44.440 [JavaFX Application Thread] INFO  b.c.t.p.b.BsqSwapProtocol: Received ackMessage AckMessage{
     uid='3da17a71-8033-4632-807b-476a6de79ea7',
     senderNodeAddress=ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999,
     sourceType=TRADE_MESSAGE,
     sourceMsgClassName='SellersBsqSwapRequest',
     sourceUid='073d7f5a-20a5-4763-9e62-9bf2d267c953',
     sourceId='WMQ4T6R-48e9b969-361a-440b-ba37-508fdee58ec3-182',
     success=true,
     errorMessage='null'
} NetworkEnvelope{
     messageVersion=10
} from peer ugfv5yu5ojx6r5vdklxxft5pybuym7vvy3kioktelgobt27zj3crn5qd.onion:9999 
fev.-07 09:00:21.066 [JavaFX Application Thread] INFO  b.c.u.DesktopUtil: Trying to exec: cmd = explorer args = %s file = "C:\Users\Renan\AppData\Roaming\Bisq\bisq.log" 
fev.-07 09:00:21.069 [JavaFX Application Thread] INFO  b.c.u.DesktopUtil: Process is running. 

@boring-cyborg
Copy link

boring-cyborg bot commented Feb 7, 2022

Thanks for opening your first issue here!

Be sure to follow the issue template. Your issue will be reviewed by a maintainer and labeled for further action.

@ghost
Copy link

ghost commented Feb 7, 2022

The error message is the trade protocol validating your peer's side of the trade, and complaining about it. Possible scenarios are that the DAO state is out of sync on either the offer maker or your side of the trade. I suggest you navigate to DAO -> Network Monitor and see if it complains about your DAO state. If so, there may be a button shown to resync the DAO state which involves restarting the app. If no button is shown, you can go to Settings -> Preferences and press Rebuild DAO state from resources. If resyncing the DAO does not help, I would suggest an SPV resync.

FWIW I tried to reproduce the issue by taking one of those low amount offers and the trade completed without error.

@rfpe
Copy link
Author

rfpe commented Feb 7, 2022

@jmacxx Rebuilding the DAO state from resources worked for me. I was able to complete the trade. Thank you!

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