retype icon indicating copy to clipboard operation
retype copied to clipboard

adding license to wallet prevents building of non-pro sites

Open fredahrens opened this issue 2 years ago • 5 comments

Hi, as soon as I add a license to the Retype wallet I can no longer build static sites for other domains that do not use any pro-feature and do not exceed the page count limit.

I now get the error message

ERROR: No valid secret found in your wallet for the "url" config host: ...

fredahrens avatar May 18 '23 10:05 fredahrens

Hi @fredahrens. Thanks for the report.

Can you confirm which version of Retype you are using by running the command retype --version?

geoffreymcgill avatar May 18 '23 12:05 geoffreymcgill

Hi, it's v2.4. Best regards Fred Ahrens

sent via my mobile account


From: Geoffrey McGill @.> Sent: Thursday, May 18, 2023 2:22:32 PM To: retypeapp/retype @.> Cc: Fred Ahrens (ZeeBORN) @.>; Mention @.> Subject: Re: [retypeapp/retype] adding license to wallet prevents building of non-pro sites (Issue #549)

Hi @fredahrenshttps://github.com/fredahrens. Thanks for the report.

Can you confirm which version of Retype you are using by running the command retype --version?

— Reply to this email directly, view it on GitHubhttps://github.com/retypeapp/retype/issues/549#issuecomment-1552974498, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE3PTLD3L57IKVS6F5IMJFTXGYIARANCNFSM6AAAAAAYGI4L2I. You are receiving this because you were mentioned.Message ID: @.***>

fredahrens avatar May 18 '23 12:05 fredahrens

I have reproduced and we are looking into this issue.

The steps required to reproduce:

  1. Add a valid key to your wallet using retype wallet --add key-here
  2. Create a new project and set url: example.com in the retype.yml project config file
  3. Run the command retype build on the new project
  4. Error is thrown
ERROR: No valid secret found in your wallet for the "url" config host: "example.com".

If retype watch is used, the error is not thrown.

As well, if using the GitHub Action, the error would not be thrown during the automated build process on GitHub.

The error should only be thrown when calling retype build on your local development machine where a key is installed that does not match the url of the project you are building.

geoffreymcgill avatar May 18 '23 12:05 geoffreymcgill

Hi @fredahrens. As a temp workaround, the following command should build your project:

retype build --secret ""

We are working on a fix so the including --secret "" would not be required.

geoffreymcgill avatar May 19 '23 04:05 geoffreymcgill

Hi @geoffreymcgill , I can confirm, passing an empty secret as parameter works without problems. Thank you.

fredahrens avatar May 19 '23 10:05 fredahrens