question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IPX not working on Netlify (500 error)

See original GitHub issue

Hello 👋,

I remarked that IPX provider wasn’t working when I was publishing on Netlify. I don’t have this problem when running the built app with nuxt preview command

Error log : screen

cc @pi0

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:11
  • Comments:8

github_iconTop GitHub Comments

5reactions
Marius-McFlycommented, Aug 11, 2022

I have the same issue 😕

2reactions
ankiteshjhacommented, Oct 28, 2022

here is a temporary fix, add a reverse proxy block in NGINX.

location /_ipx/_/ { rewrite /_ipx/_/(.*) /$1 break; proxy_pass http://127.0.0.1:4002/$1; }

where in i am running the nuxt config in port 4002.

here is a complete config.

`server { listen 3999; listen [::]:3999; try_files $uri /index.html; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://127.0.0.1:4002; proxy_redirect off; }

location /ipx// { rewrite /ipx//(.*) /$1 break; proxy_pass http://127.0.0.1:4002/$1; }

}`

Read more comments on GitHub >

github_iconTop Results From Across the Web

Netlify Next.js images throw IPX Error 500 - Support
Our next.js website hosted on netlify using @netlify/plugin-nextjs is facing issues with few images when deployed to production.
Read more >
Netlify IPX Error (500) while loading static images
Then, I paid attention, that there are no static png/jpeg pictures, and networks show this error in response (status 500): IPX Error (500)....
Read more >
IPX - Nuxt Image
Just add @nuxt/image to modules (instead of buildModules ) in nuxt.config . This will ensure that the /_ipx endpoint continues to work in...
Read more >
Error at login & in logs for netlify plugin search
Internal Error : Got status code 500 from /api/netlify/me Maximum ... 3:54:11 PM: Report issues: Issues · algolia/algoliasearch-netlify · ...
Read more >
@netlify/plugin-nextjs - npm
Start using @netlify/plugin-nextjs in your project by running `npm i @netlify/plugin-nextjs`. There is 1 other project in the npm registry ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found