Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Auctioneer returned error: response not received #11

Closed
rjan90 opened this issue Jul 8, 2021 · 2 comments
Closed

Auctioneer returned error: response not received #11

rjan90 opened this issue Jul 8, 2021 · 2 comments

Comments

@rjan90
Copy link
Contributor

rjan90 commented Jul 8, 2021

Recieved an auction, but when the bidbot was trying to publish the bid it errored out with a response not recieved.

2021-07-08T05:58:30.452+0200	INFO	bidbot/service	service/service.go:317	received auction 01fa248pyev3hzjvh722aw10hm from 12D3KooW9wsxrkCx6CnsWb1gBxZWAjzVK5Hif9FLXKoQZYLewXoD: 
{
  "id": "01fa248pyev3hzjvh722aw10hm",
  "payload_cid": "bafybeidmmgrnlo3bg4earr43i3tvsjvn4kn2vtbdmenkxlaldrnwuvimku",
  "deal_size": 4294967296,
  "deal_duration": 1468800,
  "sources": {
    "car_url": {
      "URL": "https://broker.staging.textile.dev/car/bafybeidmmgrnlo3bg4earr43i3tvsjvn4kn2vtbdmenkxlaldrnwuvimku"
    }
  },
  "ends_at": {
    "seconds": 1625716720,
    "nanos": 350875922
  }
}
2021-07-08T05:58:40.443+0200	INFO	bidbot/service	service/service.go:317	received auction 01fa248pyev3hzjvh722aw10hm from 12D3KooW9wsxrkCx6CnsWb1gBxZWAjzVK5Hif9FLXKoQZYLewXoD: 
{
  "id": "01fa248pyev3hzjvh722aw10hm",
  "payload_cid": "bafybeidmmgrnlo3bg4earr43i3tvsjvn4kn2vtbdmenkxlaldrnwuvimku",
  "deal_size": 4294967296,
  "deal_duration": 1468800,
  "sources": {
    "car_url": {
      "URL": "https://broker.staging.textile.dev/car/bafybeidmmgrnlo3bg4earr43i3tvsjvn4kn2vtbdmenkxlaldrnwuvimku"
    }
  },
  "ends_at": {
    "seconds": 1625716730,
    "nanos": 362617129
  }
}
2021-07-08T05:58:50.454+0200	INFO	bidbot/service	service/service.go:317	received auction 01fa248pyev3hzjvh722aw10hm from 12D3KooW9wsxrkCx6CnsWb1gBxZWAjzVK5Hif9FLXKoQZYLewXoD: 
{
  "id": "01fa248pyev3hzjvh722aw10hm",
  "payload_cid": "bafybeidmmgrnlo3bg4earr43i3tvsjvn4kn2vtbdmenkxlaldrnwuvimku",
  "deal_size": 4294967296,
  "deal_duration": 1468800,
  "sources": {
    "car_url": {
      "URL": "https://broker.staging.textile.dev/car/bafybeidmmgrnlo3bg4earr43i3tvsjvn4kn2vtbdmenkxlaldrnwuvimku"
    }
  },
  "ends_at": {
    "seconds": 1625716740,
    "nanos": 373591008
  }
}
2021-07-08T05:59:00.933+0200	INFO	bidbot/service	service/service.go:431	bidding in auction 01fa248pyev3hzjvh722aw10hm from 12D3KooW9wsxrkCx6CnsWb1gBxZWAjzVK5Hif9FLXKoQZYLewXoD: 
{
  "auction_id": "01fa248pyev3hzjvh722aw10hm",
  "miner_addr": "f023467",
  "wallet_addr_sig": "ApGrZvAGoxp6e9eZzTttipFXfuGQMl+jthccfYNYsgWUPDa+WaRfR7TU5r/sl6uC2BPN8ygyG//spbkzwhCygYVc8eYch0iGt2ZtBBEn04k1/5jw664JtDzr7kzxYfHcaQ==",
  "start_epoch": 916557,
  "fast_retrieval": true
}
2021-07-08T05:59:10.934+0200	ERROR	bidbot/service	service/service.go:321	making bid: publishing bid; auctioneer 12D3KooW9wsxrkCx6CnsWb1gBxZWAjzVK5Hif9FLXKoQZYLewXoD returned error: response not received
2021-07-08T05:59:13.674+0200	INFO	bidbot/service	service/service.go:431	bidding in auction 01fa248pyev3hzjvh722aw10hm from 12D3KooW9wsxrkCx6CnsWb1gBxZWAjzVK5Hif9FLXKoQZYLewXoD: 
{
  "auction_id": "01fa248pyev3hzjvh722aw10hm",
  "miner_addr": "f023467",
  "wallet_addr_sig": "ApGrZvAGoxp6e9eZzTttipFXfuGQMl+jthccfYNYsgWUPDa+WaRfR7TU5r/sl6uC2BPN8ygyG//spbkzwhCygYVc8eYch0iGt2ZtBBEn04k1/5jw664JtDzr7kzxYfHcaQ==",
  "start_epoch": 916558,
  "fast_retrieval": true
}
2021-07-08T05:59:20.885+0200	ERROR	bidbot/service	service/service.go:321	making bid: creating bids topic: creating topic: joining topic: topic already exists
2021-07-08T05:59:23.675+0200	ERROR	bidbot/service	service/service.go:321	making bid: publishing bid; auctioneer 12D3KooW9wsxrkCx6CnsWb1gBxZWAjzVK5Hif9FLXKoQZYLewXoD returned error: response not received
merlinran added a commit to textileio/broker-core that referenced this issue Jul 8, 2021
in response to unnecessary retries, seen from textileio/bidbot#11

Signed-off-by: Merlin Ran <merlinran@gmail.com>
@merlinran
Copy link
Contributor

Thanks for the detailed feedback @rjan90 ! This error message is confusing. In this case it actually means that out of all the bids, some other miners win the auction this time and good luck next time, which means the auction mechanism did work. We are thinking about making this more transparent and less confusing.

We also need to make change to bidbot to avoid handling the same auction again, to avoid the joining topic: topic already exists error and some repetitive work.

@rjan90
Copy link
Contributor Author

rjan90 commented Dec 14, 2021

Closing this issue, as its old and outdated 😄

@rjan90 rjan90 closed this as completed Dec 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants