Skip to content

RPC host fails name resolution if it contains a path #246

Open
@matt-allan

Description

@matt-allan

Hello,

I'm trying to use a RPC host at rpcpool.com with a URL that looks like this: my-subdomain.rpcpool.com/some-path

When I pass that URL as the rpc host with the -r flag, the pythd daemon fails with the following error:

pythd: failed to resolve host

I traced the source code and confirmed that getaddrinfo is being called with the entire URL and not just the hostname, which is where it's failing.

I'm guessing this is the same underlying issue as #93 but it's hard to tell since they didn't mention where it's failing for them.

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