minecraft-linux / mcpelauncher-manifest

The main repository for the Linux and Mac OS Bedrock edition Minecraft launcher.
https://minecraft-linux.github.io
GNU General Public License v3.0
937 stars 100 forks source link

No auth cookie field returned in AppImage #222

Open junetried opened 4 years ago

junetried commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

yjacks commented 3 years ago

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

galenzhao commented 2 years ago

same here, with https://github.com/ChristopherHX/osx-packaging-scripts/releases/download/v0.3.2-360/Minecraft_Bedrock_Launcher_v0.3.2-macOS-x86_64-0.2.360_macOS_10.13.0.dmg