php - Send mail with Iron IO Laravel 4 -
i use command:
php artisan queue:subscribe laravel http://your-site-url/queue/push
and error:
[http_exception] http error: 0 | ssl certificate problem. verify ca cert ok. details:
error:14090086:ssl routines:ssl3_get_server_certificate:certificate verify failed. failed queue:subscribe [--type[="... "]] queue url
i sign @ iron.io , add project_id, token , default key driver iron in app/config/queue.php
this ironio problem, circumvent on laravel can add app/start/global.php
file:
queue::connection()->getiron()->ssl_verifypeer = false;
look @ vendor\iron-io\iron_mq readme:
troubleshooting http error: 0 if see `uncaught exception 'http_exception' message 'http error: 0 | '` caused misconfigured curl https sertificates. there 2 ways fix error: 1. disable ssl sertificate verification - add line after ironmq initialization: `$ironmq->ssl_verifypeer = false;` 2. switch http protocol - add configuration options: `protocol = http` , `port = 80`
also, can manually subscribe url directly in ironmq web admin page:
1. go https://hud.iron.io/dashboard 2. on projects, click in tue mq button of project 3. select "queues" tab 4. click on queue name, must same subscribed using command "artisan queue:subscribe" 5. in "push information" box, check if queue push type set "multicast". 6. add url in "subscribers" box.
Comments
Post a Comment