malte88 / rsg-socialclub-api

API for RockstarGames Socialclub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"error": "An error occured, try again in a few seconds"

KONEV5 opened this issue · comments

commented

I have successfully opened the link and logged
I tested it
http://ip:4000/api/getProfile?name=padaxing2022
The following error occurs
"error": "An error occured, try again in a few seconds"

info: [1:39:37 AM] [INFO] => Login with your socialclub credentials and dont forget to tick remember me box
info: [1:39:37 AM] [INFO] => Restart the app when you're done.
info: [1:40:38 AM] [INFO] => Request for padaxing2022
info: [1:40:39 AM] [INFO] => Request status 401/FAIL
2023-05-23T01:39:28: Warning: Failure writing file /scapi/browser_data/Default/Preferences {
2023-05-23T01:39:28:   target: 'Profile',
2023-05-23T01:39:28:   file: 'Preferences',
2023-05-23T01:39:28:   contents: '{\n  "intl": {\n    "accept_languages": "en-US,en"\n  }\n}'
2023-05-23T01:39:28: } [Error: EACCES: permission denied, open '/scapi/browser_data/Default/Preferences'] {
2023-05-23T01:39:28:   errno: -13,
2023-05-23T01:39:28:   code: 'EACCES',
2023-05-23T01:39:28:   syscall: 'open',
2023-05-23T01:39:28:   path: '/scapi/browser_data/Default/Preferences'
2023-05-23T01:39:28: }
2023-05-23T01:39:29: [�[33m1:39:29 AM�[39m] [�[33mDEBUG�[39m] => Started browser...
2023-05-23T01:39:29: [�[33m1:39:29 AM�[39m] [�[33mDEBUG�[39m] => Started new tab...
2023-05-23T01:39:29: [�[33m1:39:29 AM�[39m] [�[33mDEBUG�[39m] => Navigating to https://signin.rockstargames.com/signin/user-form?cid=socialclub
2023-05-23T01:39:37: [�[33m1:39:37 AM�[39m] [�[33mDEBUG�[39m] => Loaded Page
2023-05-23T01:39:37: [�[33m1:39:37 AM�[39m] [�[92mINFO�[39m] => Started portal on: http://127.0.0.1:3000/?targetId=90E3A5743F2A2A35D2A411D1CE2E2213
2023-05-23T01:39:37: [�[33m1:39:37 AM�[39m] [�[92mINFO�[39m] => Login with your socialclub credentials and dont forget to tick remember me box
2023-05-23T01:39:37: [�[33m1:39:37 AM�[39m] [�[92mINFO�[39m] => Restart the app when you're done.
2023-05-23T01:40:38: [�[33m1:40:38 AM�[39m] [�[92mINFO�[39m] => Request for �[33mpadaxing2022�[39m
2023-05-23T01:40:39: [�[33m1:40:39 AM�[39m] [�[92mINFO�[39m] => Request status �[31m401/FAIL�[39m
commented

the browser saves cookies and it says it cant open cookie file bc no permission

commented

start it with read & write permissions it should work

commented

i could also give you a docker image then there will be no problems if you know how to use docker

commented

I started with root 775 privileges, which is still so, sad problem. Maybe I should try docker images.Thank you sincerely.