mariotaku / moonlight-tv

Lightweight NVIDIA GameStream Client, for LG webOS TV and embedded devices like Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to Create GS_Client Error Message

ggkk15 opened this issue · comments

Moonlight Version

1.6.5

Device Type

webOS TV

Device Model

UN85 LG

Device OS

4.50.53

Host OS

None

Host Software

None

Host Setup

No response

Bug Description

When installing Moonlight TV through the webOS Dev Manager I get the following error message and restarts the app.

FATAL ERROR
Failed to create GS_Client: Failed to parse certificate: X509 - The date tag or value is invalid

Reproduction Steps

  1. Launch Moonlight
  2. Reach Error Message

Expected Behavior

No response

Hi, did you try reinstall the app?

same error here, reinstall via webOS Dev Manager and still not work

Can you navigate to /media/developer/apps/usr/palm/applications/com.limelight.webos/conf/key/ on the TV, and share client.pem here? It should not contain any sensitive information, so don't have to be worried.

BTW do you have the same TV model or firmware? @dantewyj

Certificate:
    Data:
        Version: 2 (0x1)
        Serial Number: 1 (0x1)
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: CN = NVIDIA GameStream Client
        Validity
            Not Before: Jun 17 15:30:53 2023 GMT
            Not After : Jun 17 15:30:53 2033 GMT
        Subject: CN = NVIDIA GameStream Client
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:
                    00:d2:59:8f:4c:60:19:d8:bb:97:ec:a4:52:f3:d8:
                    58:27:4d:e3:22:32:99:b5:44:92:7e:9d:ed:b7:3f:
                    06:6e:53:3f:b9:1c:bc:85:9a:f1:d7:55:fc:9f:d3:
                    37:3d:c8:14:dd:78:ed:6c:a1:0d:84:78:75:ea:e2:
                    dd:40:10:92:e6:1f:83:3e:d6:4b:9b:72:dd:cd:40:
                    3f:cd:67:25:39:60:bb:6c:86:36:c1:88:53:9f:47:
                    42:94:b1:e0:4f:2b:a7:60:7c:2a:62:da:e0:60:9e:
                    5d:02:bc:4d:1d:fd:8e:01:8a:43:1a:c7:d8:6c:ef:
                    05:4a:bc:e9:78:88:ce:f5:52:b1:0c:f1:28:79:7b:
                    15:a7:3e:6e:10:2b:2e:c8:6e:35:04:8c:ab:92:47:
                    42:ee:df:b6:09:79:ac:59:38:71:8b:26:00:68:10:
                    68:a7:28:bc:ba:fd:c5:13:9e:5d:01:5d:7d:db:41:
                    f2:fd:d7:29:3b:a6:b2:35:32:bc:32:38:dd:9c:18:
                    f6:c3:e3:c2:18:05:cd:dc:4b:b7:9f:08:0e:4e:0a:
                    f9:4a:21:a3:08:f3:29:e2:47:3e:33:b9:9a:82:e6:
                    65:23:1c:e9:90:67:a1:53:b8:a2:c6:64:bf:7d:ff:
                    60:6e:33:8a:e6:30:23:49:fa:9d:d0:71:5f:95:55:
                    6d:f7
                Exponent: 65537 (0x10001)
    Signature Algorithm: sha256WithRSAEncryption
    Signature Value:
        34:3d:20:b4:1d:3b:75:f9:6d:9d:c2:df:e1:2f:17:76:e9:60:
        f9:ca:2b:7a:3b:fb:2f:4c:3e:3f:95:7e:44:10:19:ef:c1:45:
        48:ae:92:da:66:6c:ac:c7:e8:26:20:86:a5:2f:02:db:b3:67:
        e6:ea:df:fc:9b:59:2d:61:da:30:25:a7:0a:eb:07:07:cb:47:
        65:f4:98:ae:58:c7:c9:13:f8:b3:98:28:d3:c4:58:a9:8b:5c:
        e6:83:2a:bb:4b:0b:8e:40:68:f8:12:4e:13:d6:e0:96:a1:40:
        d4:33:b8:80:ea:5f:0a:94:dc:bd:df:59:52:30:0f:17:4a:25:
        2a:5e:4d:98:ae:9c:b8:6f:f7:b3:69:b7:3f:00:88:f3:21:ea:
        b4:56:40:0d:54:21:1d:58:35:5f:9d:0f:ff:ee:1d:e5:7a:61:
        c9:a8:b2:e2:b8:b7:a9:d8:19:f1:81:2a:d6:2a:f3:d5:91:02:
        f1:50:d3:4f:00:7b:87:02:6d:bc:57:f6:42:72:d6:02:7c:52:
        8e:be:3c:1b:5b:69:a2:e0:c6:f9:7e:3e:29:89:7f:c3:d3:57:
        cc:62:a1:31:0f:c9:65:65:6a:a8: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END CERTIFICATE-----

and my TV model is LG OLED 55 C2

@dantewyj Thanks. The cert actually looks fine. What about the TV's clock settings?

@mariotaku thanks for your kind help, TV's clock setting is set to auto, and as i checked, it's correct

pretty strange that i can open Moonlight this morning (before/around Feb 29, 10am, GMT+8), but somehow now it show this error

@dantewyj This is rather strange, after you reinstall the app, did you notice that client.pem has been updated?

@mariotaku yes will be updated each time i reinstall, and i run the decoder, the valid date range will start from my new reinstall timestamp

@mariotaku here's some new findings,

either Geforece Experience enable gamestream, or use Sunshine as host, TV Moonlight will show this error

if i disable gamestream in GFE, and also uninstall Sunshine, then TV Moonlight can open

(*also test my Android Moonlight client, it's good to connect GFE)

I can reproduce on my TV now, looks like it's something with cert/key generation.