Unexpected "HostUnreachable" error

I’m trying to call an API on a url that seems to be correctly resolved by DNS but can’t be accessed by Yaak for some unknown reason with this error message:

error sending request → reqwest::Error { kind: Request, source: hyper_util::client::legacy::Error(Connect, ConnectError("tcp connect error", 192.168.1.1:443, Os { code: 65, kind: HostUnreachable, message: "No route to host" })) }

The request is a simple POST to a “local” URL like https://mydomain.dev/api which resolves to 192.168.1.1 via DNS. The resolve part works like shown in the error, it gets the IP address correctly, but then shows this error.

The same request works correctly using curl -X POST https://mydomain.dev/api

What is going on with Yaak?

Please authenticate to join the conversation.

Upvoters
Status

Needs Triage

Board

Feedback

Tags

Bug

Date

10 months ago

Author

Gregory ORIOL

Subscribe to post

Get notified by email when there are changes.