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

SocketException on Arch Linux with Java 21 #5254

Open
soloturn opened this issue Jun 16, 2024 · 2 comments
Open

SocketException on Arch Linux with Java 21 #5254

soloturn opened this issue Jun 16, 2024 · 2 comments
Labels
Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems

Comments

@soloturn
Copy link
Contributor

starting latest terasology on arch linux with java-21 results in an exception beeing thrown, but game seems to work:

19:26:11.443 [DISCORD-RPC-THREAD] ERROR o.t.s.discordrpc.DiscordRPCThread - Could not create or connect Discord client: 
java.lang.RuntimeException: java.net.SocketException: No such file or directory; errno=2
	at com.jagrosh.discordipc.entities.pipe.Pipe.createPipe(Pipe.java:167)
	at com.jagrosh.discordipc.entities.pipe.Pipe.openPipe(Pipe.java:67)
	at com.jagrosh.discordipc.IPCClient.connect(IPCClient.java:116)
	at org.terasology.subsystem.discordrpc.DiscordRPCThread.run(DiscordRPCThread.java:170)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.net.SocketException: No such file or directory; errno=2
	at org.newsclub.net.unix.NativeUnixSocket.connect(Native Method)
	at org.newsclub.net.unix.AFUNIXSocketImpl.connect0(AFUNIXSocketImpl.java:317)
	at org.newsclub.net.unix.AFUNIXSocket.connect0(AFUNIXSocket.java:196)
	at org.newsclub.net.unix.AFUNIXSocket.connect(AFUNIXSocket.java:175)
	at org.newsclub.net.unix.AFUNIXSocket.connect(AFUNIXSocket.java:170)
	at com.jagrosh.discordipc.entities.pipe.UnixPipe.<init>(UnixPipe.java:46)
	at com.jagrosh.discordipc.entities.pipe.Pipe.createPipe(Pipe.java:163)
	... 4 common frames omitted

@soloturn soloturn added Type: Bug Issues reporting and PRs fixing problems Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness labels Jun 16, 2024
@jdrueckert
Copy link
Member

Could it be a permission issue regarding socket creation/access?

@jdrueckert jdrueckert changed the title Crash/Bug on trying to ... SocketException on Arch Linux with Java 21 Jun 16, 2024
@soloturn
Copy link
Contributor Author

does it try to connect to discord @jdrueckert ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems
Projects
Status: No status
Status: No status
Development

No branches or pull requests

2 participants