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

504 error when deleting a channel #868

Open
mmuller opened this issue Apr 9, 2020 · 1 comment
Open

504 error when deleting a channel #868

mmuller opened this issue Apr 9, 2020 · 1 comment

Comments

@mmuller
Copy link

mmuller commented Apr 9, 2020

Found in version: d9a0609

Preconditions:

  • There is a channel Ch1.

Steps to reproduce:

  1. Navigate the Ch1 overview.
  2. Click on Delete this channel.

Obtained result:

  • A 504 error is thrown.
@matiasgarciaisaia
Copy link
Member

We believe one of the preconditions is to have a great number of CallLogs, either associated with this particular channel or in the system at all (we have to check which of both is true).

The :dependent => :nullify or :dependent => :destroy must be taking long enough that Rancher's proxy returns a 504 instead while Verboice keeps destroying stuff. We should probably move the channel deletion to a asynchronous job.

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

2 participants