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

reason: 'bad response', code: 'SERVER_ERROR', #106

Open
ghost opened this issue Feb 18, 2022 · 0 comments
Open

reason: 'bad response', code: 'SERVER_ERROR', #106

ghost opened this issue Feb 18, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 18, 2022

Can i get help about this one? Ive done everything allright. Bundle is live, address added, weth added, and when im trying to run NPM Start im getting this:

Send this much WETH 2000000000000000000 get this much profit 4209896913625831308
{
targets: [
'0x1498bd576454159Bb81B5Ce532692a8752D163e8',
'0x7D7E813082eF6c143277c71786e5bE626ec77b20'
],
payloads: [
'0x022c0d9f00000000000000000000000000000000000000000000007f51f83afdf1767bce00000000000000000000000000000000000000000000000000000000000000000000000000000000000000007d7e813082ef6c143277c71786e5be626ec77b2000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000',
'0x022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000562dfc576c76578c000000000000000000000000643d0e4f66ea66639956b18b63654ef41447024600000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000'
]
}
[
{
signer: Wallet {
_isSigner: true,
_signingKey: [Function (anonymous)],
_mnemonic: [Function (anonymous)],
address: '0x44ab46720D8FAcE0BB4377E771Cab211f0BCC208',
provider: null
},
transaction: {
data: '0xecd494b30000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000002ebd3f267e2512d6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000001498bd576454159bb81b5ce532692a8752d163e80000000000000000000000007d7e813082ef6c143277c71786e5be626ec77b2000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000a4022c0d9f00000000000000000000000000000000000000000000007f51f83afdf1767bce00000000000000000000000000000000000000000000000000000000000000000000000000000000000000007d7e813082ef6c143277c71786e5be626ec77b20000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000562dfc576c76578c000000000000000000000000643d0e4f66ea66639956b18b63654ef4144702460000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
to: '0x643D0e4f66Ea66639956b18b63654ef414470246',
gasLimit: [BigNumber],
gasPrice: [BigNumber]
}
}
]
Error: bad response (status=400, headers={"date":"Thu, 17 Feb 2022 19:39:25 GMT","content-type":"application/json","content-length":"80","connection":"close","x-amzn-requestid":"327b87b5-4a58-419e-aa3f-ccbbf02a7afc","x-amz-apigw-id":"Ns6hMFXuiYcFqhQ=","x-amzn-trace-id":"Root=1-620ea46d-18a5f1f70d774562026e42af;Sampled=0","cf-cache-status":"DYNAMIC","expect-ct":"max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"","report-to":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=4waeiOjdz5UpRBfHVDlG6qRp3J%2F4JttYjSxW%2BrODSU%2B5ixOXQ1WehKLi1uRW%2FZP6XsGY%2FvuwCYHPN4pc9%2FJtqWJiXnxdusQuOfR5sOZWDeTqGnvVRQyyEgEsp8tbCDhmN1frzGo%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}","nel":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}","server":"cloudflare","cf-ray":"6df17b4bffba7807-VIE"}, body="{"error":"invalid gas price, 0 gas price txs no longer accepted after eip-1559"}", requestBody="{"method":"eth_callBundle","params":[{"txs":["0xf90365808082c8c094643d0e4f66ea66639956b18b63654ef41447024680b90304ecd494b30000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000002ebd3f267e2512d6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000001498bd576454159bb81b5ce532692a8752d163e80000000000000000000000007d7e813082ef6c143277c71786e5be626ec77b2000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000a4022c0d9f00000000000000000000000000000000000000000000007f51f83afdf1767bce00000000000000000000000000000000000000000000000000000000000000000000000000000000000000007d7e813082ef6c143277c71786e5be626ec77b20000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000562dfc576c76578c000000000000000000000000643d0e4f66ea66639956b18b63654ef41447024600000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ca03944478c7a81b31d14440c6cd5a29179a9d58eda00cfd9a3abac19c584ca8122a0143ea32e3be8a1bab334474dd50c272603dc14f20393340219b604cc79daf134"],"blockNumber":"0xd910a3","stateBlockNumber":"latest"}],"id":44,"jsonrpc":"2.0"}", requestMethod="POST", url="https://relay.flashbots.net", code=SERVER_ERROR, version=web/5.0.11)
at Logger.makeError (/home/snnick/Desktop/simple-arbitrage-master/node_modules/@ethersproject/logger/src.ts/index.ts:205:28)
at Logger.throwError (/home/snnick/Desktop/simple-arbitrage-master/node_modules/@ethersproject/logger/src.ts/index.ts:217:20)
at /home/snnick/Desktop/simple-arbitrage-master/node_modules/@ethersproject/web/src.ts/index.ts:251:24
at step (/home/snnick/Desktop/simple-arbitrage-master/node_modules/@ethersproject/web/lib/index.js:33:23)
at Object.next (/home/snnick/Desktop/simple-arbitrage-master/node_modules/@ethersproject/web/lib/index.js:14:53)
at fulfilled (/home/snnick/Desktop/simple-arbitrage-master/node_modules/@ethersproject/web/lib/index.js:5:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
reason: 'bad response',
code: 'SERVER_ERROR',
status: 400,
headers: {
date: 'Thu, 17 Feb 2022 19:39:25 GMT',
'content-type': 'application/json',
'content-length': '80',
connection: 'close',
'x-amzn-requestid': '327b87b5-4a58-419e-aa3f-ccbbf02a7afc',
'x-amz-apigw-id': 'Ns6hMFXuiYcFqhQ=',
'x-amzn-trace-id': 'Root=1-620ea46d-18a5f1f70d774562026e42af;Sampled=0',
'cf-cache-status': 'DYNAMIC',
'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
'report-to': '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=4waeiOjdz5UpRBfHVDlG6qRp3J%2F4JttYjSxW%2BrODSU%2B5ixOXQ1WehKLi1uRW%2FZP6XsGY%2FvuwCYHPN4pc9%2FJtqWJiXnxdusQuOfR5sOZWDeTqGnvVRQyyEgEsp8tbCDhmN1frzGo%3D"}],"group":"cf-nel","max_age":604800}',
nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
server: 'cloudflare',
'cf-ray': '6df17b4bffba7807-VIE'
},
body: '{"error":"invalid gas price, 0 gas price txs no longer accepted after eip-1559"}',
requestBody: '{"method":"eth_callBundle","params":[{"txs":["0xf90365808082c8c094643d0e4f66ea66639956b18b63654ef41447024680b90304ecd494b30000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000002ebd3f267e2512d6000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000001498bd576454159bb81b5ce532692a8752d163e80000000000000000000000007d7e813082ef6c143277c71786e5be626ec77b2000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000a4022c0d9f00000000000000000000000000000000000000000000007f51f83afdf1767bce00000000000000000000000000000000000000000000000000000000000000000000000000000000000000007d7e813082ef6c143277c71786e5be626ec77b20000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4022c0d9f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000562dfc576c76578c000000000000000000000000643d0e4f66ea66639956b18b63654ef41447024600000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ca03944478c7a81b31d14440c6cd5a29179a9d58eda00cfd9a3abac19c584ca8122a0143ea32e3be8a1bab334474dd50c272603dc14f20393340219b604cc79daf134"],"blockNumber":"0xd910a3","stateBlockNumber":"latest"}],"id":44,"jsonrpc":"2.0"}',
requestMethod: 'POST',
url: 'https://relay.flashbots.net'

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

0 participants