Project is loading forever

#1

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.

#2

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

#3

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

#4

Do you mind if I take a look at it?

#5

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

#7

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"}
#8

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

#9

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.

#10

the problem is fixed.
thank you.

#11

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