ktnrg45 / pyremoteplay

Python API for using PlayStation Remote Play
https://pyremoteplay.readthedocs.io/
GNU General Public License v3.0
29 stars 11 forks source link

"Version not accepted" ERROR with the latest PS5 firmware update #22

Open Zhangdaoning opened 1 year ago

Zhangdaoning commented 1 year ago

image

I have 2 PS5.

I update one , this error happend:Version not accepted! another one with old firmware works well.

And i update another one firmware. the error also happend.

Could you please fix this error, thanks alot!

Zhangdaoning commented 1 year ago
c:\Users\31378\AppData\Local\Programs\Python\Python38\Scripts>pyremoteplay -t 192.168.108.253
DEBUG:pyremoteplay.ddp:Sending search message
DEBUG:pyremoteplay.ddp:Bound socket to address: (0.0.0.0, 9303)
DEBUG:pyremoteplay.ddp:SENT DDP MSG: SPORT=9303 DEST=('192.168.108.253', 987)
DEBUG:pyremoteplay.ddp:SENT DDP MSG: SPORT=9303 DEST=('192.168.108.253', 9302)
DEBUG:pyremoteplay.ddp:RECV DDP MSG: DPORT=9303 SRC=('192.168.108.253', 9302)
DEBUG:pyremoteplay.device:Status: {'status-code': 200, 'status': 'Ok', 'host-id': 'C84AA0F07630', 'host-type': 'PS5', 'host-name': 'PS5-JP1', 'host-request-port': '997', 'device-discovery-protocol-version': '00030010', 'system-version': '08000044', 'host-ip': '192.168.108.253'}

Found Profiles
Select a profile to use:
0: Stoehrlip
1: SonicBeatQuest
2: Cancel
>> 1

Starting test...

DEBUG:asyncio:Using selector: SelectSelector
INFO:pyremoteplay.session:Session Started
DEBUG:pyremoteplay.ddp:Sending search message
DEBUG:pyremoteplay.ddp:Bound socket to address: (0.0.0.0, 9303)
DEBUG:pyremoteplay.ddp:SENT DDP MSG: SPORT=9303 DEST=('192.168.108.253', 987)
DEBUG:pyremoteplay.ddp:SENT DDP MSG: SPORT=9303 DEST=('192.168.108.253', 9302)
DEBUG:pyremoteplay.ddp:RECV DDP MSG: DPORT=9303 SRC=('192.168.108.253', 9302)
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.108.253:9295
DEBUG:urllib3.connectionpool:http://192.168.108.253:9295 "GET /sie/ps5/rp/sess/init HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.108.253:9295
DEBUG:urllib3.connectionpool:http://192.168.108.253:9295 "GET /sie/ps5/rp/sess/ctrl HTTP/1.1" 200 0
DEBUG:pyremoteplay.session:Session Auth Headers: {'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Content-Length': '0', 'RP-Prohibit': '0', 'RP-Device': '0', 'RP-Rssi-Dbm': '0', 'RP-Rssi-Percent': '0', 'RP-Enterkey': 'X', 'RP-Server-Type': 'pOVwNvee0goaZnf9/Y8rxg==', 'RP-Server-IPv4': '192.168.108.253', 'RP-SupportCmd': '080000'}
DEBUG:pyremoteplay.session:Server Type: ServerType.PS5
INFO:pyremoteplay.session:Session Auth Success
DEBUG:pyremoteplay.session:Connected
DEBUG:pyremoteplay.session:RECV LOGIN
DEBUG:pyremoteplay.session:Session HB Timeout. Sending HB
DEBUG:pyremoteplay.session:RECV SESSION_ID
DEBUG:pyremoteplay.session:Length: 73, Session ID: b'3639343838333238344456414645324c33355a58575442333632525a36435835474e4a4d4a48474e553633414e4c444850375336324d4f32474f435259465937523435354843534a59'
DEBUG:pyremoteplay.session:Session HB Timeout. Sending HB
DEBUG:pyremoteplay.session:Session RECV unknown Message Type: 22
DEBUG:pyremoteplay.stream:Connected Stream
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=INIT_ACK flag=0>
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=COOKIE_ACK flag=0>
DEBUG:pyremoteplay.stream:Length: 85, Big Payload: b'08001251080712493639343838333238344456414645324c33355a58575442333632525a36435835474e4a4d4a48474e553633414e4c444850375336324d4f32474f435259465937523435354843534a591a002200'
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA_ACK flag=0>
DEBUG:pyremoteplay.stream:TSN=1 GAP_ACKs=0 DUP_TSNs=0
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 220137366
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
ERROR:pyremoteplay.protobuf:Version not accepted
DEBUG:pyremoteplay.stream:Running RTT test...
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 220137366
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
ERROR:pyremoteplay.protobuf:Version not accepted
DEBUG:pyremoteplay.stream:Running RTT test...
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 220137366
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
ERROR:pyremoteplay.protobuf:Version not accepted
DEBUG:pyremoteplay.stream:Running RTT test...
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 220137366
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
ERROR:pyremoteplay.protobuf:Version not accepted
DEBUG:pyremoteplay.stream:Running RTT test...
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 220137366
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
ERROR:pyremoteplay.protobuf:Version not accepted
DEBUG:pyremoteplay.stream:Running RTT test...
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 220137366
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
ERROR:pyremoteplay.protobuf:Version not accepted
DEBUG:pyremoteplay.stream:Running RTT test...
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 220137366
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
ERROR:pyremoteplay.protobuf:Version not accepted
DEBUG:pyremoteplay.stream:Running RTT test...
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 220137366
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
ERROR:pyremoteplay.protobuf:Version not accepted
DEBUG:pyremoteplay.stream:Running RTT test...
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 220137366
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
ERROR:pyremoteplay.protobuf:Version not accepted
DEBUG:pyremoteplay.stream:Running RTT test...
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 220137366
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
ERROR:pyremoteplay.protobuf:Version not accepted
DEBUG:pyremoteplay.stream:Running RTT test...
WARNING:pyremoteplay.session:Network Test timed out. Using Default MTU and RTT
DEBUG:pyremoteplay.stream:Stopping Stream
DEBUG:pyremoteplay.stream:Stream Disconnecting
INFO:pyremoteplay.session:Using MTU: 1454; RTT: 1000ms
DEBUG:pyremoteplay.stream:Connected Stream
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=INIT_ACK flag=0>
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=COOKIE_ACK flag=0>
DEBUG:pyremoteplay.stream:Using Version: 12
DEBUG:pyremoteplay.crypt:Length: 16, Handshake Key: b'7ccdc56e87721ecbcade059773db57d4'
INFO:pyremoteplay.stream_packets:Using bitrate: 2000 kbps
DEBUG:pyremoteplay.stream_packets:Length: 906, Launch Spec JSON: {"sessionId":"sessionId4321","streamResolutions":[{"resolution":{"width":640,"height":360},"maxFps":30,"score":10}],"network":{"bwKbpsSent":2000,"bwLoss":0.001000,"mtu":1454,"rtt":1,"ports":[53,2053]},"slotId":1,"appSpecification":{"minFps":30,"minBandwidth":0,"extTitleId":"ps3","version":1,"timeLimit":1,"startTimeout":100,"afkTimeout":100,"afkTimeoutDisconnect":100},"konan":{"ps3AccessToken":"accessToken","ps3RefreshToken":"refreshToken"},"requestGameSpecification":{"model":"bravia_tv","platform":"android","audioChannels":"5.1","language":"sp","acceptButton":"X","connectedControllers":["xinput","ds3","ds4"],"yuvCoefficient":"bt601","videoEncoderProfile":"hw4.1","audioEncoderProfile":"audio1","adaptiveStreamMode":"resize"},"userProfile":{"onlineId":"psnId","npId":"npId","region":"US","languagesUsed":["en","jp"]},"videoCodec":"avc","dynamicRange":"SDR","handshakeKey":"fM3FbodyHsvK3gWXc9tX1A=="}
DEBUG:pyremoteplay.stream:Length: 1404, Big Payload: b'080012f70a080c12493639343838333238344456414645324c33355a58575442333632525a36435835474e4a4d4a48474e553633414e4c444850375336324d4f32474f435259465937523435354843534a591abc093363634455345474753256304c785066783631596f2b2f732f6f444e39766d32536865562b6c6b39737730417847584c3174457041372b424e53326549704e596f3379746c4e2f35794847696738414a4a2f523358494338673970524d425856787a2f432b7233317863445a48736b7338726c703154636f30446450544d6e326568575652675571724d6e4f53633661676e3877576f734c757531415148657453383956444159516f35585755396c474b31725a686e74614a397958465a655472444a313369792b326a6236734a355a7431507644585665427876476370692f7a4b44435276323442356458434543707a3264474a76675334794e464a47516f506d6d4672426439345242496b6639694c7055313046774a77467330745953384e6e6349616149426f6e5a3039524b355556567a4266336f6377334f6275366d4931533072557553674e325470563850694d517a4346595177524e395741456f66456d537074556d3131696e4c754f7861485771715a362f6a4f314774436949446d6f676f2f4c345844754651465a534874376a4d795a7a4378353152337173484647705679567364596647724b365842756e4250394a45376a676d485449454a435142715a2f764b2f4f2b704578775a727232556d7462575876794670692f4e6b7943533450385250717445352b44454e414534596851737831516b56625a4478455a6d58736c5156435668573453756a59394355686945517671427858564c4c56362f454e7374616f695044595170645551635154666d71545675514e4159763447315a686d66395657685241524c5039555053716447776c6543315831352f4b547a3549774e6365754364744c4c6a545a6271497a5a726a564f744872744454386434364b77474a6d346b2b656f5357494946394f73554b73376b33734a4b48762f4c686b4933306258584a6a51654b323776365638524b76416a57624543643961344e765339735a626e6f6b684450746f54675559755858494c2f75557a566a7a4a52672f434a68724a613468784735756537373157626e533430783330356f527856475941615570474e6c336b76304a3665765a6c6e7a7062466638574836783679434e4c785535423955595744534a323154533268525454725a4853615665554246717367433441434e306668566b667034572f6f4c2f3071414459557773343669464f6f316b534b3972394c316d46726f2f37563138534c722f664f65572f4730634863466a364e38774e5465584468686d507337516955356a792f616e4c4c7551626751444558366a766542776772362f307872394e7454644a4947744e544937713735455476785a483738325433614b722b4d544d415171305053455170583839466d345a537658315665414d704c394a7531366f706635304c456e507076383739346a4e33665733617676624e5353434c6a2f2f61417657463439686b6561382b37536430473063356b4369474b764367526c6768467945367a4446735237634d3950744d64647a4b71784d7761444d67466f695956504f4d4d5365516347306e4b566f47474e6742546e4848456f514d56475437304a3261647134333737445951724974584c612b536855375065444c56637a50394644316a2b5654545455566445314c4e2f6b4b4363625a6258413d3d2204000000002a4104ff606353c5f4bdb375201a387a1fa90c8b041d5a10cdf41a99468333186c88359d52e98fd662c271448cdd9831d4cfe0091e3992fe66b40f15f08d0ce3266b293220ab3bdebd7a646cdbeadf55b9eb919c0fac414ae84b0891432da1a339781e99bb'
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA_ACK flag=0>
DEBUG:pyremoteplay.stream:TSN=1 GAP_ACKs=0 DUP_TSNs=0
DEBUG:pyremoteplay.stream:<class 'pyremoteplay.stream_packets.Packet' type=CONTROL chunk=DATA flag=1>
DEBUG:pyremoteplay.stream:Sent Data ACK: 16216108
DEBUG:pyremoteplay.protobuf:RECV Payload Type: BANG
DEBUG:pyremoteplay.protobuf:RECV Bang
DEBUG:pyremoteplay.crypt:Length: 65, Local Public Key: b'04ff606353c5f4bdb375201a387a1fa90c8b041d5a10cdf41a99468333186c88359d52e98fd662c271448cdd9831d4cfe0091e3992fe66b40f15f08d0ce3266b29'
DEBUG:pyremoteplay.crypt:Length: 32, Local Public Sig: b'ab3bdebd7a646cdbeadf55b9eb919c0fac414ae84b0891432da1a339781e99bb'
DEBUG:pyremoteplay.crypt:Length: 65, Remote Public Key: b'04222d239cef1922a0451cd0a32496e2f6fa75d52f7bdd7fb0b1beb7c9712d59d3812fcb0e15d36d0f7d2455fe6bd5527c5630372afcc042098552abebac2f2d19'
DEBUG:pyremoteplay.crypt:Length: 32, Remote Public Sig: b'377e59f32c87959dca5ee13b8a9adf62730edf0820c90ba1cee2ea1627ef2ab2'
DEBUG:pyremoteplay.crypt:Remote Signature Verified
DEBUG:pyremoteplay.crypt:Length: 32, Secret: b'5cb31ec0463076caa2dbea021901217baad5e7730192b79882bd991bc8698960'
DEBUG:pyremoteplay.stream:Stream Ready
DEBUG:pyremoteplay.session:Session Received Stop Signal

Test Result: Pass

c:\Users\31378\AppData\Local\Programs\Python\Python38\Scripts>
lordsocke commented 1 year ago

same problem here, any fix for that?

konovagit commented 12 months ago

Same problem here after an system update.

PS5 FW: 23.02-08.20.00.06-00.00.00.01