Skip to content

UnknownHostException when using Credential Hostname with path #31

@Irfanovic

Description

@Irfanovic

Hello,

I am using the SDK for uploading to netstorage through an API Manager with an URL such as this one:

devUrl.apim.company.com/netstorage

( The APIM is configured to redirect to an akamai URL(myhostname.akamaihd.net). )
This URL is used as the hostname when constructing the Credential object, however it seems like the path(/netstorage) is kept when calling Netstorage, since I am getting UnknownHostExceptions.
Directly calling the HTTP API without the SDK with the above URL works without any issues.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions