massalabs / station

A gateway to the Massa blockchain
https://station.massa.net
27 stars 107 forks source link

Error Massa Wallet installation + error with Massa Sation #1329

Open slayer0321 opened 7 months ago

slayer0321 commented 7 months ago

Hi,

I can't install Massa Station. When I install it, I can see after the installation that an icon quickly popup on the dock, then is closed immediately. Then I have a message: "The module is not working. Please delete it and then reinstall it."

If I uninstall it, then reinstall it, if I'm quick enough before having the error message, and I try to manually launch it from http://127.0.0.1/web/store , a new page will open at "http://127.0.0.1/plugin/massa-labs/massa-wallet/" and shows this error: "operation PluginRouter has not yet been implemented"

I also have a problem with Massa Station. When Massa Station is launched, I don't have access to http://station.massa/ , I must connect via http://127.0.0.1/ If I try to launch Massa station using cli from /Applications/MassaStation.app/Contents/MacOS/massastation the logs are:

% /Applications/MassaStation.app/Contents/MacOS/massastation ; exit; 2024-01-30T07:42:03.909+0800 WARN Error while checking NSS: failed to instantiate the certutil runner: failed to find certutil binary: exec: "certutil": executable file not found in $PATH. 2024-01-30T07:42:03.910+0800 WARN Station will only work using http, or you will have to add the CA to your browser manually. 2024-01-30 07:42:06.428 massastation[7930:534343] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. 2024-01-30T07:42:08.282+0800 INFO Serving massastation at http://[::]:80 2024-01-30T07:42:08.282+0800 INFO Serving massastation at https://[::]:443

MassaStation version The version of MassaStation is v0.6.2

Massa Wallet Version : v0.3.1

Macbook Air M2 - Macos Sonoma 14.3 Chrome and Firefox

SlnPons commented 3 months ago

@Thykof could you check this bug please?

Thykof commented 3 months ago

Hi @slayer0321 thank you for reporting your issue.

Your logs tell that certutil can't be find, so the certificates to be able to access Massa Station and Massa Wallet with HTTPS can't be installed correctly. So you can access without HTTPS: To access Massa station and install the wallet: http://station.massa/web/store To access the wallet: http://station.massa/plugin/massa-labs/massa-wallet/web-app/account-select

This URL: http://127.0.0.1/plugin/massa-labs/massa-wallet is in fact not expected to work (I have the same error as you).

So, tell us if you can access to the wallet without https, then we will dig the certificate issue.

Thykof commented 3 months ago

@thomas-senechal do you have an idea why certutil could not be find?