SpaceCP / Bugs

Bug tracker repo for SpaceCP.
12 stars 1 forks source link

Cannot download Vanilla jar file automatically from Panel on server creation. #249

Open ryan77627 opened 7 years ago

ryan77627 commented 7 years ago

Expected Behavior

I press Vanilla Minecraft under Mods, and I click setup to the right of the version 1.11.2, and everything turns on and works.

Current Behavior

I press setup, and it says on the bottom left of the Web Panel: "Failed to install: Failed to download the mod."

The console that houston is running in spits out this error about a bad gateway with cloudflare: ` options: { url: 'https://gdn.jamy.be//v2/?r=build&where=_id.$eq.e4e63470cef866c8f5f67483b44f109d&parents', json: true, callback: undefined, simple: true, resolveWithFullResponse: false }, response: IncomingMessage { _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: [], length: 0, pipes: null, pipesCount: 0, flowing: true, ended: true, endEmitted: true, reading: false, sync: false, needReadable: false, emittedReadable: false, readableListening: false, resumeScheduled: false, defaultEncoding: 'utf8', ranOut: false, awaitDrain: 0, readingMore: false, decoder: null, encoding: null }, readable: false, domain: null, _events: { end: [Object], close: [Object], data: [Function], error: [Function] }, _eventsCount: 4, _maxListeners: undefined, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: null, npnProtocol: false, alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object], _eventsCount: 9, _connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'gdn.jamy.be', _readableState: [Object], readable: false, domain: null, _maxListeners: undefined, _writableState: [Object], writable: false, allowHalfOpen: false, destroyed: true, _bytesDispatched: 149, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: null, _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Object], read: [Function], _consuming: true, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, connection: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: null, npnProtocol: false, alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object], _eventsCount: 9, _connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'gdn.jamy.be', _readableState: [Object], readable: false, domain: null, _maxListeners: undefined, _writableState: [Object], writable: false, allowHalfOpen: false, destroyed: true, _bytesDispatched: 149, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: null, _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Object], read: [Function], _consuming: true, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, headers: { date: 'Sun, 18 Jun 2017 01:35:59 GMT', 'content-type': 'text/html; charset=UTF-8', 'transfer-encoding': 'chunked', connection: 'close', 'set-cookie': [Object], expires: 'Thu, 01 Jan 1970 00:00:01 GMT', 'cache-control': 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0', pragma: 'no-cache', 'x-frame-options': 'SAMEORIGIN', server: 'cloudflare-nginx', 'cf-ray': '370a83da8e2f1846-EWR' }, rawHeaders: [ 'Date', 'Sun, 18 Jun 2017 01:35:59 GMT', 'Content-Type', 'text/html; charset=UTF-8', 'Transfer-Encoding', 'chunked', 'Connection', 'close', 'Set-Cookie', '__cfduid=d9e969e0edf428dd01a80403775e6efd91497749759; expires=Mon, 18-Jun-18 01:35:59 GMT; path=/; domain=.jamy.be; HttpOnly', 'Expires', 'Thu, 01 Jan 1970 00:00:01 GMT', 'Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0', 'Pragma', 'no-cache', 'X-Frame-Options', 'SAMEORIGIN', 'Server', 'cloudflare-nginx', 'CF-RAY', '370a83da8e2f1846-EWR' ], trailers: {}, rawTrailers: [], upgrade: false, url: '', method: null, statusCode: 502, statusMessage: 'Bad Gateway', client: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: null, npnProtocol: false, alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object], _eventsCount: 9, _connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'gdn.jamy.be', _readableState: [Object], readable: false, domain: null, _maxListeners: undefined, _writableState: [Object], writable: false, allowHalfOpen: false, destroyed: true, _bytesDispatched: 149, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: null, _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Object], read: [Function], _consuming: true, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, _consuming: true, _dumped: false, req: ClientRequest { domain: null, _events: [Object], _eventsCount: 4, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedHeader: {}, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Object], connection: [Object], _header: 'GET //v2/?r=build&where=_id.$eq.e4e63470cef866c8f5f67483b44f109d&parents HTTP/1.1\r\nhost: gdn.jamy.be\r\naccept: application/json\r\nConnection: close\r\n\r\n', _headers: [Object], _headerNames: [Object], _onPendingData: null, agent: [Object], socketPath: undefined, method: 'GET', path: '//v2/?r=build&where=_id.$eq.e4e63470cef866c8f5f67483b44f109d&parents',error: survival: Failed to download the mod., server=survival, build=1459654558_265

    parser: null,
    res: [Circular] },
 request: 
  Request {
    domain: null,
    _events: [Object],
    _eventsCount: 5,
    _maxListeners: undefined,
    readable: true,
    writable: true,
    _qs: [Object],
    _auth: [Object],
    _oauth: [Object],
    _multipart: [Object],
    _redirect: [Object],
    _tunnel: [Object],
    _rp_resolve: [Function],
    _rp_reject: [Function],
    _rp_promise: [Object],
    _rp_callbackOrig: undefined,
    callback: [Function],
    _rp_options: [Object],
    headers: [Object],
    setHeader: [Function],
    hasHeader: [Function],
    getHeader: [Function],
    removeHeader: [Function],
    method: 'GET',
    localAddress: undefined,
    pool: {},
    dests: [],
    __isRequestRequest: true,
    _callback: [Function: RP$callback],
    uri: [Object],
    proxy: null,
    tunnel: true,
    setHost: true,
    originalCookieHeader: undefined,
    _disableCookies: true,
    _jar: undefined,
    port: 443,
    host: 'gdn.jamy.be',
    path: '//v2/?r=build&where=_id.$eq.e4e63470cef866c8f5f67483b44f109d&parents',
    _json: true,
    httpModule: [Object],
    agentClass: [Object],
    agent: [Object],
    _rp_promise_in_use: true,
    _started: true,
    href: 'https://gdn.jamy.be//v2/?r=build&where=_id.$eq.e4e63470cef866c8f5f67483b44f109d&parents',
    req: [Object],
    ntick: true,
    response: [Circular],
    originalHost: 'gdn.jamy.be',
    originalHostHeaderName: 'host',
    responseContent: [Circular],
    _destdata: true,
    _ended: true,
    _callbackCalled: true },
 toJSON: [Function: responseToJSON],
 caseless: Caseless { dict: [Object] },
 read: [Function],
 body: '<!DOCTYPE html>\n<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->\n<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->\n<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->\n<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->\n<head>\n<meta http-equiv="refresh" content="0">\n<meta http-equiv="set-cookie" content="cf_use_ob=443; expires=Sun, 18-Jun-17 01:36:29 GMT; path=/">\n<meta http-equiv="set-cookie" content="cf_ob_info=502:370a83da8e2f1846:EWR; expires=Sun, 18-Jun-17 01:36:29 GMT; path=/">\n<title>gdn.jamy.be | 502: Bad gateway</title>\n<meta charset="UTF-8"/>\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>\n<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>\n<meta name="robots" content="noindex, nofollow"/>\n<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/>\n<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection"/>\n<!--[if lt IE 9]><link rel="stylesheet" id=\'cf_styles-ie-css\' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->\n<style type="text/css">body{margin:0;padding:0}</style>\n<!--[if lte IE 9]><script type="text/javascript" src="/cdn-cgi/scripts/jquery.min.js"></script><![endif]-->\n<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/zepto.min.js"></script><!--<![endif]-->\n<script type="text/javascript" src="/cdn-cgi/scripts/cf.common.js"></script>\n</head>\n<body>\n<div id="cf-wrapper">\n<div id="cf-error-details" class="cf-error-details-wrapper">\n<div class="cf-wrapper cf-error-overview">\n<h1>\n<span class="cf-error-type" data-translate="error">Error</span>\n<span class="cf-error-code">502</span>\n<small class="heading-ray-id">Ray ID: 370a83da8e2f1846 &bull; 2017-06-18 01:35:59 UTC</small>\n</h1>\n<h2 class="cf-subheadline" data-translate="error_desc">Bad gateway</h2>\n</div> \n<div class="cf-section cf-highlight cf-status-display">\n<div class="cf-wrapper">\n<div class="cf-columns cols-3">\n<div id="cf-browser-status" class="cf-column cf-status-item cf-browser-status ">\n<div class="cf-icon-error-container">\n<i class="cf-icon cf-icon-browser"></i>\n<i class="cf-icon-status cf-icon-ok"></i>\n</div>\n<span class="cf-status-desc" data-translate="browser_desc">You</span>\n<h3 class="cf-status-name" data-translate="browser_label">Browser</h3>\n<span class="cf-status-label" data-translate="browser_status_label">Working</span>\n</div>\n<div id="cf-cloudflare-status" class="cf-column cf-status-item cf-cloudflare-status ">\n<div class="cf-icon-error-container">\n<i class="cf-icon cf-icon-cloud"></i>\n<i class="cf-icon-status cf-icon-ok"></i>\n</div>\n<span class="cf-status-desc" data-translate="cloud_desc">Newark</span>\n<h3 class="cf-status-name" data-translate="cloud_label">Cloudflare</h3>\n<span class="cf-status-label" data-translate="cloud_status_label">Working</span>\n</div>\n<div id="cf-host-status" class="cf-column cf-status-item cf-host-status cf-error-source">\n<div class="cf-icon-error-container">\n<i class="cf-icon cf-icon-server"></i>\n<i class="cf-icon-status cf-icon-error"></i>\n</div>\n<span class="cf-status-desc" data-translate="server_desc">gdn.jamy.be</span>\n<h3 class="cf-status-name" data-translate="server_label">Host</h3>\n<span class="cf-status-label" data-translate="server_status_label">Error</span>\n</div>\n</div>\n</div>\n</div> \n<div class="cf-section cf-wrapper">\n<div class="cf-columns two">\n<div class="cf-column">\n<h2 data-translate="what_happened">What happened?</h2>\n<p>The web server reported a bad gateway error.</p>\n</div>\n<div class="cf-column">\n<h2 data-translate="what_can_i_do">What can I do?</h2>\n<p data-translate="try_again_in_a_few">Please try again in a few minutes.</p>\n</div>\n</div>\n</div> \n<div class="cf-error-footer cf-wrapper">\n<p>\n<span class="cf-footer-item">Cloudflare Ray ID: <strong>370a83da8e2f1846</strong></span>\n<span class="cf-footer-separator">&bull;</span>\n<span class="cf-footer-item"><span data-translate="your_ip">Your IP</span>: 68.194.6.10</span>\n<span class="cf-footer-separator">&bull;</span>\n<span class="cf-footer-item"><span data-translate="performance_security_by">Performance &amp; security by</span> <a data-orig-proto="https" data-orig-ref="www.cloudflare.com/5xx-error-landing?utm_source=error_footer" id="brand_link" target="_blank">Cloudflare</a></span>\n</p>\n</div> \n</div> \n</div> \n' } }`

Steps to Reproduce (for bugs)

  1. Create a server
  2. Open it to install "mod"
  3. Select to install latest vanilla version

Context

I want to create a server

Your Environment

ryan77627 commented 7 years ago

Sorry the formatting is a mess, I don't submit issues to github often, if anyone is able to fix it, I would appreciate it. If not, I hope it is understandable.