AlCalzone / release-script

Painless release management for Node.js projects
MIT License
14 stars 10 forks source link

Could not translate the news: AxiosError: Request failed with status code 504 #128

Open SKB-CGN opened 2 years ago

SKB-CGN commented 2 years ago

Hi, the Command: sudo -u pi npm run release -- -p iobroker license

currently posts the following output: check:git git status ok ✔ check:package package.json ok ✔ check:changelog changelog ok ✔ check:iobroker io-package.json ok ✔ check:version Bumping version from 0.7.0 to 0.7.1 ✔ edit:package updating package.json version from 0.7.0 to 0.7.1 edit:changelog Updating changelog in README.md edit:iobroker updating io-package.json version to 0.7.1 edit:iobroker updating news in io-package.json edit:iobroker adding new news to io-package.json edit:iobroker [FATAL] Could not translate the news: AxiosError: Request failed with status code 504

Therefore, the Version is updated in certain files, while io-pckage.json is not update due to the above mentioned error.

The changes were: chore(deps-dev): bump eslint from 8.19.0 to 8.20.0 chore(deps-dev): bump @types/node from 18.0.1 to 18.6.3 chore(deps-dev): bump @types/sinon from 10.0.12 to 10.0.13

SKB-CGN commented 2 years ago

Noted, this error comes, if the elements under WORK IN PROGRESS are too high >6

afuerhoff commented 1 year ago

I have the same error today. Elements under WORK IN PROGRESS only two.

edit:iobroker updating news in io-package.json edit:iobroker adding new news to io-package.json edit:iobroker [FATAL] Could not translate the news: AxiosError: Request failed with status code 504

EDIT: @AlCalzone These url is not working -> https://translator.iobroker.in/translator Could it be that this is the problem? I found it in the code.

AlCalzone commented 1 year ago

@Apollon77 is this because of your outage?

Apollon77 commented 1 year ago

Yes - sorry

raintonr commented 1 year ago

I'm seeing this error today. https://translator.iobroker.in/translator works fine in the browser but I get:

$ npm run release

> iobroker.hikvision-alarmserver@0.0.5 release
> release-script

git status is good - I can continue...
bumping version 0.0.5 to patch version 0.0.6

updating package.json from 0.0.5 to 0.0.6
updating README.md
updating io-package.json from 0.0.5 to 0.0.6
adding new news to io-package.json...

ERROR: could not translate the news: Error: Request failed with status code 504
Apollon77 commented 1 year ago

Yes, The Internt to the system where the translatioon servcie is hosted is still down ... please be patient

afuerhoff commented 1 year ago

Hello, now it's running without errors.

Apollon77 commented 1 year ago

Yes, internet fixed after 2,5days

misanorot commented 1 year ago

I'm seeing this error today. https://translator.iobroker.in/translator works fine in the browser but I get:

$ npm run release

> iobroker.hikvision-alarmserver@0.0.5 release
> release-script

git status is good - I can continue...
bumping version 0.0.5 to patch version 0.0.6

updating package.json from 0.0.5 to 0.0.6
updating README.md
updating io-package.json from 0.0.5 to 0.0.6
adding new news to io-package.json...

ERROR: could not translate the news: Error: Request failed with status code 504

Same issue here. Yesterday morning it runs perfectly, but since yesterday evening until now, the it doesn't work!

Apollon77 commented 1 year ago

All fine ... how log the changelog is? Maybe it is too long?

misanorot commented 1 year ago

All fine ... how log the changelog is? Maybe it is too long?

I will check it tomorrow. Thx

SKB-CGN commented 1 year ago

Again up with this error, i there are to many elements inside the "WORK IN PROGRESS" list