Open shwo9 opened 3 years ago
getting the same at the moment,
+1
+1
The POST request sent to the map api is getting rejected by a 403.
` response: { status: 403, statusText: 'Forbidden', headers: { server: 'CloudFront', date: 'Tue, 19 Oct 2021 15:20:57 GMT', 'content-type': 'text/html', 'content-length': '1053', connection: 'close', 'x-cache': 'Error from cloudfront', via: '1.1 a31f1272d73a641463b7203596a00057.cloudfront.net (CloudFront)', 'x-amz-cf-pop': 'MRS52-C2', 'x-amz-cf-id': 'UKqhVxcVUhmZYz48sQbSlsavj1ZI23idrlEKojiT0L3si12b3J6uHA==' }, config: { transitional: [Object], adapter: [Function: httpAdapter], transformRequest: [Array], transformResponse: [Array], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', url: 'https://reaper.turbotwat.xyz/api/rpc/getMap', data: '{"params":{"areaId":13618,"mapid":2227693792,"difficulty":0}}' }, request: <ref 1> ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: null, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [TLSSocket], _header: 'POST /api/rpc/getMap HTTP/1.1\r\n' + 'Accept: application/json, text/plain, /*\r\n' + 'Content-Type: application/json\r\n' + 'User-Agent: axios/0.23.0\r\n' + 'Content-Length: 61\r\n' + 'Host: reaper.turbotwat.xyz\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'POST', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/api/rpc/getMap', _ended: true, res: [IncomingMessage], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'reaper.turbotwat.xyz', protocol: 'https:', _redirectable: [Writable],
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
data: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n' +
'<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">\n' +
'<TITLE>ERROR: The request could not be satisfied</TITLE>\n' +
'</HEAD><BODY>\n' +
'<H1>403 ERROR</H1>\n' +
'<H2>The request could not be satisfied.</H2>\n' +
'<HR noshade size="1px">\n' +
'This distribution is not configured to allow the HTTP request method that was used for this request. The distribution supports only cachable requests.\n' +
"We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.\n" +
'<BR clear="all">\n' +
'If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.\n' +
'<BR clear="all">\n' +
'<HR noshade size="1px">\n' +
'<PRE>\n' +
'Generated by cloudfront (CloudFront)\n' +
'Request ID: UKqhVxcVUhmZYz48sQbSlsavj1ZI23idrlEKojiT0L3si12b3J6uHA==\n' +
'</PRE>\n' +
'<ADDRESS>\n' +
'</ADDRESS>\n' +
'</BODY></HTML>'
}, isAxiosError: true, toJSON: [Function: toJSON] } `
Looks like the URL where he was getting his information from no longer exists
https://reaper.turbotwat.xyz/api/rpc/getMap
I'm getting the following error.
Error: getaddrinfo ENOTFOUND reaper.turbotwat.xyz
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:71:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'reaper.turbotwat.xyz',
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus],
headers: {
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/json',
'User-Agent': 'axios/0.23.0',
'Content-Length': 66
},
method: 'post',
url: 'https://reaper.turbotwat.xyz/api/rpc/getMap',
data: '{"params":{"areaId":2452296368,"mapid":2452296296,"difficulty":0}}'
},
Program recognizes game client but, web doesn't show map image.
how to fix?