Project is loading forever

so, i’m the developer of koleotank-arrasio-master2.glitch.me and for some reason the project code is loading forever and i don’t know what to do.
(by that i mean that it’s displaying the “Fetching Project…” thing)

please help.

Hi Koleotank, do you see any messages in the logs? Here is how to access the logs:

Sorry but no.
it’s been fetching for like a few hours already.

Do you mind if I take a look at it?

i don’t mind, but then again, not even the link for inviting someone else is generating.

So it appears it is caught in a restart loop. I’m not quite sure why yet. Something to try is if you feel comfortable, editing the package.json on the console to change the start command. It looks like it is starting, something fails, and then the whole server restarts. I was able to access these logs:

{"process":"signal","timestamp":1554489288027,"text":"restart"}
{"process":"signal","timestamp":1554489288078,"text":"Node 8"}
{"process":"signal","timestamp":1554489299303,"text":"listening"}
{"process":"application","stream":"stdout","timestamp":1554489289948,"text":"[18:34:49] Using gulpfile ~/gulpfile.js"}
{"process":"application","stream":"stdout","timestamp":1554489289950,"text":"[18:34:49] Starting 'clear-bin'..."}
{"process":"application","stream":"stdout","timestamp":1554489289958,"text":"[18:34:49] Finished 'clear-bin' after 6.85 ms"}
{"process":"application","stream":"stdout","timestamp":1554489289959,"text":"[18:34:49] Starting 'move-client'..."}
{"process":"application","stream":"stdout","timestamp":1554489289983,"text":"[18:34:49] Starting 'build-server'..."}
{"process":"application","stream":"stdout","timestamp":1554489290008,"text":"[18:34:50] Finished 'move-client' after 49 ms"}
{"process":"application","stream":"stdout","timestamp":1554489290008,"text":"[18:34:50] Starting 'compile-client'..."}
{"process":"application","stream":"stdout","timestamp":1554489290703,"text":"[18:34:50] Finished 'build-server' after 719 ms"}
{"process":"application","stream":"stdout","timestamp":1554489294157,"text":"[18:34:54] Version: webpack 1.15.0"}
{"process":"application","stream":"stdout","timestamp":1554489294158,"text":" Asset Size Chunks Chunk Names"}
{"process":"application","stream":"stdout","timestamp":1554489294158,"text":"app.js 138 kB 0 [emitted] main"}
{"process":"application","stream":"stdout","timestamp":1554489294175,"text":"[18:34:54] Finished 'compile-client' after 4.16 s"}
{"process":"application","stream":"stdout","timestamp":1554489294175,"text":"[18:34:54] Starting 'rev-rename'..."}
{"process":"application","stream":"stdout","timestamp":1554489294227,"text":"[18:34:54] Finished 'rev-rename' after 50 ms"}
{"process":"application","stream":"stdout","timestamp":1554489294227,"text":"[18:34:54] Starting 'rev-replace'..."}
{"process":"application","stream":"stdout","timestamp":1554489294227,"text":"[18:34:54] Starting 'rev-clean'..."}
{"process":"application","stream":"stdout","timestamp":1554489294238,"text":"[18:34:54] Finished 'rev-clean' after 9.95 ms"}
{"process":"application","stream":"stdout","timestamp":1554489294266,"text":"[18:34:54] Finished 'rev-replace' after 40 ms"}
{"process":"application","stream":"stdout","timestamp":1554489294266,"text":"[18:34:54] Starting 'build-client'..."}
{"process":"application","stream":"stdout","timestamp":1554489294266,"text":"[18:34:54] Finished 'build-client' after 74 μs"}
{"process":"application","stream":"stdout","timestamp":1554489294266,"text":"[18:34:54] Starting 'build'..."}
{"process":"application","stream":"stdout","timestamp":1554489294266,"text":"[18:34:54] Finished 'build' after 3.29 μs"}
{"process":"application","stream":"stdout","timestamp":1554489294266,"text":"[18:34:54] Starting 'run'..."}
{"process":"application","stream":"stdout","timestamp":1554489294474,"text":"[18:34:54] Finished 'run' after 208 ms"}
{"process":"application","stream":"stdout","timestamp":1554489294679,"text":"[\u001b[90m18:34:54\u001b[39m] \u001b[33m[nodemon] 1.17.5\u001b[39m"}
{"process":"application","stream":"stdout","timestamp":1554489294680,"text":"[\u001b[90m18:34:54\u001b[39m] \u001b[33m[nodemon] to restart at any time, enter `rs`\u001b[39m"}
{"process":"application","stream":"stdout","timestamp":1554489294680,"text":"[\u001b[90m18:34:54\u001b[39m] \u001b[33m[nodemon] watching: *.*\u001b[39m"}
{"process":"application","stream":"stdout","timestamp":1554489294680,"text":"[\u001b[90m18:34:54\u001b[39m] \u001b[33m[nodemon] starting `node arrasio/src/server/server.js config.json`\u001b[39m"}
{"process":"application","stream":"stdout","timestamp":1554489295531,"text":"[0.186]: 8000 x 4000 room initalized. Max food: 320, max nest food: 70.54530459215553."}
{"process":"application","stream":"stdout","timestamp":1554489297778,"text":"[2.434]: Preparing definition export."}
{"process":"application","stream":"stdout","timestamp":1554489297805,"text":"[2.461]: Mockups written to /app/arrasio/src/server/../client/json/mockups.json!"}
{"process":"application","stream":"stdout","timestamp":1554489297806,"text":"[2.463]: Building client version hash, reading from /app/arrasio/src/server/../client/js/app.js and /app/arrasio/src/server/lib/definitions.js..."}
{"process":"application","stream":"stdout","timestamp":1554489297813,"text":"[2.470]: Placing 0 obstacles!"}
{"process":"application","stream":"stdout","timestamp":1554489298137,"text":"[2.794]: Fri Apr 05 2019 18:34:58 GMT+0000 (UTC). Joint HTTP+Websocket server turned on, listening on port 8081."}
{"process":"application","stream":"stdout","timestamp":1554489298240,"text":"[2.897]: app.js complete."}
{"process":"application","stream":"stdout","timestamp":1554489298245,"text":"[2.900]: definitions.js complete."}
{"process":"application","stream":"stdout","timestamp":1554489298245,"text":"[2.902]: Client hash generated. Hash is \"72f0504c8e68331e3e69724edb9a0457d92a150c53d4da450f50804f4f65f9dd7252910bb6bd2c9e\"."}
{"process":"application","stream":"stdout","timestamp":1554489298246,"text":"[2.903]: Hash written to /app/arrasio/src/server/../client/api/vhash!"}
{"process":"application","stream":"stdout","timestamp":1554489298511,"text":""}
{"process":"application","stream":"stdout","timestamp":1554489298511,"text":"Bot ready!"}
{"process":"application","stream":"stdout","timestamp":1554489298511,"text":""}
{"process":"signal","timestamp":1554489299303,"text":""}
{"process":"application","stream":"stdout","timestamp":1554489489027,"text":"[193.683]: [WARNING] ~~ LOOPS: 13. ENTITY #: 489//32. VIEW #: 0. BACKLOGGED :: 143.077%! ~~"}
{"process":"application","stream":"stdout","timestamp":1554489489027,"text":"[193.684]: [WARNING] Total activation time: 23"}
{"process":"application","stream":"stdout","timestamp":1554489489027,"text":"[193.684]: [WARNING] Total collision time: 0"}
{"process":"application","stream":"stdout","timestamp":1554489489027,"text":"[193.684]: [WARNING] Total cycle time: 597"}
{"process":"application","stream":"stdout","timestamp":1554489489027,"text":"[193.684]: [WARNING] Total player update time: 0"}
{"process":"application","stream":"stdout","timestamp":1554489489027,"text":"[193.684]: [WARNING] Total lb+minimap processing time: 40"}
{"process":"application","stream":"stdout","timestamp":1554489489027,"text":"[193.684]: [WARNING] Total entity physics calculation time: 13"}
{"process":"application","stream":"stdout","timestamp":1554489489027,"text":"[193.684]: [WARNING] Total entity life+thought cycle time: 560"}
{"process":"application","stream":"stdout","timestamp":1554489489027,"text":"[193.684]: [WARNING] Total entity selfie-taking time: 1"}
{"process":"application","stream":"stdout","timestamp":1554489489027,"text":"[193.684]: [WARNING] Total time: 1234"}
{"process":"application","stream":"stdout","timestamp":1554489496968,"text":"[201.625]: [WARNING] ~~ LOOPS: 15. ENTITY #: 489//26. VIEW #: 0. BACKLOGGED :: 1476.800%! ~~"}
{"process":"application","stream":"stdout","timestamp":1554489496968,"text":"[201.625]: [WARNING] Total activation time: 25"}
{"process":"application","stream":"stdout","timestamp":1554489496969,"text":"[201.625]: [WARNING] Total collision time: 0"}
{"process":"application","stream":"stdout","timestamp":1554489496969,"text":"[201.626]: [WARNING] Total cycle time: 7359"}
{"process":"application","stream":"stdout","timestamp":1554489496969,"text":"[201.626]: [WARNING] Total player update time: 0"}
{"process":"application","stream":"stdout","timestamp":1554489496969,"text":"[201.626]: [WARNING] Total lb+minimap processing time: 30"}
{"process":"application","stream":"stdout","timestamp":1554489496969,"text":"[201.626]: [WARNING] Total entity physics calculation time: 15"}
{"process":"application","stream":"stdout","timestamp":1554489496969,"text":"[201.626]: [WARNING] Total entity life+thought cycle time: 7306"}
{"process":"application","stream":"stdout","timestamp":1554489496969,"text":"[201.626]: [WARNING] Total entity selfie-taking time: 1"}
{"process":"application","stream":"stdout","timestamp":1554489496969,"text":"[201.626]: [WARNING] Total time: 14736"}
{"process":"application","stream":"stdout","timestamp":1554489619150,"text":"[323.807]: [WARNING] ~~ LOOPS: 17. ENTITY #: 490//29. VIEW #: 0. BACKLOGGED :: 21451.941%! ~~"}
{"process":"application","stream":"stdout","timestamp":1554489619150,"text":"[323.807]: [WARNING] Total activation time: 114"}
{"process":"application","stream":"stdout","timestamp":1554489619150,"text":"[323.807]: [WARNING] Total collision time: 0"}
{"process":"application","stream":"stdout","timestamp":1554489619150,"text":"[323.807]: [WARNING] Total cycle time: 121447"}
{"process":"application","stream":"stdout","timestamp":1554489619150,"text":"[323.807]: [WARNING] Total player update time: 0"}
{"process":"application","stream":"stdout","timestamp":1554489619151,"text":"[323.807]: [WARNING] Total lb+minimap processing time: 65"}
{"process":"application","stream":"stdout","timestamp":1554489619151,"text":"[323.808]: [WARNING] Total entity physics calculation time: 27"}
{"process":"application","stream":"stdout","timestamp":1554489619152,"text":"[323.808]: [WARNING] Total entity life+thought cycle time: 121386"}
{"process":"application","stream":"stdout","timestamp":1554489619152,"text":"[323.809]: [WARNING] Total entity selfie-taking time: 3"}
{"process":"application","stream":"stdout","timestamp":1554489619152,"text":"[323.809]: [WARNING] Total time: 243042"}
{"process":"application","stream":"stdout","timestamp":1554491237454,"text":"[1942.111]: [WARNING] ~~ LOOPS: 17. ENTITY #: 490//29. VIEW #: 0. BACKLOGGED :: 285463.588%! ~~"}
{"process":"application","stream":"stdout","timestamp":1554491237454,"text":"[1942.111]: [WARNING] Total activation time: 34"}
{"process":"application","stream":"stdout","timestamp":1554491237454,"text":"[1942.111]: [WARNING] Total collision time: 0"}
{"process":"application","stream":"stdout","timestamp":1554491237454,"text":"[1942.111]: [WARNING] Total cycle time: 1617593"}
{"process":"application","stream":"stdout","timestamp":1554491237454,"text":"[1942.111]: [WARNING] Total player update time: 0"}
{"process":"application","stream":"stdout","timestamp":1554491237454,"text":"[1942.111]: [WARNING] Total lb+minimap processing time: 29"}
{"process":"application","stream":"stdout","timestamp":1554491237454,"text":"[1942.111]: [WARNING] Total entity physics calculation time: 29"}
{"process":"application","stream":"stdout","timestamp":1554491237454,"text":"[1942.111]: [WARNING] Total entity life+thought cycle time: 1617523"}
{"process":"application","stream":"stdout","timestamp":1554491237454,"text":"[1942.111]: [WARNING] Total entity selfie-taking time: 5"}
{"process":"application","stream":"stdout","timestamp":1554491237454,"text":"[1942.111]: [WARNING] Total time: 3235213"}
{"process":"signal","timestamp":1554489287995,"text":"app-type node"}
{"process":"signal","timestamp":1554489288027,"text":"restart"}
{"process":"signal","timestamp":1554489288078,"text":"Node 8"}
{"process":"signal","timestamp":1554489299303,"text":"listening"}

i don’t know how will i even fix the issue anymore. i don’t know how to edit package.json from the console.

Sorry about that Koleotank, I’m going to have @cori move you to a new host to see if that fixes it and he’ll help you with finding out how to get it working again.

the problem is fixed.
thank you.

Great to hear! Looks like the host change worked. We’ll look into it to see what happened.

Sorry im having this issue too. I check the debugger and there is ;

(node:5355) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 AM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

11:20 AM

(node:5355) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 AM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 AM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 AM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 AM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 AM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 AM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 AM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 8)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:20 AM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 9)

11:20 AM

Debugger attached.

11:20 AM

11:20 AM

(node:5355) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:1988

11:22 AM

at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1088:14)

11:22 AM

(node:5355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 10)

Hey @loxchatterbx, sorry for the bother. What’s the name of the project?

(If it’s a private project, we’ll need your permission to have a look at it.)