Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Registration fails with HTTP code 403 #6

Closed
ShinKaz opened this issue Aug 21, 2019 · 11 comments
Closed

Registration fails with HTTP code 403 #6

ShinKaz opened this issue Aug 21, 2019 · 11 comments

Comments

@ShinKaz
Copy link

ShinKaz commented Aug 21, 2019

getting

[I] Regist starting search
[I] Regist sending search packet
[I] Regist received search response from 192.168.1.12
[I] Regist connected to 192.168.1.12, sending request
[I] Regist waiting for response
[E] Regist received HTTP code 403
[E] Regist eventually failed

on windows10.

(did open win10 firewall)

"An error has occured. (CE-35406-8)" on PS4 pro

everything on local network, ethernet wired.

thanks for you work ! really looking forward to an android port to play on switch ^^

@thestr4ng3r thestr4ng3r changed the title can't connect Registration fails with HTTP code 403 Aug 21, 2019
@thestr4ng3r
Copy link
Owner

Can you please enable verbose logging in the settings and post the output again? Also double-check that you entered the correct PSN ID and PIN otherwise registration will always fail.

@thestr4ng3r
Copy link
Owner

Oh and if the registration succeeds, don't post the verbose log here, it would contain your authentication keys then.

@ShinKaz
Copy link
Author

ShinKaz commented Aug 21, 2019

well...it worked this time all I did since before :
tried to use the official PS4 remote play app first (had to update it, then got "connection with the server has expired" when trying to log my psn account. never worked.)

tried using your app, ticked the log option, started and it worked lol

is there anyway to use fullscreen ?

I did set quality to 1080@60, bu the quality isn't great. (I'm on gigabit ethernet PS4 Pro<->router<->PC... (got a 1Gbps optic fiber connection but that souldn't matter since I'm over LAN here)
image

Edit : I guess it's the H264 Error Concealment or lower bitrate for now ?
(also experienced crackling audio like other users commented)

thanks for your work :)

@thestr4ng3r
Copy link
Owner

Ok, then I assume it was just a typo. Unfortunately the PS4 doesn't give us good error messages in case of registration failure, only the HTTP code.

The bitrate is too low currently, but that is already fixed on master and will be better in the next release (which will happen tonight probably). Error concealment would only kick in when frames can not be reconstructed with FEC, which should in practice almost never happen on a stable connection.

@ShinKaz
Copy link
Author

ShinKaz commented Aug 21, 2019

cool thanks ! will try it too :)

(honestly wasn't a typo, I used like 10 PIN codes and the same PSN ID and IP adress ;) )

@thestr4ng3r
Copy link
Owner

Hm ok, then I will at least keep an eye out if I experience any registration issues in the future.

Have fun playing Tetris Effect!

@thestr4ng3r
Copy link
Owner

Issue for Fullscreen: #9

@ShinKaz
Copy link
Author

ShinKaz commented Aug 21, 2019

Hm ok, then I will at least keep an eye out if I experience any registration issues in the future.

Have fun playing Tetris Effect!

hehe, thanks ^^

@ShinKaz
Copy link
Author

ShinKaz commented Aug 21, 2019

Tried the new version and it works well and look much nicer :)

what metric is bitrate in ? (left it on automatic for now)

played some tetris effect and DragonBallFighterZ, is DBFZ I noticed that sometimes "dpad left" got stuck for like 5sec. (I'm new to using remote play (really started using it since android on switch, need to use version 2.00 of the android app, jump through hoops like root, modules, etc...and got disconnects every 5secs whereas the steam link app works perfect) so this might be normal behavior/same behavior as the official app ?)

(PS : the android (and switch on android community needs you ;D))

@thestr4ng3r
Copy link
Owner

Bitrate is in kbps, but it might not directly represent the final video bitrate. It's a value called bwKbpsSent that the client reports to the console and the PS4 then decides how to encode the video.

Stuck buttons should only rarely happen on a stable connection, but by design of the protocol, it could theoretically occur on a packet drop and the button can stay stuck until the next button event. So not 100% sure if it's because of a bug or network in your case.

Android and Switch (native) is planned with Android being first probably. The entire library is written with portability in mind.

@ShinKaz
Copy link
Author

ShinKaz commented Aug 21, 2019

oh I see, 10000Kbps isn't that much for a local Gbit network, I'll try 50Mbps and see if it changes anything :)

yeah, that's weird because it happened a lot in a short time, and pressing the opposite direction wouldn't change much of anything for like 5 secs.

Sounds great! looking forward to it :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants