Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an unknown host acception, how to resolve this? #64

Open
GajenderI opened this issue Sep 3, 2024 · 2 comments
Open

Getting an unknown host acception, how to resolve this? #64

GajenderI opened this issue Sep 3, 2024 · 2 comments
Assignees

Comments

@GajenderI
Copy link

Getting an unknown host acceprtion, how to resolve this?

java.net.UnknownHostException: hiddenthename.COM: hiddenthename.COM: Hostname and service name not provided or found
at java.net.InetAddress.getLocalHost(InetAddress.java:1685)
at com.github.ibm.mapepire.certstuff.SelfSignedCertGenerator.generate(SelfSignedCertGenerator.java:24)
at com.github.ibm.mapepire.certstuff.ServerCertGetter.get(ServerCertGetter.java:102)
at com.github.ibm.mapepire.MapepireServer.main(MapepireServer.java:74)
Caused by: java.net.UnknownHostException: hiddenthename.COM: Hostname and service name not provided or found
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:1048)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1462)
at java.net.InetAddress.getLocalHost(InetAddress.java:1680)
... 3 more

@SanjulaGanepola SanjulaGanepola self-assigned this Sep 25, 2024
@SanjulaGanepola
Copy link
Member

Hello @GajenderI. Thank you for posting this issue. This problem is likely because it cannot resolve your host name. Can you use the CFGTCP command with option 10 and add the associated host name and IP address? Then try running the mapepire server again.

image

@william-xiang william-xiang mentioned this issue Oct 2, 2024
2 tasks
@ThePrez
Copy link
Collaborator

ThePrez commented Oct 3, 2024

Hi, @GajenderI , can you also confirm if running the hostname command from a shell (SSH, qp2term, qsh) returns a valid response?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants