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

Failed jobs requeue and fail again #1709

Closed
malgrauk opened this issue Feb 5, 2022 · 6 comments
Closed

Failed jobs requeue and fail again #1709

malgrauk opened this issue Feb 5, 2022 · 6 comments

Comments

@malgrauk
Copy link

malgrauk commented Feb 5, 2022

Anyone else finding that there's random 'failed jobs' which when 'retry' they are queued and fail again?

image

I've checked the log for the queue but it provides minimal information - we're concerned that we have to regularly keep checking the admin as occasionally customer replies are falling into here.

image

@megaerki
Copy link

megaerki commented Feb 7, 2022

I seem to have the same issue.

Webhooks failing. Emails seem to be going out.

Logs from the server talk about Zttp.

[2022-02-07 21:10:55] production.ERROR: Class 'Zttp\Zttp' not found {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class 'Zttp\Zttp' not found at /var/www/html/freescout/Modules/ApiWebhooks/Entities/Webhook.php:57)
[stacktrace]
#0 /var/www/html/freescout/Modules/ApiWebhooks/Providers/ApiWebhooksServiceProvider.php(173): Modules\ApiWebhooks\Entities\Webhook->run('convo.customer....', Object(App\Conversation))
#1 [internal function]: Modules\ApiWebhooks\Providers\ApiWebhooksServiceProvider->Modules\ApiWebhooks\Providers\{closure}(Object(Modules\ApiWebhooks\Entities\Webhook), 'convo.customer....', Object(App\Conversation))
#2 /var/www/html/freescout/overrides/tormjens/eventy/src/Action.php(27): call_user_func_array(Object(Closure), Array)
#3 /var/www/html/freescout/overrides/laravel/framework/src/Illuminate/Support/Collection.php(339): TorMorten\Eventy\Action->TorMorten\Eventy\{closure}(Array, 0)
#4 /var/www/html/freescout/overrides/tormjens/eventy/src/Action.php(28): Illuminate\Support\Collection->each(Object(Closure))
#5 /var/www/html/freescout/vendor/tormjens/eventy/src/Events.php(139): TorMorten\Eventy\Action->fire('webhook.run', Array)

@freescout-helpdesk
Copy link
Contributor

I seem to have the same issue.

Webhooks failing. Emails seem to be going out.

Logs from the server talk about Zttp.

[2022-02-07 21:10:55] production.ERROR: Class 'Zttp\Zttp' not found {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class 'Zttp\Zttp' not found at /var/www/html/freescout/Modules/ApiWebhooks/Entities/Webhook.php:57) [stacktrace] #0 /var/www/html/freescout/Modules/ApiWebhooks/Providers/ApiWebhooksServiceProvider.php(173): Modules\ApiWebhooks\Entities\Webhook->run('convo.customer....', Object(App\Conversation)) #1 [internal function]: Modules\ApiWebhooks\Providers\ApiWebhooksServiceProvider->Modules\ApiWebhooks\Providers{closure}(Object(Modules\ApiWebhooks\Entities\Webhook), 'convo.customer....', Object(App\Conversation)) #2 /var/www/html/freescout/overrides/tormjens/eventy/src/Action.php(27): call_user_func_array(Object(Closure), Array) #3 /var/www/html/freescout/overrides/laravel/framework/src/Illuminate/Support/Collection.php(339): TorMorten\Eventy\Action->TorMorten\Eventy{closure}(Array, 0) #4 /var/www/html/freescout/overrides/tormjens/eventy/src/Action.php(28): Illuminate\Support\Collection->each(Object(Closure)) #5 /var/www/html/freescout/vendor/tormjens/eventy/src/Events.php(139): TorMorten\Eventy\Action->fire('webhook.run', Array)

Fixed in API & Webhooks Module v1.0.32

@malgrauk
Copy link
Author

malgrauk commented Feb 8, 2022

This is still showing failing actions - I've disabled both API and Slack modules and it has not failed since, not sure if there is a log somewhere to track what is happening or more detail to try and debug?

@freescout-helpdesk
Copy link
Contributor

Check laravel log in App > Logs

@malgrauk
Copy link
Author

malgrauk commented Feb 8, 2022

Would appear for us it's Slack where the issue is.. will check more logs

image

@freescout-helpdesk
Copy link
Contributor

Fixed in Slack Module v1.0.9

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

3 participants