Questions tagged [unknown-host]

An unknown host is an error message that generates when a destination computer or host server name cannot be resolved. The message indicates that the user's provided host server name does not exist or match any Domain Name System (DNS) records. The unknown host message is common when a user tries to connect to a remote host. The error occurs for a number of reasons, including underlying configuration, server unavailability or incorrect host name.

Unknown Host Definition - What does Unknown Host mean?

An unknown host is an error message that generates when a destination computer or host server name cannot be resolved. The message indicates that the user's provided host server name does not exist or match any Domain Name System (DNS) records.

The unknown host message is common when a user tries to connect to a remote host. The error occurs for a number of reasons, including underlying configuration, server unavailability or incorrect host name. Stop Ransomware Mid-Flight Techopedia explains Unknown Host

An unknown host message is generated when a user attempts to ping a host name without a configured DNS resolution. If the ping is unsuccessful, the user should verify that the ping was sent to the correct remote host address. If so, the user should verify DNS name resolution, configuration and Windows Internet Naming Service (WINS) availability.

Commands are often used to deduce the root cause of an issue. For example, the "nslookup" command tests host name resolution and verifies DNS server registration. This command usually follows testing a computer's Fully Qualified Domain Name (FQDN) host name resolution, where the computer's Internet Protocol (IP) address is located and verified.

Source Link: https://www.techopedia.com/definition/1882/unknown-host

142 questions
1
vote
2 answers

Getting unknown host exception in jmeter

I have been testing HTTP request for the URL: www.google.com and getting unknown host error in jmeter.
Durairaj s
  • 193
  • 3
  • 13
1
vote
2 answers

Unhandled Exception, but try catch blocks doesn't seem to do what I think it should

I'm working on connecting to an IRC server currently, and I'm getting an error thrown saying "Error:(20, 16) java: unreported exception java.io.IOException; must be caught or declared to be thrown" public connection(String host, int port){ …
1
vote
1 answer

file permission errors with all containers on docker host

I have a a few images a tibco , weblogic & spring boot etc that suddenly started failing on some of our linux server after a patching cycle because they cant determine the hostname of the container. I have a docker swarm with one master and one…
1
vote
2 answers

unknown host when lookup pod by name, resolved with pod restart

I have an installer that spins up two pods in my CI flow, let's call them web and activemq. When the web pod starts it tries to communicate with the activemq pod using the k8s assigned amq-deployment-0.activemq pod name. Randomly, the web will get…
Chris
  • 437
  • 5
  • 7
1
vote
0 answers

IOException: Unable to resolve host "URL": No address associated with hostname

I am working on an android application. When I run the application on Sony mobile, it runs very well. When I use Huawei mobiles, it doesn't work, and is giving me this exception: IOException: Unable to resolve host "URL": No address associated with…
Ahmed.Ouda
  • 33
  • 1
  • 1
  • 6
1
vote
1 answer

UnknownHostException on an IP Address

I have some code Running on Tomcat that connects to and FTP to download some files. The FTP works fine on the server where the Tomcat is running when I connect via command line. My code also works when running on my PC. However, when I run it on the…
manugarciac
  • 185
  • 1
  • 12
1
vote
0 answers

Android Intermittent UnknownHostException on Marshmallow when on VPN

I'm hitting API endpoints to retrieve data for an app. The app is only available in the US and I am not there, so I am using a VPN. I've tested on multiple physical devices and emulators and and I've been intermittently getting failures due to…
ninjachippie
  • 410
  • 1
  • 5
  • 14
1
vote
1 answer

java.net.UnknownHostException: smtps.aruba.it

I'm using javax.mail with a mail aruba account. On a windows and a centos7 machine everything works. But on another, specific, centos7 machine (under aruba server) tomcat7's console says: I saw every posts that google and stackoverflow suggests to…
frisk
  • 75
  • 1
  • 10
1
vote
1 answer

Docker machine can't access internal network (VPN)

First, networking is not my strong suit so I apologize if my questions sounds dumb to those of you with the knows. I'm running Ubuntu 16.04. I have a docker machine running postgres so that I can recreate a database easily for migrations. I need to…
medley56
  • 1,181
  • 1
  • 14
  • 29
1
vote
1 answer

ec2, pyspark: java.net.UnknownHostException Name or service not known

I have set up the pyspark environment on AWS ec2 instance following this tutorial However, when I simply test sc = SparkContext.getOrCreate() it keeps giving the error as follow: I use 54.255.207.212 to connect my ec2, and after log in, the…
Christie Chen
  • 185
  • 1
  • 5
  • 15
1
vote
0 answers

Java UnknownHostException happening eventually in stable server

We have a Java 8 application that fetches data from social media APIs constantly and we keep getting java.net.UnknownHostException (ex: java.net.UnknownHostException: graph.facebook.com) eventually when accessing the URLs. That happens…
vitorrrr
  • 70
  • 7
1
vote
0 answers

JAVA JSCH does not understan record format from known_host file

I don't know how this works so I came here for help. I use JSCH java library to ssh from one machine to another. My program fails indicating unknown host error. However the entry is in the known_host file. I noticed that JSCH does not understand…
Alex
  • 1,054
  • 6
  • 25
  • 42
1
vote
0 answers

Unable to access website using java application when on VPN

From my java program I'm connecting to a website using Jsoup.connect method. All works well till I connect to VPN to go on my company network. When I connect to VPN, I am still able to access website using browser but my java program can not connect…
Sachin
  • 449
  • 2
  • 9
  • 27
1
vote
1 answer

Jsoup catchdata appear unknowhost exception ,and can`t ping the website ,but my web browser can visit

Jsoup catch data appear unknowhost exception ,and can`t ping the website ,but my web browser can visit I try change the userAgent,but it doesn`t work! Here are the userAgent before: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36…
xiaocainiao
  • 33
  • 1
  • 5