Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File browser fails intermittently #10

Closed
blahah opened this issue Feb 21, 2016 · 1 comment
Closed

File browser fails intermittently #10

blahah opened this issue Feb 21, 2016 · 1 comment

Comments

@blahah
Copy link
Collaborator

blahah commented Feb 21, 2016

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.

@blahah
Copy link
Collaborator Author

blahah commented May 10, 2017

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

@blahah blahah closed this as completed May 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant