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

No auth cookie field returned in AppImage #222

Open
junetried opened this issue Jan 21, 2020 · 5 comments
Open

No auth cookie field returned in AppImage #222

junetried opened this issue Jan 21, 2020 · 5 comments
Labels
legacy (unsupported) Now unsupported, only compatible with 0.12-1.13.0.6, 1.13.0.15, 1.13.0.34, 1.14.1.3, 1.14.1.5

Comments

@junetried
Copy link

After signing into Google and agreeing to the ToS, the sign in window will close as will the launcher window, and the following error is returned in the console output:

terminate called after throwing an instance of 'std::runtime_error'
  what():  No auth cookie field returned
/tmp/.mount_mcpelarWjvRU/usr/bin/mcpelauncher-ui-qt.startme: line 3: 21810 Aborted                 (core dumped) mcpelauncher-ui-qt

I can reproduce this on openSUSE Tumbleweed and openSUSE Leap 15.1, and a Fedora user reports this as well. The issue is present with both the provided AppImage in releases and AppImages from my own deb2appimage configuration. Strangely enough, users on Ubuntu are seemingly able to run the AppImage without this issue.

@KokoseiJ
Copy link

Having a same issue, I am currently using Fedora 31.

This is the output, removed http request link due to security:

~/Downloads > LD_PRELOAD=/usr/lib64/libnss3.so ./Minecraft_Bedrock_Launcher.AppImage
qrc:/qml/ThemedControls/PlayButton.qml:8:30: Unable to assign null to QString
Version list loaded, entry count: 155
js: The source list for Content Security Policy directive 'script-src' contains an invalid source: ''report-sample''. It will be ignored.
js: The source list for Content Security Policy directive 'script-src' contains an invalid source: ''report-sample''. It will be ignored.
js: The source list for Content Security Policy directive 'script-src' contains an invalid source: ''report-sample''. It will be ignored.
js: The source list for Content Security Policy directive 'script-src' contains an invalid source: ''report-sample''. It will be ignored.
js: The source list for Content Security Policy directive 'script-src' contains an invalid source: ''report-sample''. It will be ignored.
http request: [Removed]
http response body: 
terminate called after throwing an instance of 'std::runtime_error'
  what():  No auth cookie field returned
[1]    45111 abort (core dumped)  LD_PRELOAD=/usr/lib64/libnss3.so ./Minecraft_Bedrock_Launcher.AppImage

I was using the provided AppImage in releases.
I'd love to provide more informations about it if needed.

@junetried
Copy link
Author

I've managed to create a configuration that does not experience this bug. AppImage can be found here.
I updated the configurations to not include curl, which seems like the cause of the issue. If so, the provided AppImage release is possibly also bundled with curl. Here is a before/after comparison for this change. Note that the older commit reproduces this issue.

@ChristopherHX
Copy link
Member

curl in the appimage just not finds ca-certificates on the location ubuntu's curl searches

@ghost
Copy link

ghost commented Aug 17, 2021

我也遇到了同樣地錯誤,報錯等與樓主相同

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy (unsupported) Now unsupported, only compatible with 0.12-1.13.0.6, 1.13.0.15, 1.13.0.34, 1.14.1.3, 1.14.1.5
Projects
None yet
Development

No branches or pull requests

4 participants