Skip to content

'Curl "url" throws exception Failed to connect to localhost port 4894: Connection refused' #14

@maojindao55

Description

@maojindao55

use Openbuildings\Spiderling\Page;
use Openbuildings\Spiderling\Driver_Phantomjs;
$page = new Page(new Driver_Phantomjs);

PHP Fatal error:  Uncaught exception 'Openbuildings\Spiderling\Exception_Driver' with message 'Curl "url" throws exception Failed to connect to localhost port 4894: Connection refused' in /ROOT/www/github/spiderling/src/Openbuildings/Spiderling/Driver/Phantomjs/Connection.php:263
Stack trace:
#0 /ROOT/www/github/spiderling/src/Openbuildings/Spiderling/Driver/Phantomjs/Connection.php(209): Openbuildings\Spiderling\Driver_Phantomjs_Connection->call('url', Array)
#1 /ROOT/www/github/spiderling/src/Openbuildings/Spiderling/Driver/Phantomjs.php(281): Openbuildings\Spiderling\Driver_Phantomjs_Connection->post('url', Array)
#2 /ROOT/www/github/spiderling/src/Openbuildings/Spiderling/Page.php(33): Openbuildings\Spiderling\Driver_Phantomjs->visit('http://www.xiam...', Array)
#3 /ROOT/www/github/spiderling/apps/index.php(9): Openbuildings\Spiderling\Page->visit('http://www.xiam...')
#4 {main}
  thrown in /ROOT/www/github/spiderling/src/Openbuildings/Spiderling/Driver/Phantomjs/Connection.php on line 263

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions