1.18.0 access denied ("java.io.FilePermission" "/etc/resolv.conf" "read")
FlashLight34 opened this issue ยท 5 comments
23:01:24: [DiscordSRV] =================================================================
23:01:24: java.lang.ExceptionInInitializerError
23:01:24: > at github.scarsz.discordsrv.DiscordSRV.init(DiscordSRV.java:377)
23:01:24: > at java.lang.Thread.run(Thread.java:748)
23:01:24: > Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "/etc/resolv.conf" "read")
23:01:24: > at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
23:01:24: > at java.security.AccessController.checkPermission(AccessController.java:886)
23:01:24: > at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
23:01:24: > at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
23:01:24: > at java.io.File.exists(File.java:814)
23:01:24: > at org.minidns.dnsserverlookup.UnixUsingEtcResolvConf.isAvailable(UnixUsingEtcResolvConf.java:98)
23:01:24: > at org.minidns.DnsClient.addDnsServerLookupMechanism(DnsClient.java:395)
23:01:24: > at org.minidns.DnsClient.<clinit>(DnsClient.java:55)
23:01:24: > ... 2 more
We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please join our Discord at https://scarsz.me/discord and go to the #support channel for help with installing or configuring DiscordSRV.