Skip to content

Why rubinius is always cloned and failed? #19

@zhangysh1995

Description

@zhangysh1995

The errors:

zhangysh1995@ubuntu-zhangyushao:~$ crawld -c crawld.conf 
E0314 10:19:15.173304    6197 crawld.go:79] impossible to clone https://github.com/rubinius/rubinius.git in /var/crawld/c/rubinius/rubinius (network error) skipping
E0314 10:19:16.711802    6197 github.go:253] GET https://api.github.com/search/repositories?per_page=100&q=language%3Ac&sort=stars: 401 Bad credentials []
E0314 10:19:17.156407    6197 github.go:253] GET https://api.github.com/search/repositories?per_page=100&q=language%3Acpp&sort=stars: 401 Bad credentials []

After these two lines of information, the program is running but cannot see any outputs.

My configuration file:

Details
{
    "database": {
        "hostname": "localhost",
        "port": 5432,
        "username": "crawler",
        "password": "crawler",
        "dbname": "crawler",
        "ssl_mode": "disable"
    },
    "clone_dir": "/var/crawld",
    "crawling_time_interval": "1h",
    "fetch_time_interval": "5m",
    "fetch_languages": [
        "c",
        "cpp"
    ],
    "tar_repositories": false,
    "tmp_dir": "/ramdisk",
    "tmp_dir_file_size_limit": 2.0,
    "max_fetcher_workers": 2,
    "throttler_wait_time": 900,
    "throttler_sliding_window_size": 60,
    "throttler_leak_interval": 1000,
    "crawlers": [
        {
            "type": "github",
            "languages": [
                "c",
                "cpp"
            ],
            "limit": 0,
            "since_id": 0,
            "fork": false,
            "oauth_access_token": "token here",
            "use_search_api": true 
        }
    ]
}

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