~sircmpwn/todo.sr.ht#261: 
Attempt to delete tracker results in "502 Bad Gateway" error and the tracker isn't deleted

As discussed here:

When trying to delete the tracker https://todo.sr.ht/~sschwarzer/ftputil-test1 from the tracker's settings, the tracker isn't deleted. Instead, I get an nginx error page "502 Bad Gateway" after about 30 seconds.

Status
RESOLVED FIXED
Submitter
~sschwarzer
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
No labels applied.

~sschwarzer 2 years ago

The above tracker that failed to delete contains 149 tickets.

I tried importing and deleting subsets of these tickets:

  • When importing the first 50 tickets, deleting them takes about 20 seconds.
  • When importing the first 60 tickets, deleting them takes about 25 seconds.
  • When importing the first 70 tickets, deleting them fails when running into the timeout after about 30 seconds.

So it seems that some timeout is set to a too small value to be able to delete larger trackers. (Although 70 tickets isn't really large in my opinion.)


To possibly get the tracker deleted, I tried a workaround of importing a tracker with fewer tickets "over" one with more tickets, but that failed. There was no error message, but I also didn't get the message about an import being in progress and deleting the tracker still failed. See also #260 .

~sschwarzer 2 years ago

It seems the fix for ticket #266 also fixes this bug. Deleting a tracker with 149 tickets with the web interface is fast now (taking about a second).

~sircmpwn REPORTED FIXED 2 years ago

Register here or Log in to comment, or comment via email.