Skip to content

error 503 without "Accept : */*" header #92

@michelelazzeri

Description

@michelelazzeri

Hi,

starting from 23 January 2018 at 17:30 UTC, node-apac stop to work in our backed. All requests return status "503 service unavailable". Comparing curl requests with node-apac requests we found the problem and fix it adding header Accept (lib/operation-helper.js line 93)

        var options = {
            hostname: host,
            path: uri,
            method: 'GET',
            headers: {
                Accept: '*/*'
            }
        }

Can anyone confirm this behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions