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

Extension not communicating with the firefoxpwa/Installation not sucesseful #400

Closed
polarfreez opened this issue Sep 26, 2023 · 4 comments
Closed
Labels
bug Something isn't working question Further information is requested

Comments

@polarfreez
Copy link

polarfreez commented Sep 26, 2023

Description

The extension is simply not communicating with the firefoxpwa.exe app. I already try to reinstall runtime, firefoxpwa.exe, the extension itself, but nothing works. "An unexpected error occurred" appears in the extension tab. And when I try to reinstall the firefoxpwa.exe, it doesn't go to the next step after the installation.

Additional Information

I checked the console log of the extension and the error "Error: An unexpected error occurred install.30313083.js:1:3138" appears in it.
"An unexpected error occurred" is show whenever I try to make something in the extension tab.

Environment

  • Operating system: Windows 11 Pro Insider Preview Version 22H2 Build 23550.1000
  • System architecture: x64
  • Installation method: Both via chocolatey and MSI doesn't work
  • PWAsForFirefox extension version: 2.7.3
  • PWAsForFirefox native version: 2.7.3
  • PWAsForFirefox runtime version: 2.7.3
  • Firefox version: 117.0.1
@polarfreez polarfreez added the bug Something isn't working label Sep 26, 2023
@polarfreez polarfreez changed the title An unexpected error occured Extension not communicating with the firefoxpwa/Installation not sucesseful Sep 26, 2023
@filips123
Copy link
Owner

filips123 commented Sep 26, 2023

Please follow troubleshooting tasks to get native logs.

@polarfreez
Copy link
Author

Please follow troubleshooting tasks to get native logs.

I tried to do that, but it didn't gave me the firefoxpwa-stdout.log neither the firefoxpwa-stderr.log

The only thing I have is the firefoxpwa.log
firefoxpwa.log

@filips123
Copy link
Owner

filips123 commented Sep 29, 2023

One error that I can see in the log is that you tried to use a local path for the icon. This is currently not possible and you will have to use icon from URL (see #279 for details).

However, it doesn't show any details why the extension wouldn't work. Because the other two log files didn't appear, it's possible that the extension couldn't even connect to the native program and launch it. To check this, you can delete firefoxpwa.log, again try to use the extension, and check if any log files appear.

If this is the case, maybe you had a per-user installation of PWAsForFirefox that was later changed to per-machine installation, but some registry keys were left over, or the opposite. First check if more PWAsForFirefox installations are listed in the control panel or system settings. Then, check theregistry (with regedit) if you have firefoxpwa key in HKEY_CURRENT_USER\SOFTWARE\Mozilla\NativeMessagingHosts and HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts.

I recommend you follow these steps to properly clear and reinstall PWAsForFirefox. This will not remove your web apps and other data.

@filips123
Copy link
Owner

Were you able to fix this issue? You can also try a few steps that I recently added to the previous comment.

@filips123 filips123 added the question Further information is requested label Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants