Skip to content

[Bug Report] Apollo errors out on startup #238

@DiamondDagger590

Description

@DiamondDagger590

Checklist before creating an issue:

  • I'm using the latest version of Apollo.
  • I'm using the latest version of Lunar Client. (Relaunched in the last hour)
  • I'm running Apollo on ONLY the backend server OR the proxy. (YOU CANNOT RUN IT ON BOTH)
  • I do NOT have both Apollo and the LEGACY API installed on the same server. (YOU CANNOT RUN BOTH AT THE SAME TIME)
  • I've gathered all screenshots, logs and appropriate information related to creating a bug report.

Issue Description

I start up a local hosted server with just a plugin I'm working on and apollo and get the following exception. This happened on my older version of apollo I had been using before and I suddenly got this error there too. After upgrading, there seems to be no difference

[21:41:01 ERROR]: Failed to parse request!
[21:41:01 ERROR]: ServerStartRequest (event/server.start) [POST]: ServerStartRequest(serverInstallationId=214fd889-fe86-43f6-af47-e12a4ce98f91, serverSessionId=c9216793-a124-4661-ba9f-7482aa48afc8, plugins=[com.lunarclient.apollo.stats.ApolloPluginDescription@6305e75a, com.lunarclient.apollo.stats.ApolloPluginDescription@e2f4745], onlineMode=true, platformType=SERVER, platformSubtype=Bukkit, platformVersion=1.21.8-60-29c8822 (MC: 1.21.8), javaVersion=21.0.2, cpuArch=amd64, cpuCoreCount=32, operatingSystem=Windows 11, operatingSystemRelease=10.0, modules=[auto_text_hotkey, beam, border, chat, colored_fire, combat, cooldown, entity, glint, glow, hologram, limb, mod_setting, nametag, nick_hider, notification, rich_presence, saturation, server_rule, staff_mod, stopwatch, team, tebex, title, tnt_countdown, transfer, vignette, waypoint], apolloVersion=1.2.0)
java.net.UnknownHostException: analytics.lunarclientprod.com
        at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?]
        at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?]
        at java.base/java.net.Socket.connect(Socket.java:751) ~[?:?]
        at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) ~[?:?]
        at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178) ~[?:?]
        at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
        at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
        at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:?]
        at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:377) ~[?:?]
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) ~[?:?]
        at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1237) ~[?:?]
        at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1123) ~[?:?]
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) ~[?:?]
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1446) ~[?:?]
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1417) ~[?:?]
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:219) ~[?:?]
        at apollo-bukkit-1.2.0.jar/com.lunarclient.apollo.api.ApolloHttpManager.lambda$request$0(ApolloHttpManager.java:98) ~[apollo-bukkit-1.2.0.jar:?]
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Reproduction steps

1. Install latest Apollo
2. Start server

Code Snippet (If applicable, if not write N/A)

N/A

Versions

1.21

Platforms

Other

Server Version

1.21

Modules

Vanilla

Screenshots

Contact Information

Discord: diamonddagger590

Additional Context (Examples, Links, ETC)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: PendingIssue is waiting to be verified as still activetype: BugSomething is broken :(

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions