NethServer / nethsecurity

NethSecurity image and build environment
https://www.nethsecurity.org/
Other
98 stars 6 forks source link

Subscription: can't register a community subscription #491

Closed gsanchietti closed 5 months ago

gsanchietti commented 5 months ago

Steps to reproduce

Expected behavior

The machine should be registered correctly using the token generated by my.nethserver.com.

Actual behavior

After pasting the token to activate the subscription on the firewall, the machine is not registered correctly. The server returns the error: {"error": "invalid_secret_or_server_not_found"}.

Components

NethSecurity version: 8-23.05.3-ns.0.0.3-rc1-80-g615c01e

See also

https://community.nethserver.org/t/openvpn-ubus-request-failed/23509


Thanks to MadPatrick for reporing

github-actions[bot] commented 5 months ago

Testing image version: 8-23.05.3-ns.0.0.5-rc2-12-g5a5ddba

andre8244 commented 5 months ago

QA: the machine is successfully registered, but the displayed expiration date is wrong, e.g. "1/20/1970"

MadPatrick commented 5 months ago

Update to 8-23.05.3-ns.0.0.5-rc2-12-g5a5ddba and subscription is working. Indeed strange date : 20-1-1970 in https://my.nethserver.com/servers you see a correct date

After update to 8-23.05.3-ns.0.0.5-rc2-12-g5a5ddba i get a message to update to NethSecurity 8-23.05.3-ns.0.0.5-rc2 Looks like a downgrade ?

image

andre8244 commented 5 months ago

@MadPatrick we just fixed the expiration date, we are building a new release including the fix.

About the update/downgrade, that's expected: subscription users have access to stable versions only, and RC2 is currently the latest "stable" release. Moreover, only stable versions are officially supported (if included in your subscription plan).

MadPatrick commented 5 months ago

Ok. That makes sense. Then i'll stay unregistered for the moment ;-)

andre8244 commented 5 months ago

Subscription expiration date has been fixed in 23.05.3-ns.0.0.5-rc2-26-gb3db7a3

andre8244 commented 5 months ago

Verified