OpenLiberty/guide-microprofile-rest-client

[err] The specified host is unknown

jakub-pomykala opened this issue · 3 comments

In the "Testing the application" section, After creating the RestClientIT.java when running the tests in dev mode it comes back with :
[INFO] [WARNING ] Interceptor for {http://client.inventory.guides.openliberty.io/}SystemClient has thrown exception, unwinding now
[INFO] Could not send Message.
[INFO] [err] The specified host is unknown.

Screenshot bellow:

image

Seems to be similar issue to this one

Error "The specified host is unknown" is printed whenever a request is made to a bad or unknown host name. This causes the test testUnknownHost in InventoryEndpointIT.java to trigger the message. Similar appears in https://github.com/OpenLiberty/guide-microprofile-config and probably other guides. Perhaps an alternate way to handle this is desired?

close

  • the issue was fixed