Vipin Kumar
Vipin Kumar

Reputation: 43

laravel snaapy This site can’t be reached?

I'm using laravel-snappy tool for pdf making. its all working fine but suddenly. its throwing ```

    This site can’t be reached
    The webpage at https://gpschool.dev/acadmic/2/t_c_print might be temporarilydown or it may have moved permanently to a new web address. ERR_INVALID_RESPONSE

my laravel config for snappy.php

return array(

'pdf' => array(
    'enabled' => true,
    'binary'  => '"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe"',
    'timeout' => false,
    'options' => array(),
    'env'     => array(),
),
'image' => array(
    'enabled' => true,
    'binary'  => '"C:\Program Files\wkhtmltopdf\bin\wkhtmltoimage.exe"',
    'timeout' => false,
    'options' => array(),
    'env'     => array(),
),

); ``` i don't know what happened. thanks

Upvotes: 1

Views: 1196

Answers (2)

Ajay Namdev
Ajay Namdev

Reputation: 81

it might be because of ssl don't use any secure script or css use only non ssl

Upvotes: 0

Muhammad Kamal
Muhammad Kamal

Reputation: 344

I just recently having this trouble and fix the pr,

for me when I tried to open the 'wkhtmltoimage.exe' it throw missing .dll, so I just install the missing .dll using microsoft visual c++ 2013.

Hope it helps

Upvotes: 0

Related Questions