Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Hosting Lobby Bot with Linux

    Player Help
    3
    5
    331
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      benji000 last edited by

      Re: How To Host (using Port-Forwarding)
      I use Linux to play TripleA, but am interested in hosting a Lobby bot too.
      I have configured my port and router and can host a game in the lobby, so all good there.

      Just looking for a headless.sh download.

      What is the possibility of unix based headless code for lobby bot hosting?

      Thanks

      B B 2 Replies Last reply Reply Quote 1
      • B
        benji000 @benji000 last edited by

        @benji000 I have made some progress and realized a unix based script is available. But run into this error:

        line 79: java: command not found

        1 Reply Last reply Reply Quote 1
        • B
          beelee @benji000 last edited by

          Hi @benji000

          You will probably need to wait for @LaFayette to get back from vacation as he is the main lobby developer.

          Although @Myrd or @RoiEX might be able to help too

          B 1 Reply Last reply Reply Quote 2
          • B
            benji000 @beelee last edited by

            I have made more progress by installing some missing Java components.

            Here is my latest issue with the lobby URL perhaps?

            Aug 31, 2024 11:21:13 AM org.triplea.game.server.HeadlessGameServer <init>
            INFO: Game Server initialized
            Aug 31, 2024 11:21:13 AM org.triplea.game.server.HeadlessGameServer lambda$new$1
            INFO: Headless Start
            Exception in thread "Initialize Headless Server Setup Model" feign.RetryableException: No subject alternative DNS name matching lobby.triplea-game.org found. executing POST https://lobby.triplea-game.org/lobby/game-hosting-request
            at feign.FeignException.errorExecuting(FeignException.java:214)
            at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:115)
            at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:80)
            at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)
            at jdk.proxy2/jdk.proxy2.$Proxy4.sendGameHostingRequest(Unknown Source)
            at org.triplea.http.client.lobby.game.hosting.request.GameHostingClient.sendGameHostingRequest(GameHostingClient.java:25)
            at games.strategy.engine.framework.startup.mc.ServerModel.createServerMessenger(ServerModel.java:425)
            at games.strategy.engine.framework.startup.mc.ServerModel.lambda$new$1(ServerModel.java:289)
            at java.base/java.util.Optional.ifPresent(Optional.java:178)
            at games.strategy.engine.framework.startup.mc.ServerModel.<init>(ServerModel.java:289)
            at org.triplea.game.server.HeadlessServerSetupPanelModel.showSelectType(HeadlessServerSetupPanelModel.java:28)
            at org.triplea.game.server.HeadlessGameServer.lambda$new$1(HeadlessGameServer.java:69)
            at java.base/java.lang.Thread.run(Thread.java:1583)
            Caused by: javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching lobby.triplea-game.org found.
            at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:130)
            at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:378)
            at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
            at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:316)
            at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:647)
            at java.base/sun.security.ssl.CertificateStatus$CertificateStatusConsumer.consume(CertificateStatus.java:296)
            at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:393)
            at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:476)
            at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:447)
            at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:201)
            at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)
            at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506)
            at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421)
            at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
            at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
            at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:586)
            at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
            at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1675)
            at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1599)
            at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:531)
            at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:307)
            at feign.Client$Default.convertResponse(Client.java:79)
            at feign.Client$Default.execute(Client.java:75)
            at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:110)
            ... 11 more
            Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching lobby.triplea-game.org found.
            at java.base/sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:207)
            at java.base/sun.security.util.HostnameChecker.match(HostnameChecker.java:103)
            at java.base/sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:457)
            at java.base/sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:417)
            at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:237)
            at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132)
            at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:631)
            ... 30 more

            1 Reply Last reply Reply Quote 1
            • EyesWideShut 0
              EyesWideShut 0 last edited by

              Hey friend, try this lobby URL: -Ptriplea.lobby.uri=https://prod2-lobby.triplea-game.org \

              I found it randomly by browsing through the forums as my terminal didn't recognize the original URL either. It works :).

              I'm now at the point where I'm trying to figure out how to remove the "automated_host" thing in the comments section as I"d like to change that to something else. that, and I'd like the BOT to automatically load up the revised map. Any suggestions here?

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums