Closed blahah closed 7 years ago
There are long windows of time during which if I start a new session, the file browser doesn't work.
Console shows something like:
Failed to load resource: net::ERR_EMPTY_RESPONSE bundle.js:167 Error: Error: Internal XMLHttpRequest Error(…)onerror @ bundle.js:167 http://46.101.11.144:8080/files/9thqidu2q1uivn29/
However, visiting the address manually gives a sensible JSON response:
[{"path":"/.bash_logout","mountPath":"/home/learner/.bash_logout","type":"file","size":220},{"path":"/.bashrc","mountPath":"/home/learner/.bashrc","type":"file","size":3366},{"path":"/.fs.err","mountPath":"/home/learner/.fs.err","type":"file","size":0},{"path":"/.fs.out","mountPath":"/home/learner/.fs.out","type":"file","size":72},{"path":"/.npm","mountPath":"/home/learner/.npm","type":"directory","size":4096},{"path":"/.nvm","mountPath":"/home/learner/.nvm","type":"directory","size":4096},{"path":"/.profile","mountPath":"/home/learner/.profile","type":"file","size":140},{"path":"/a_directory","mountPath":"/home/learner/a_directory","type":"directory","size":4096},{"path":"/another_directory","mountPath":"/home/learner/another_directory","type":"directory","size":4096}]
This suggests that perhaps the request is happening before the file server is setup.
this was actually solved in my fork of adventure-time ages ago, but I still need to make a clean PR to adventure-time itself
There are long windows of time during which if I start a new session, the file browser doesn't work.
Console shows something like:
However, visiting the address manually gives a sensible JSON response:
This suggests that perhaps the request is happening before the file server is setup.