Open satroan opened 5 years ago
What are you using for a node? This is a common error that Infura returns if it's under heavy load or the request fails.
I saw similar error messages when launching the launch kit, using rinkeby.infura v3 APIs. The errors were repeated for like 20 times and stopped, did not seem to affect the launch kit functionalities afterwards
Thanks for mentioning I saw no documented solution so it was a huge block for me. So you are saying to repeatedly try until the error resolves? Which for your case was a like the ~20th time?
Setup a (new) account with infura.io, created a project, used that link to Rinkeby via https, but ... same problem here. Can't post an order, or looks more like as if they can not be retrieved.
GET http://localhost:3000/v3/orders?makerAssetData=0xf47261b00000000000000000000000008080c7e4b81ecf23aa6f877cfbfd9b0c228c6ffa&page=1&takerAssetData=0xf47261b0000000000000000000000000c778417e063141139fce010982780140aa0cd5ab 404 (Not Found)
orderbook:1 GET http://localhost:3000/v3/orderbook?baseAssetData=0xf47261b00000000000000000000000008080c7e4b81ecf23aa6f877cfbfd9b0c228c6ffa"eAssetData=0xf47261b0000000000000000000000000c778417e063141139fce010982780140aa0cd5ab 404 (Not Found)
backend.js:6 0x-launch-kit-frontend::Store::Market::Actions getAllOrders: fetch orders from the relayer failed. Error: 404 - Not Found
GET http://localhost:3000/v3/orders?makerAssetData=0xf47261b00000000000000000000000008080c7e4b81ecf23aa6f877cfbfd9b0c228c6ffa&page=1&takerAssetData=0xf47261b0000000000000000000000000c778417e063141139fce010982780140aa0cd5ab
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /v3/orders</pre>
</body>
</html>
at e.<anonymous> (http_client.js:475)
at http_client.js:125
at Object.next (http_client.js:55)
at o (http_client.js:7)
r @ backend.js:6
t.<computed> @ logdown.min.js:149
(anonymous) @ actions.ts:65
c @ runtime.js:45
(anonymous) @ runtime.js:264
e.<computed> @ runtime.js:98
n @ asyncToGenerator.js:3
f @ asyncToGenerator.js:29
Promise.then (async)
n @ asyncToGenerator.js:13
s @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ actions.ts:49
(anonymous) @ index.js:8
dispatch @ redux.js:613
(anonymous) @ actions.ts:250
c @ runtime.js:45
Hey I am trying to find a resolution to this, also in the future can we have a FAQ/wiki for common problems or error code and fixes. Thanks last log
backend_1 | "PERMANENT_CLEANUP_INTERVAL_MS": 10000, backend_1 | "MAX_PER_PAGE": 1000, backend_1 | "DEFAULT_ERC20_TOKEN_PRECISION": 18 backend_1 | } backend_1 | { code: -32000, message: 'unknown block' }