Moving posts returns 502 bad gateway

performance

(Anton) #1

I’m trying to move ~100 posts to an existing topic.

After a delay of about 10 seconds, it says there was an error when moving posts in a green alert area:

No new entries in /logs

No useful information in console either:

What can be wrong and where to look for the error?


(Sam Saffron) #2

Yeah, what this probably means is that you tried to get Discourse to do so much work it had to time out the web worker (which happens after 30 seconds)

We should fix the underlying issue here, moving 100 posts really should not take that long and we can defer a bunch of the work.


Marking this as a performance #bug


(Anton) #3

For now, the work-around would be to move by small portions?


(Sam Saffron) #4

Yes, absolutely. Your server is stretched anyway from what I can tell.