steem2trx: One Transaction Failed with "Pending Sent"
steem2trx today failed to send a swap.
I looked into the logs and it seems it is a timeout issue. For safely, the swap does not retry - all failed swaps will be manually reviewed and processed/handled.
Error: timeout of 30000ms exceeded at createError (/var/www/steem/node_modules/axios/lib/core/createError.js:16:15) at RedirectableRequest.handleRequestTimeout (/var/www/steem/node_modules/axios/lib/adapters/http.js:369:16) at RedirectableRequest.emit (node:events:513:28) at Timeout.anonymous (/var/www/steem/node_modules/follow-redirects/index.js:221:12) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7) { config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [Function: httpAdapter], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 30000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json', 'TRON-PRO-API-KEY': '', 'User-Agent': 'axios/0.26.1', 'Content-Length': 138 }, baseURL: 'https://api.trongrid.io', auth: false, data: '{"to_address":"41f2096b068688cf2ba90a366d1299024fd7232a69","owner_address":"416e7df7ae2caadc4d984697cf6dd3d483dc9fcce3","amount":65561000}', params: false, url: 'wallet/createtransaction', method: 'post' }, code: 'ECONNABORTED', request: <ref *1> Writable { _writableState: WritableState { objectMode: false, highWaterMark: 16384, finalCalled: false, needDrain: false, ending: false, ended: false, finished: false, destroyed: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function: bound onwrite], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 0, constructed: true, prefinished: false, errorEmitted: false, emitClose: true, autoDestroy: true, errored: null, closed: false, closeEmitted: false, [Symbol(kOnFinished)]: [] }, _events: [Object: null prototype] { response: [Function: handleResponse], error: [Function: handleRequestError], socket: [Array] },_eventsCount: 3, _maxListeners: undefined, _options: { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: '/wallet/createtransaction', method: 'POST', headers: [Object], agent: undefined, agents: [Object], auth: undefined, hostname: 'api.trongrid.io', port: null, nativeProtocols: [Object], pathname: '/wallet/createtransaction' }, _ended: false, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 138, _requestBodyBuffers: [ [Object] ], _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, strictContentLength: false, _contentLength: 138, _hasBody: true, _trailer: '', finished: false, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'POST /wallet/createtransaction HTTP/1.1\r\n' + 'Accept: application/json, text/plain, */*\r\n' + 'Content-Type: application/json\r\n' + 'TRON-PRO-API-KEY: \r\n' + 'User-Agent: axios/0.26.1\r\n' + 'Content-Length: 138\r\n' + 'Host: api.trongrid.io\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, joinDuplicateHeaders: undefined, path: '/wallet/createtransaction', _ended: false, res: null, aborted: true, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: 'api.trongrid.io', protocol: 'https:', _redirectable: [Circular *1], [Symbol(kCapture)]: false, [Symbol(kBytesWritten)]: 0, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(errored)]: null, [Symbol(kUniqueHeaders)]: null, [Symbol(kError)]: undefined }, _currentUrl: 'https://api.trongrid.io/wallet/createtransaction', _timeout: null, [Symbol(kCapture)]: false
},
response: undefined,
isAxiosError: true,
toJSON: [Function: toJSON]
}
Steem to the Moon🚀!
- You can rent Steem Power via rentsp!
- You can swap the TRON:TRX/USDT/USDD to STEEM via tron2steem!
- You can swap the STEEM/SBD to SUI via steem2sui!
- You can swap the STEEM/SBD to SOL Solana via steem2sol!
- You can swap the STEEM/SBD to ETH Ethereum via steem2eth!
- You can swap the STEEM/SBD to Tether USDT (TRC-20) via steem2usdt!
- You can swap the STEEM/SBD to TRX (TRON) via steem2trx!
- You can swap the STEEM/SBD to BTS (BitShares) via steem2bts!
- Register a free STEEM account at SteemYY!
- Steem Block Explorer
- ChatGPT/Steem Integration: You can type !ask command to invoke ChatGPT
- Steem Witness Table and API
- Other Steem Tools
Support me, thank you!
Why you should vote me? My contributions
Please vote me as a witness or set me as a proxy via https://steemitwallet.com/~witnesses
Hey @justyy, thanks for the transparent update on the
steem2trx
swap issue! It's great to see you're on top of things, diving into the logs and prioritizing user safety by manually handling those failed swaps. This kind of proactive approach and clear communication builds a lot of trust in the services you provide.The detailed error information is also super helpful for others who might encounter similar issues. Keep up the awesome work on these essential Steem tools! Are there any adjustments planned to prevent future timeouts, or is it something inherent to the external API's reliability? I am sure the community would appreciate more details or to learn more!