Skip to content

Mistakenly using https on outbound HTTP request results in hard-to-debug error #721

@itowlson

Description

@itowlson

I sent an outbound HTTP request to https://localhost:3001/ when I meant to write http://localhost:3001/. It failed with just RequestError. There was nothing in the error or in Spin logs. In the end I had to hack a println! into the Spin source to figure out what was going on. This is a suboptimal diagnostic experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghttpwit-breaking-changeRequires a breaking change to a Wasm interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions