PDFs not attched to emails using local phantomjs

Hey there, so I finally managed to disable https for my IN host. This is the error message i get (using local phantomjs 2.1.1):
laravel-error.log
[2018-04-03 08:40:53] production.ERROR: PhantomJS - Invalid response http://www.ninja.test/view/83urx5vfokh73w3ya5bf1os6boxgtqzr?phantomjs=true&phantomjs_secret=: {"context":"PHP","user_id":1,"account_id":1,"user_name":"first_name last_name","method":"PUT","url":"http://192.168.178.101/quotes/47","previous":"http://192.168.178.101/quotes/47/edit","user_agent":"Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0","ip":"192.168.178.26","count":1,"is_console":"no","is_api":"no","db_server":"mysql"} []

phantomjs test.pjs

\n{
    "contentType": null,
    "headers": [],
    "id": 1,
    "redirectURL": null,
    "stage": "end",
    "status": null,
    "statusText": null,
    "time": "2018-04-03T08:57:48.608Z",
    "url": "http://www.ninja.test/view/83urx5vfokh73w3ya5bf1os6boxgtqzr?phantomjs=true&phantomjs_secret=:",
    "console": []

Does the URL work if you view it in an incognito browser, you should see the PDF as a base64 text string.

Are you using ninja.test as the domain for your app? You may need to set your URL in the .env file.

Well, now i’m feeling silly, didn’t notice the app url issue, that fixed it. Thanks for the help.

Sorry I didn’t spot it earlier, happy to hear it’s working!