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

Axios 1.2.1 in Strapi 4.5.5 breaking things #15398

Closed
justnx opened this issue Jan 10, 2023 · 0 comments · Fixed by #15421
Closed

Axios 1.2.1 in Strapi 4.5.5 breaking things #15398

justnx opened this issue Jan 10, 2023 · 0 comments · Fixed by #15421

Comments

@justnx
Copy link

justnx commented Jan 10, 2023

Bug report

Required System information

  • Node.js version: v16.18
  • NPM version: 8.19.2
  • Strapi version: 4.5.5 and now 4.5.6
  • Database: Postgreql
  • Operating system: Debian Bullseye

Describe the bug

Facing into issues where any Axios calls returning "unexpected end of file"
Strapi 4.5.5 seems to have received an dependency upgrade to Axios 1.2.1 (4.5.4 was Axios 0.27.2) which is affected by a bug.

Steps to reproduce the behavior

  1. Upgrade from Strapi 4.5.4 to 4.5.5 or 4.5.6
  2. Issue a test request in a cron or plugin by executing axios.get request
  3. Request returning "unexpected end of file"
  4. Bug-Report: AxiosError: unexpected end of file axios/axios#5346

Expected behavior

An working response like in previous build.
@gu-stav Axios:

"axios": "1.2.1",

should get replaced by: 1.2.2 asap!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant