I experience the following error on one of my sites. The error is fairly generic, so I have little clue on what the problem actually is besides not being able to download the file.

Exception: Download of https://vejle.viggonet.dk/viggo/icalendar.asp?Viggo_id=46&user_id=1528&user_type=5&code=0788ed19e41c1eb71e47a79c75928e93212875e0 failed with code 0. i FeedsHTTPFetcherResult->getRaw() (linje 33 af /data/disk/o5189739716/static/vies-20140610/sites/all/modules/contrib/feeds/plugins/FeedsHTTPFetcher.inc).

I have another site running of the same exported feature of the fetcher on the same server, and that site works fine.

Comments

lsolesen’s picture

stdClass Object
(
    [url] => https://vejle.viggonet.dk/viggo/icalendar.asp?Viggo_id=46&user_id=298&user_type=5&code=8c9bd26b7c9b8822906965b461cf7a4037f5610c
    [status] => Done.
    [code] => 0
    [chunk_size] => 1024
    [data] => 
    [request] => GET /viggo/icalendar.asp?Viggo_id=46&user_id=298&user_type=5&code=8c9bd26b7c9b8822906965b461cf7a4037f5610c HTTP/1.0
User-Agent: Drupal (+http://drupal.org/)
Connection: close
Host: vejle.viggonet.dk


    [options] => Array
        (
            [headers] => Array
                (
                    [User-Agent] => Drupal (+http://drupal.org/)
                    [Connection] => close
                    [Host] => vejle.viggonet.dk
                )

            [timeout] => 799.23527288437
            [method] => GET
            [data] => 
            [max_redirects] => 3
            [dns_timeout] => 3
            [connect_timeout] => 3
            [ttfb_timeout] => 795
            [context] => 
            [secure_socket_transport] => ssl
            [blocking] => 1
            [version] => 1.0
            [referrer] => 
            [domain_connections] => 2
            [global_connections] => 128
            [global_timeout] => 850
            [chunk_size_read] => 32768
            [chunk_size_write] => 1024
            [async_connect] => 1
            [ping_db] => 20
        )

    [socket] => ssl://vejle.viggonet.dk:443
    [flags] => 6
    [uri] => Array
        (
            [scheme] => https
            [host] => vejle.viggonet.dk
            [path] => /viggo/icalendar.asp
            [query] => Viggo_id=46&user_id=298&user_type=5&code=8c9bd26b7c9b8822906965b461cf7a4037f5610c
        )

    [running_time] => 0.7647271156311
    [fp] => Resource id #31
    [bytes_sent] => 205
    [headers] => Array
        (
        )

)
twistor’s picture

Status: Active » Postponed (maintainer needs more info)

Just tested this, the file downloads fine on my box. Could be an SSL issue, or a cURL issue.

Can you try setting $conf['feeds_never_use_curl'] = TRUE; in your settings.php file?

lsolesen’s picture

@twistor - Hm. Still the same error - print_r($result) in plugins/FeedsHTTPFetcher.php

stdClass Object
(
    [url] => https://vejle.viggonet.dk/viggo/icalendar.asp?Viggo_id=46&user_id=298&user_type=5&code=8c9bd26b7c9b8822906965b461cf7a4037f5610c
    [status] => Done.
    [code] => 0
    [chunk_size] => 1024
    [data] => 
    [request] => GET /viggo/icalendar.asp?Viggo_id=46&user_id=298&user_type=5&code=8c9bd26b7c9b8822906965b461cf7a4037f5610c HTTP/1.0
User-Agent: Drupal (+http://drupal.org/)
Connection: close
Host: vejle.viggonet.dk


    [options] => Array
        (
            [headers] => Array
                (
                    [User-Agent] => Drupal (+http://drupal.org/)
                    [Connection] => close
                    [Host] => vejle.viggonet.dk
                )

            [timeout] => 799.21573090553
            [method] => GET
            [data] => 
            [max_redirects] => 3
            [dns_timeout] => 3
            [connect_timeout] => 3
            [ttfb_timeout] => 795
            [context] => 
            [secure_socket_transport] => ssl
            [blocking] => 1
            [version] => 1.0
            [referrer] => 
            [domain_connections] => 2
            [global_connections] => 128
            [global_timeout] => 850
            [chunk_size_read] => 32768
            [chunk_size_write] => 1024
            [async_connect] => 1
            [ping_db] => 20
        )

    [socket] => ssl://vejle.viggonet.dk:443
    [flags] => 6
    [uri] => Array
        (
            [scheme] => https
            [host] => vejle.viggonet.dk
            [path] => /viggo/icalendar.asp
            [query] => Viggo_id=46&user_id=298&user_type=5&code=8c9bd26b7c9b8822906965b461cf7a4037f5610c
        )

    [running_time] => 0.78426909446716
    [fp] => Resource id #308
    [bytes_sent] => 205
    [headers] => Array
        (
        )

)