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

Getting a Server Error 500 when cancelling a task #266

Open
MichaelClerx opened this issue Jun 29, 2020 · 1 comment
Open

Getting a Server Error 500 when cancelling a task #266

MichaelClerx opened this issue Jun 29, 2020 · 1 comment

Comments

@MichaelClerx
Copy link
Contributor

https://scrambler.cs.ox.ac.uk/experiments/tasks

could be that it's already cancelled, everything's very slow just now. Either way, should be a better message (or just an ignore, if what I want is already done)

@jonc125
Copy link
Contributor

jonc125 commented Dec 4, 2020

I've just got a 504 Gateway Timeout trying to cancel a large number of tasks. The logs show:

Dec 04 09:18:55 scrambler weblab[176643]: Fri Dec  4 09:18:55 2020 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /experiments/tasks !!!
Dec 04 09:18:55 scrambler weblab[176643]: Fri Dec  4 09:18:55 2020 - uwsgi_response_write_headers_do(): Broken pipe [core/writer.c line 238] during POST /experiments/tasks
Dec 04 09:18:55 scrambler weblab[176643]: OSError: write error
Dec 04 09:18:55 scrambler weblab[176643]: [pid: 176876|app: 0|req: 53/323] () {54 vars in 1205 bytes} [Fri Dec  4 09:17:45 2020] POST /experiments/tasks => generated 0 bytes in 70404 msecs (HTTP/2.0 302) 5 headers in 0 bytes (1 switches on core 0)

Fixing this might require changing the approach so the form doesn't do a page submission but does a series of AJAX calls to cancel each experiment in turn, adding notifications to the page as they return?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants