java.net.UnknownHostException: linux-suse.site: linux-suse.site: Name or service not known

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts

Solutions on the web

via Eclipse Bugzilla by carmich, 1 year ago
linux-suse.site: linux-suse.site: Name or service not known
via eclipse.org by Unknown author, 1 year ago
linux-suse.site: linux-suse.site: Name or service not known
via codegur.net by Unknown author, 1 year ago
amrit-Latitude-E5450: amrit-Latitude-E5450: Name or service not known
via Stack Overflow by Chris Maes
, 2 years ago
chmalap.site: chmalap.site: Name or service not known
via mathworks.com by Unknown author, 11 months ago
(none): (none): Name or service not known
java.net.UnknownHostException: linux-suse.site: linux-suse.site: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
at org.eclipse.rse.core.RSECorePlugin.getLocalMachineName(RSECorePlugin.java:265)
at org.eclipse.rse.core.RSEPreferencesManager.getDefaultPrivateSystemProfileName(RSEPreferencesManager.java:358)
at org.eclipse.rse.core.RSEPreferencesManager.initDefaults(RSEPreferencesManager.java:337)
at org.eclipse.rse.internal.core.RSEPreferenceInitializer.initializeDefaultPreferences(RSEPreferenceInitializer.java:23)
at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.runInitializer(PreferenceServiceRegistryHelper.java:303)
at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:131)
at org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(PreferencesService.java:368)
at org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(DefaultPreferences.java:221)
at org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreferences.java:274)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:409)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:670)
at org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.getDefaultPreferences(PreferenceForwarder.java:131)
at org.eclipse.rse.logging.Logger.initialize(Logger.java:249)
at org.eclipse.rse.logging.Logger.(Logger.java:135)
at org.eclipse.rse.logging.LoggerFactory.getLogger(LoggerFactory.java:45)
at org.eclipse.rse.core.RSECorePlugin.getLogger(RSECorePlugin.java:392)
at org.eclipse.rse.internal.core.RSEInitJob.(RSEInitJob.java:133)
at org.eclipse.rse.internal.core.RSEInitJob.(RSEInitJob.java:65)
at org.eclipse.rse.core.RSECorePlugin.waitForInitCompletion(RSECorePlugin.java:142)
at org.eclipse.rse.internal.ui.RSEUIInitJob.run(RSEUIInitJob.java:32)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 3 months ago
2 times, 11 months ago
76 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.