Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login failed: Error: # 1008 #22

Open
SalimTerryLi opened this issue Feb 14, 2020 · 21 comments
Open

Login failed: Error: # 1008 #22

SalimTerryLi opened this issue Feb 14, 2020 · 21 comments

Comments

@SalimTerryLi
Copy link

That was displayed on the button of window. Is current login auth out-of-date?

@Erlandys
Copy link
Owner

Erlandys commented Mar 1, 2020

Try to test now.

@matheusfillipe
Copy link

I have this error now with the version released just now.

~/programs/UE4LinuxLauncher/Compiled$ ./start.sh java.text.ParseException: Unparseable date: "Mon, 02 Mar 2020 18:45:13 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.captchaValidationRequest(AuthenticationManager.java:111) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:88) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Tue, 01 Mar 2022 18:45:12 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.captchaValidationRequest(AuthenticationManager.java:111) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:88) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Tue, 01 Mar 2022 18:45:12 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.captchaValidationRequest(AuthenticationManager.java:111) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:88) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Mon, 02 Mar 2020 18:45:14 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.retrieveCSRF(AuthenticationManager.java:190) at launcher.managers.AuthenticationManager.loginRequest(AuthenticationManager.java:202) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:89) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Mon, 02 Mar 2020 18:45:19 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.captchaValidationRequest(AuthenticationManager.java:111) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:88) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Tue, 01 Mar 2022 18:45:18 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.captchaValidationRequest(AuthenticationManager.java:111) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:88) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Tue, 01 Mar 2022 18:45:18 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.captchaValidationRequest(AuthenticationManager.java:111) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:88) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Mon, 02 Mar 2020 18:45:19 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.retrieveCSRF(AuthenticationManager.java:190) at launcher.managers.AuthenticationManager.loginRequest(AuthenticationManager.java:202) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:89) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Mon, 02 Mar 2020 18:45:41 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.captchaValidationRequest(AuthenticationManager.java:111) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:88) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Tue, 01 Mar 2022 18:45:40 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.captchaValidationRequest(AuthenticationManager.java:111) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:88) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Tue, 01 Mar 2022 18:45:40 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.captchaValidationRequest(AuthenticationManager.java:111) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:88) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143) java.text.ParseException: Unparseable date: "Mon, 02 Mar 2020 18:45:41 GMT" at java.text.DateFormat.parse(DateFormat.java:366) at launcher.objects.Request.parseHeaders(Request.java:149) at launcher.objects.Request.execute(Request.java:114) at launcher.managers.AuthenticationManager.retrieveCSRF(AuthenticationManager.java:190) at launcher.managers.AuthenticationManager.loginRequest(AuthenticationManager.java:202) at launcher.managers.AuthenticationManager.doLogin(AuthenticationManager.java:89) at launcher.LoginForm$PerformLogin.run(LoginForm.java:143)

@Erlandys
Copy link
Owner

Erlandys commented Mar 1, 2020

Does the system tries to go further, or it stucks at some point at authentication?
Those errors are from parsing date, which is not necessary, I'll try to investigate, to not throw this error.

@matheusfillipe
Copy link

It just gets stuck there

@alejandroua
Copy link

Having the same #1008 error on the login button with the current versions of UE4 and this script. Progress bar is showing 60%

@Erlandys
Copy link
Owner

Erlandys commented Mar 4, 2020

Hello, can you try with this? (Do not forget to rename .zip to .jar)
UnrealEngineLauncher.zip
@alejandroua

@alejandroua
Copy link

Hi @Erlandys , Thanks for the patch!
This time was better, I got through to the captcha (I had to input email instead of login).
My Chrome browser refuses to ask for captcha and I had to use Opera VPN to get it asked. But then I could not track the request you mention in the instructions. Alas, I might not be knowledgeable enough in networking/browsers. Perhaps the type of captcha I've encountered is something different - I had to rotate animals :)

@matheusfillipe
Copy link

matheusfillipe commented Mar 4, 2020

I have a different annoying issue with this. The captcha window that is popping is super small and not resizing.
image

Sometimes the launcher itself has that behaviour. I am using KDE. I will try opening that on i3wm and we will see.

@Erlandys
Copy link
Owner

Erlandys commented Mar 4, 2020

@alejandroua hi, you do not need to perform captcha, all you have to do is login, you may have already performed captcha before, the thing is to find the request I mentioned in description of captcha form. Add here screenshot from network requests on login. i will check it (some browsers may show not full url, but only last part)
@matheusfillipe I will try to launch KDE VM and try to open it. If you cant fill that place, you can add bda and user browser to sqlite database (data.db), global_variables table,
name - bda
value - base64 decoded bda value from request
name - user_browser
value - userbrowser from request

@Erlandys
Copy link
Owner

Erlandys commented Mar 4, 2020

@alejandroua thats the request you need to be looking for:
image

@alejandroua
Copy link

@Erlandys Wow, I'm kind of close. I had to enable 'Persist logs' in Firefox networking since the login page was redirecting instantly to the account page. Now I enter bda and userbrowser data into the form and it just loops - asking for bda/browser again.
image

@Erlandys
Copy link
Owner

Erlandys commented Mar 4, 2020

@alejandroua try with this:
UnrealEngineLauncher.zip
Ps. rename .zip to .jar
If this will fail, can you contact me via email '[email protected]'?

@Erlandys
Copy link
Owner

Erlandys commented Mar 4, 2020

@matheusfillipe if you will try, try with the newest version pushed to git.

@godofdream
Copy link

godofdream commented Apr 20, 2020

I'm trying with the Version in Develop Branch, and when filling BDA and useragent I'm getting:

Exception in thread "Thread-1" org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
	at org.json.JSONTokener.syntaxError(JSONTokener.java:505)
	at org.json.JSONArray.<init>(JSONArray.java:108)
	at org.json.JSONArray.<init>(JSONArray.java:161)
	at launcher.objects.Session.setBDA(Session.java:51)
	at launcher.objects.Session.setBDA(Session.java:37)
	at launcher.CaptchaWorkaroundForm$PerformTwoFactor.run(CaptchaWorkaroundForm.java:161)

EDIT:style

@ben-mkiv
Copy link
Contributor

@godofdream what java runtime do you use? oracle or openjdk?

@godofdream
Copy link

@ben-mkiv

java --version
openjdk 13 2019-09-17
OpenJDK Runtime Environment (build 13+33-Ubuntu-1)
OpenJDK 64-Bit Server VM (build 13+33-Ubuntu-1, mixed mode)

@ben-mkiv
Copy link
Contributor

ben-mkiv commented Apr 21, 2020

ok, sadly i can now confirm the issue as i cant login anymore, on the website it requires the captcha everytime i try to login (could you please check if that also applies to you)

(btw. its not related to the Java runtime as it happens to me with oracle, too)

@Roman-Malinowski
Copy link

Hi,

When I enter my bda and userbrowser I get this error

Exception in thread "Thread-1" org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
	at org.json.JSONTokener.syntaxError(JSONTokener.java:505)
	at org.json.JSONArray.<init>(JSONArray.java:108)
	at org.json.JSONArray.<init>(JSONArray.java:161)
	at launcher.objects.Session.setBDA(Session.java:51)
	at launcher.objects.Session.setBDA(Session.java:37)
	at launcher.CaptchaWorkaroundForm$PerformTwoFactor.run(CaptchaWorkaroundForm.java:161)

I don't know if this is due to the fact that my bda ends with a VhIn0= or not.
Do you have an idea on how I can fix this?

Thank you for the project!

@ben-mkiv
Copy link
Contributor

@kihaki
Copy link

kihaki commented Nov 18, 2020

I am encountering the same issue on the current develop branch:

Exception in thread "Thread-6" org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
	at org.json.JSONTokener.syntaxError(JSONTokener.java:505)
	at org.json.JSONArray.<init>(JSONArray.java:108)
	at org.json.JSONArray.<init>(JSONArray.java:161)
	at launcher.objects.Session.setBDA(Session.java:51)
	at launcher.objects.Session.setBDA(Session.java:37)
	at launcher.CaptchaWorkaroundForm$PerformTwoFactor.run(CaptchaWorkaroundForm.java:161)

I guess the server response cannot be parsed. Can we enable logs somehow to log the response? It would probably give you a more clear picture of what is happening.

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

No branches or pull requests

8 participants