-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Reproducer
No response
Description
Hi,
I'm trying webhook configuration but it keep saying configuration not found, there is my code and yaml configuration :
public function gotenbergSymfonyBundleGenerateTwigAsyncPdf(GotenbergPdfInterface $gotenberg): Response
{
$this->stopwatch->start('webhook_generate_pdf', 'PDF');
$pdf = $gotenberg->html()
->webhookConfiguration('webhook_pdf_config')
->skipNetworkIdleEvent()
->content('pdf/gotenberg-template.html.twig')
->fileName('webhook_generated');
$pdf->generateAsync();
$this->stopwatch->stop('webhook_generate_pdf');
return new Response('Votre pdf est en cours de création');
}
sensiolabs_gotenberg.yaml
sensiolabs_gotenberg:
assets_directory: 'public'
http_client: 'gotenberg.client'
webhook:
webhook_pdf_config:
success:
url: "http://host.docker.internal:8500/gotenberg-bundle-webhook-success"
error:
url: "http://host.docker.internal:8500/gotenberg-bundle-webhook-error"
I guess i'm missing something obvious.
Gotenberg Version
8.25.0
Gotenberg Bundle Version
1.1.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working