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

[Bug]: Timeout errors when sending emails, syncing Pterodactyl/servers #1022

Open
Huguitis opened this issue Nov 11, 2024 · 4 comments
Open
Labels
Bug / Fix Something isn't working and may need a fix High Priority Critical. Act quickly for resolution

Comments

@Huguitis
Copy link

Huguitis commented Nov 11, 2024

What is your request about?

When sending a lot of emails, the server takes so much to process the request and returns a timeout error. This also happens with Pterodactyl Sync and server sync when the API takes longer than expected.

Branch

main

Solution idea

Don't await this kind of tasks.

Ctrlpanel Logs

https://ptero.co/ihayofuqup

Additional Info

image

@S0ly S0ly added Bug / Fix Something isn't working and may need a fix High Priority Critical. Act quickly for resolution labels Nov 11, 2024
@lezetho
Copy link

lezetho commented Nov 22, 2024

Unfortunately this is common when there's a large amount of users that ctrlpanel has to email. What I would suggest the dev team to do is either increase the timeout or redirect them back, tell them it's sending, and send the emails in the background.

@SuperEvilLuke
Copy link

As a temporary fix you could edit the following line to increase the timeout:

public $Timeout = 300;

@MrWeez
Copy link
Collaborator

MrWeez commented Nov 22, 2024

As a temporary fix you could edit the following line to increase the timeout:

public $Timeout = 300;

This file is responsible for sending emails only during web installation (/install page) and is not related to sending emails in Laravel

@SuperEvilLuke
Copy link

ah darn, mb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug / Fix Something isn't working and may need a fix High Priority Critical. Act quickly for resolution
Projects
None yet
Development

No branches or pull requests

5 participants