It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I was experiencing a different problem where game time wasn't being tracked properly, and it turned out GOG Galaxy was having a bit of trouble getting through the firewall even though it was given the rights to when I first installed it. When I changed this manually, everything started working correctly. I could even log in to PSN and I've been connected for a while without problems now. I can't promise it'll work for everyone but it sure did for me:

1. Open up Windows Defender firewall
2. Click on "Allow an app through firewall"
3. Add GOG Galaxy (I also added the GOG Galaxy Notifications Renderer.exe because why not)
avatar
Starfighter.671: I was experiencing a different problem where game time wasn't being tracked properly, and it turned out GOG Galaxy was having a bit of trouble getting through the firewall even though it was given the rights to when I first installed it. When I changed this manually, everything started working correctly. I could even log in to PSN and I've been connected for a while without problems now. I can't promise it'll work for everyone but it sure did for me:

1. Open up Windows Defender firewall
2. Click on "Allow an app through firewall"
3. Add GOG Galaxy (I also added the GOG Galaxy Notifications Renderer.exe because why not)
Oh, this actually worked for me! Thank you!
avatar
AlexVezok: Oh, this actually worked for me! Thank you!
Glad I could help!
avatar
AlexVezok: Oh, this actually worked for me! Thank you!
avatar
Starfighter.671: Glad I could help!
Adding to exclusion gog was fixed, thank you very much.
avatar
Starfighter.671: without problems now. I can't promise it'll work for everyone but it sure did for me:

1. Open up Windows Defender firewall
2. Click on "Allow an app through firewall"
3. Add GOG Galaxy (I also added the GOG Galaxy Notifications Renderer.exe because why not)
Thanks for tip but can't set it up because I have Windows defender firewall disabled instead of G DATA total security. I can't find an option to add app exception there.

EDIT:
OK, added axception to my GDATA then restarted GOG client but connect issue still exists.
Attachments:
Post edited June 07, 2020 by Blerx
avatar
Blerx: Thanks for tip but can't set it up because I have Windows defender firewall disabled instead of G DATA total security. I can't find an option to add app exception there.

EDIT:
OK, added axception to my GDATA then restarted GOG client but connect issue still exists.
It seems that you cannot log in PSN from GOG and any browser at the same time.

I logged into PSN in my Chrome browser. GOG-PSN integration says "... connection timed out".
The next day I logged in PSN from GOG-PSN integration only. And it worked.

Check the next day whether it helps you.
avatar
Blerx: EDIT:
OK, added axception to my GDATA then restarted GOG client but connect issue still exists.
Sorry to hear that, I guess the firewall isn't the issue in all cases. :/
Just to be sure: you did add the exe exceptions into the firewall rules, right? I know GDATA have two exception lists, one for virus scan and one for firewall.
avatar
Starfighter.671: I was experiencing a different problem where game time wasn't being tracked properly, and it turned out GOG Galaxy was having a bit of trouble getting through the firewall even though it was given the rights to when I first installed it. When I changed this manually, everything started working correctly. I could even log in to PSN and I've been connected for a while without problems now. I can't promise it'll work for everyone but it sure did for me:

1. Open up Windows Defender firewall
2. Click on "Allow an app through firewall"
3. Add GOG Galaxy (I also added the GOG Galaxy Notifications Renderer.exe because why not)
This worked for me, thank you!
avatar
Starfighter.671: I was experiencing a different problem where game time wasn't being tracked properly, and it turned out GOG Galaxy was having a bit of trouble getting through the firewall even though it was given the rights to when I first installed it. When I changed this manually, everything started working correctly. I could even log in to PSN and I've been connected for a while without problems now. I can't promise it'll work for everyone but it sure did for me:

1. Open up Windows Defender firewall
2. Click on "Allow an app through firewall"
3. Add GOG Galaxy (I also added the GOG Galaxy Notifications Renderer.exe because why not)
avatar
jae5: This worked for me, thank you!
Didn't work for me :(
Post edited June 16, 2020 by DrthGambit
avatar
jae5: This worked for me, thank you!
avatar
DrthGambit: Didn't worked for me :(
Me either
First post, so the forums won't let me post links, but on the PSN plugin maker's GitHub page (FriendsOfGalaxy/galaxy-integration-psn) issue 7 is about this.

They say it's due to the embedded browser in Galaxy being old, which leads to a "CORS error".

The reason it works sometimes is because if you luck out and get a direct connection to a PSN server, PSN's servers don't care about this issue and will let your request through.

If your request goes to Akamai's load balanacer before PSN, Akamai's filters will throw the CORS error and reject your request.

Errors appear in your C:\ProgramData\GOG.com\Galaxy\logs\cef.log

Plugin maker says basically that there's nothing they can do -- Galaxy needs to update their embedded browser or you need to get lucky.
I have the same issue. Might this be caused by the fact that I use a 2 step varification which seems not to be supported by the embedded browser plugin?
high rated
avatar
oReXeRo: I have the same issue. Might this be caused by the fact that I use a 2 step varification which seems not to be supported by the embedded browser plugin?
unrelated

-------------------------------------

workaround until they fix it:

- close GOG Galaxy if it's running at the moment

- log in to PSN (store.playstation.com) through your browser
(if you were already logged in, log out first, then back in)

- after the login open this link: https://ca.account.sony.com/api/v1/ssocookie

youll get something like: {"npsso":"xxx"}
where xxx is the npsso value

- open windows explorer and enter the following into the address bar at the top and press enter
%LocalAppData%\GOG.com\Galaxy\plugins\installed\

- open the psn_{random number} folder and edit the plugin.py file with your favourite text editor

- go to line 64. it sould look like this:
stored_npsso = stored_credentials.get("npsso") if stored_credentials else None

delete everything on that line after: stored_npsso =
then add your nppso value behind it in quotation marks.

it should look like this:
stored_npsso = "npsso value"

("npsso value" is the value from step 3 and should be a 64 character long text consisting of numbers, lower case letters and upper case letters)
(the quotation marks " " are important!)

- save the changes made to plugin.py and close the file
- restart GOG Galaxy
- try connecting with PSN again
Post edited June 17, 2020 by Bustacap
avatar
oReXeRo: I have the same issue. Might this be caused by the fact that I use a 2 step varification which seems not to be supported by the embedded browser plugin?
avatar
Bustacap: unrelated

-------------------------------------

workaround until they fix it:

-Log in to PSN through your browser

-After the login open this link: https://ca.account.sony.com/api/v1/ssocookie
Copy content of "npsso"

Edit file %AppData%\Local\GOG.com\Galaxy\plugins\installed\psn_XXX\plugin.py

Go to line 64 and change value stored_npsso to copied "npsso" for example:

Was:
stored_npsso = stored_credentials.get("npsso") if stored_credentials else None

Is:
stored_npsso = "Copied value of npsso"

6. Restart GOG Galaxy
7. try connecting with PSN again
what if i dont have that folder?
avatar
oReXeRo: I have the same issue. Might this be caused by the fact that I use a 2 step varification which seems not to be supported by the embedded browser plugin?
avatar
Bustacap: unrelated

-------------------------------------

workaround until they fix it:

-Log in to PSN through your browser

-After the login open this link: https://ca.account.sony.com/api/v1/ssocookie
Copy content of "npsso"

Edit file %AppData%\Local\GOG.com\Galaxy\plugins\installed\psn_XXX\plugin.py

Go to line 64 and change value stored_npsso to copied "npsso" for example:

Was:
stored_npsso = stored_credentials.get("npsso") if stored_credentials else None

Is:
stored_npsso = "Copied value of npsso"

6. Restart GOG Galaxy
7. try connecting with PSN again
THIS!
Thank you good sir! +1
Only thing I had to change was %localappdata%\GOG.com\Galaxy\plugins\installed\psn_XXX\plugin.py for the folder (it is in AppData\Local, not AppData\Roaming)
Post edited June 16, 2020 by Cailiil