Strange intermittent UnknownHostException being thrown by Java Kit API

Hi I've got a really strange issue with the Java Kit io.prismic:java-kit:1.6.3.

We have one page on our site (Plan with grace - Plan with Grace) which works perfectly most of the time but every now and then it throws the following:

Caused by:

I know what UnkownHostException is and I've double checked that it's correct and when I change content on the prismic backend it's changing on the home page so I know that the config is correct. My only conclusion is that it's a problem on Prismics side but that's also odd because I have other applications running and not exhibiting this issue. Could it be this particular repository?

Any idea as to what might be causing this?

Thanks in advance

Hi Simon,

Welcome to the Prismic community,

I will try to debug this issue with you, first I've checked our logs and I didn't find any errors related to this repository.

For me, it seems to be an issue on your side, but I will try to investigate further with you.

such an error can be due to a DNS issue on your server or some sort of another network issue.

Here are some resources that can be relevant

Please let us know if you need any further assistance,