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

Cannot login: worker error during init #2

Open
rinigus opened this issue Nov 30, 2021 · 7 comments
Open

Cannot login: worker error during init #2

rinigus opened this issue Nov 30, 2021 · 7 comments
Labels
64-bit bug Something isn't working closing-candidate

Comments

@rinigus
Copy link

rinigus commented Nov 30, 2021

When trying to login, I am getting a message "Something is wrong: worker error during init". No useful output in STDOUT, as far as I can tell. Not sure where the logs are saved when corresponding log button is pressed in UI.

PS: Forgot to mention: SFOS 4.2.0.21
PPS: Same on SFOS 4.3.0.12

@thigg
Copy link
Collaborator

thigg commented Nov 30, 2021

Yeah the log is flawed. I got a version where I fixed it, but these were quite heavy (and ugly) modifications on the source.
If I remember correctly, the export button is broken. You can try to run it with EMBED_CONSOLE=1 sailfish-qml harbour-hydrogen. That could give a bit more information.

Is this a 64bit device? I haven't tested that. But otherwise I am surprised, because the browser should be the same

@rinigus
Copy link
Author

rinigus commented Nov 30, 2021

It is 64 bit device (Sony Tama family, XZ2). Actually, I should be able to test using Hydrogen from browser, I guess.

With the logging enabled (here it was immediately trying to get in with my saved password):

greHome from GRE_HOME:/usr/bin
libxul.so is not found, in /usr/bin/libxul.so
[D] onCompleted:580 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
JSComp: EmbedLiteConsoleListener.js loaded
JSComp: EmbedLiteErrorPageHandler.js loaded
JSComp: EmbedLiteFaviconService.js loaded
JSComp: EmbedLiteGlobalHelper.js loaded
EmbedLiteGlobalHelper app-startup
JSComp: EmbedLiteOrientationChangeHandler.js loaded
JSComp: EmbedLiteSearchEngine.js loaded
JSComp: EmbedLiteSyncService.js loaded
EmbedLiteSyncService app-startup
JSComp: EmbedLiteWebrtcUI.js: loaded
JSComp: EmbedLiteWebrtcUI.js: got app-startup
JSComp: EmbedPrefService.js loaded
EmbedPrefService app-startup
JSComp: EmbedliteDownloadManager.js loaded
JSComp: LoginsHelper.js loaded
JSComp: PrivateDataManager.js loaded
JSComp: UserAgentOverrideHelper.js loaded
UserAgentOverrideHelper app-startup
Attempting load of libEGL.so
=============== Preparing offscreen rendering context ===============
[D] onViewInitialized:16 - loading framescript
CONSOLE message:
OpenGL compositor Initialized Succesfully.
Version: OpenGL ES 3.2 [email protected] (GIT@248cd04, I42b5383e2c, 1569430435) (Date:09/25/19)
Vendor: Qualcomm
Renderer: Adreno (TM) 630
FBO Texture Target: TEXTURE_2D
JSScript: ContextMenuHandler.js loaded
JSScript: SelectionPrototype.js loaded
JSScript: SelectionHandler.js loaded
JSScript: SelectAsyncHelper.js loaded
EmbedHelper init called
Frame script: embedhelper.js loaded
[D] onRecvAsyncMessage:27 - Message: "embed:contentOrientationChanged" data: {"orientation":"portrait-primary"}
[D] QMozSecurity::importState:243 - Security state could not be imported: empty status
CONSOLE message:
Security Error: Content at file:///usr/share/harbour-hydrogen/hydrogen/index.html may not load data from file:///usr/share/harbour-hydrogen/hydrogen/null.
CONSOLE message:
Security Error: Content at file:///usr/share/harbour-hydrogen/hydrogen/index.html may not load data from file:///usr/share/harbour-hydrogen/hydrogen/null.
CONSOLE message:
Security Error: Content at file:///usr/share/harbour-hydrogen/hydrogen/index.html may not load data from file:///usr/share/harbour-hydrogen/hydrogen/null.
CONSOLE message:
Security Error: Content at file:///usr/share/harbour-hydrogen/hydrogen/index.html may not load data from file:///usr/share/harbour-hydrogen/hydrogen/null.
JavaScript error: file:///usr/share/harbour-hydrogen/hydrogen/hydrogen-1847386029.js, line 9475: Error: worker error during init
CONSOLE message:
[JavaScript Error: "Error: worker error during init" {file: "file:///usr/share/harbour-hydrogen/hydrogen/hydrogen-1847386029.js" line: 9475}]
[D] onRecvAsyncMessage:27 - Message: "embed:linkclicked" data: {"uri":"file:///usr/share/harbour-hydrogen/hydrogen/index.html#/login"}
JavaScript error: resource://gre/modules/LoginManagerParent.jsm, line 451: TypeError: cannot use the given object as a weak map key
CONSOLE message:
[JavaScript Error: "TypeError: cannot use the given object as a weak map key" {file: "resource://gre/modules/LoginManagerParent.jsm" line: 451}]

@rinigus
Copy link
Author

rinigus commented Nov 30, 2021

Directly from web didn't work either - just blank screen. So, hopefully log is telling you something...

@thigg
Copy link
Collaborator

thigg commented Nov 30, 2021

yeah, I have the same problem on my xperia 10 II. It looks like there is a difference between the XA2 and 10II (maybe 64 bit)

@thigg
Copy link
Collaborator

thigg commented Nov 30, 2021

For reference, the same log on my working XA2:

$ EMBED_CONSOLE=1  sailfish-qml harbour-hydro
gen
[D] unknown:0 - Using Wayland-EGL
greHome from GRE_HOME:/usr/bin
libxul.so is not found, in /usr/bin/libxul.so
[D] onCompleted:580 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component
JSComp: EmbedLiteConsoleListener.js loaded
JSComp: ContentPermissionManager.js loaded
JSComp: EmbedLiteChromeManager.js loaded
JSComp: EmbedLiteErrorPageHandler.js loaded
JSComp: EmbedLiteFaviconService.js loaded
JSComp: EmbedLiteGlobalHelper.js loaded
EmbedLiteGlobalHelper app-startup
JSComp: EmbedLiteOrientationChangeHandler.js loaded
JSComp: EmbedLiteSearchEngine.js loaded
JSComp: EmbedLiteSyncService.js loaded
EmbedLiteSyncService app-startup
JSComp: EmbedLiteWebrtcUI.js: loaded
JSComp: EmbedLiteWebrtcUI.js: got app-startup
JSComp: EmbedPrefService.js loaded
EmbedPrefService app-startup
JSComp: EmbedliteDownloadManager.js loaded
JSComp: LoginsHelper.js loaded
JSComp: PrivateDataManager.js loaded
JSComp: UserAgentOverrideHelper.js loaded
UserAgentOverrideHelper app-startup
Attempting load of libEGL.so
=============== Preparing offscreen rendering context ===============
[D] onViewInitialized:16 - loading framescript
CONSOLE message:
OpenGL compositor Initialized Succesfully.
Version: OpenGL ES 3.2 [email protected] (GIT@1dcb581, I26dffed9a4) (Date:01/10/18)
Vendor: Qualcomm
Renderer: Adreno (TM) 508
FBO Texture Target: TEXTURE_2D
JSScript: ContextMenuHandler.js loaded
JSScript: SelectionPrototype.js loaded
JSScript: SelectionHandler.js loaded
JSScript: SelectAsyncHelper.js loaded
JSScript: FormAssistant.js loaded
EmbedHelper init called
Available locales: en-US, fi, ru
Frame script: embedhelper.js loaded
[D] onRecvAsyncMessage:27 - Message: "embed:contentOrientationChanged" data: {"orientation":"portrait-primary"}
[D] QMozSecurity::importState:243 - Security state could not be imported: empty status

@thigg
Copy link
Collaborator

thigg commented Nov 30, 2021

I could not find anything so far. For some reason the Browsers does different stuff.

I could not find a way to figure out what causes the null requests yet.

@thigg thigg added 64-bit bug Something isn't working labels Dec 2, 2021
@b100dian
Copy link
Contributor

Is this still happening lately / from 0.4.x on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
64-bit bug Something isn't working closing-candidate
Projects
None yet
Development

No branches or pull requests

3 participants