You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two devices: one Mac and one Raspberry Pi. I was able to setup and use playactor on the Mac fine, but the Pi ended up hitting a roadblock with a consistent HTTP error when attempting to log in to PSN - so a proper setup with the Pi is off the table. I attempted to just transfer credentials.json into the correct directory, and according to the output, it appears to read it, but just ignores it and still requests a login procedure. Is there something else I'm missing that needs to be transferred from my working set up, or some bit of code I can tweak to make playactor think the device has been "set up"? Here are my debug logs below. Thanks in advance.
pi@Pi:~ $ playactor standby --debug --host-name PS5-828
playactor:cli:options findDevice with: DeviceOptions {
enableDebug: true,
machineFriendly: false,
dontAutoOpenUrls: false,
searchTimeout: 30000,
connectTimeout: 15000,
dontAuthenticate: false,
alwaysAuthenticate: false,
deviceOnlyPS4: false,
deviceOnlyPS5: false,
localBindAddress: undefined,
localBindPort: undefined,
credentialsPath: undefined,
passCode: undefined,
deviceIp: undefined,
deviceHostName: 'PS5-828',
deviceHostId: undefined
} +0ms
playactor:discovery discover( { pingIntervalMillis: 5000, timeoutMillis: 30000, uniqueDevices: true } ) +0ms
playactor:discovery:udp acquire @ 0 +0ms
playactor:discovery:udp created new socket for { localBindAddress: undefined, localBindPort: undefined } +8ms
playactor:discovery:udp acquire @ 0 +13ms
playactor:discovery:udp joining existing socket for { localBindAddress: undefined, localBindPort: undefined } +2ms
playactor:discovery:udp send: ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ to 255.255.255.255 : 987 +19ms
playactor:discovery:udp send: ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ to 255.255.255.255 : 9302 +13ms
playactor:discovery:udp listening on { address: '0.0.0.0', family: 'IPv4', port: 42454 } +63ms
playactor:discovery:udp received device: {
type: 'DEVICE',
sender: { address: '10.0.0.56', family: 'IPv4', port: 9302, size: 158 },
version: '00020020',
data: {
type: 'DEVICE',
statusLine: '200 Ok',
statusCode: '200',
statusMessage: 'Ok',
status: 'AWAKE',
'host-id': '████████████',
'host-type': 'PS5',
'host-name': 'PS5-828',
'host-request-port': '997',
'device-discovery-protocol-version': '00030010',
'system-version': '08540001'
}
} +417ms
playactor:discovery:udp received device: {
type: 'DEVICE',
sender: { address: '10.0.0.56', family: 'IPv4', port: 9302, size: 158 },
version: '00030010',
data: {
type: 'DEVICE',
statusLine: '200 Ok',
statusCode: '200',
statusMessage: 'Ok',
status: 'AWAKE',
'host-id': '████████████',
'host-type': 'PS5',
'host-name': 'PS5-828',
'host-request-port': '997',
'device-discovery-protocol-version': '00030010',
'system-version': '08540001'
}
} +28ms
playactor:discovery:udp closing udp network +42ms
playactor:discovery:udp release @ 0 +14ms
playactor:discovery:udp closing udp network +1ms
playactor:discovery:udp release @ 0 +2ms
playactor:waker device {
address: { address: '10.0.0.56', family: 'IPv4', port: 9302, size: 158 },
hostRequestPort: 997,
extras: {
statusLine: '200 Ok',
statusCode: '200',
statusMessage: 'Ok',
status: 'AWAKE'
},
discoveryVersion: '00030010',
systemVersion: '08540001',
id: '████████████',
name: 'PS5-828',
status: 'AWAKE',
type: 'PS5'
} is already awake +0ms
playactor:credentials:disk reading credentials at /home/pi/.config/playactor/credentials.json +0ms
In a moment, we will attempt to open a browser window for you to login to your PSN account.
When the page shows "redirect", copy the URL from your browser's address bar and paste it here.
Hit ENTER to continue
The text was updated successfully, but these errors were encountered:
In a moment, we will attempt to open a browser window for you to login to your PSN account. When the page shows "redirect", copy the URL from your browser's address bar and paste it here. Hit ENTER to continue
and then when I hit enter, it dumps me straight into the shell
I've thought maybe the prompt was malformed but pasting the url didn't help, and there's no documentation or log files I can find that can help so far.
I suspect it has something to do with the web browser on the Pi causing the error, but can't say for sure.
Here we go!
I did digging in the version information and found the fix.
add the flag --no-open-urls to the end of the login prompt.
This isn't documented anywhere in the application itself or on the readme, but really should be.
Doing this fixed the issue and no problems exist afterwards. but this indicates there needs to be a fix in the documentation.
add the flag --no-open-urls to the end of the login prompt.
Got this working finally thanks to this comment above; which took way too long to find. @dhleong is there any chance this can be added as a note on the README to make it easier for the next person? Also thanks for the good work on getting this working!
I have two devices: one Mac and one Raspberry Pi. I was able to setup and use playactor on the Mac fine, but the Pi ended up hitting a roadblock with a consistent HTTP error when attempting to log in to PSN - so a proper setup with the Pi is off the table. I attempted to just transfer credentials.json into the correct directory, and according to the output, it appears to read it, but just ignores it and still requests a login procedure. Is there something else I'm missing that needs to be transferred from my working set up, or some bit of code I can tweak to make playactor think the device has been "set up"? Here are my debug logs below. Thanks in advance.
pi@Pi:~ $ playactor standby --debug --host-name PS5-828
playactor:cli:options findDevice with: DeviceOptions {
enableDebug: true,
machineFriendly: false,
dontAutoOpenUrls: false,
searchTimeout: 30000,
connectTimeout: 15000,
dontAuthenticate: false,
alwaysAuthenticate: false,
deviceOnlyPS4: false,
deviceOnlyPS5: false,
localBindAddress: undefined,
localBindPort: undefined,
credentialsPath: undefined,
passCode: undefined,
deviceIp: undefined,
deviceHostName: 'PS5-828',
deviceHostId: undefined
} +0ms
playactor:discovery discover( { pingIntervalMillis: 5000, timeoutMillis: 30000, uniqueDevices: true } ) +0ms
playactor:discovery:udp acquire @ 0 +0ms
playactor:discovery:udp created new socket for { localBindAddress: undefined, localBindPort: undefined } +8ms
playactor:discovery:udp acquire @ 0 +13ms
playactor:discovery:udp joining existing socket for { localBindAddress: undefined, localBindPort: undefined } +2ms
playactor:discovery:udp send: ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ to 255.255.255.255 : 987 +19ms
playactor:discovery:udp send: ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ to 255.255.255.255 : 9302 +13ms
playactor:discovery:udp listening on { address: '0.0.0.0', family: 'IPv4', port: 42454 } +63ms
playactor:discovery:udp received device: {
type: 'DEVICE',
sender: { address: '10.0.0.56', family: 'IPv4', port: 9302, size: 158 },
version: '00020020',
data: {
type: 'DEVICE',
statusLine: '200 Ok',
statusCode: '200',
statusMessage: 'Ok',
status: 'AWAKE',
'host-id': '████████████',
'host-type': 'PS5',
'host-name': 'PS5-828',
'host-request-port': '997',
'device-discovery-protocol-version': '00030010',
'system-version': '08540001'
}
} +417ms
playactor:discovery:udp received device: {
type: 'DEVICE',
sender: { address: '10.0.0.56', family: 'IPv4', port: 9302, size: 158 },
version: '00030010',
data: {
type: 'DEVICE',
statusLine: '200 Ok',
statusCode: '200',
statusMessage: 'Ok',
status: 'AWAKE',
'host-id': '████████████',
'host-type': 'PS5',
'host-name': 'PS5-828',
'host-request-port': '997',
'device-discovery-protocol-version': '00030010',
'system-version': '08540001'
}
} +28ms
playactor:discovery:udp closing udp network +42ms
playactor:discovery:udp release @ 0 +14ms
playactor:discovery:udp closing udp network +1ms
playactor:discovery:udp release @ 0 +2ms
playactor:waker device {
address: { address: '10.0.0.56', family: 'IPv4', port: 9302, size: 158 },
hostRequestPort: 997,
extras: {
statusLine: '200 Ok',
statusCode: '200',
statusMessage: 'Ok',
status: 'AWAKE'
},
discoveryVersion: '00030010',
systemVersion: '08540001',
id: '████████████',
name: 'PS5-828',
status: 'AWAKE',
type: 'PS5'
} is already awake +0ms
playactor:credentials:disk reading credentials at /home/pi/.config/playactor/credentials.json +0ms
In a moment, we will attempt to open a browser window for you to login to your PSN account.
When the page shows "redirect", copy the URL from your browser's address bar and paste it here.
Hit ENTER to continue
The text was updated successfully, but these errors were encountered: