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.

Frontend is not available (behind a reverse proxy, e.g. via heroku)

See original GitHub issue
Overview of the issue

The newly introduced caching configuration makes the frontend not delivered when deployed on heroku (but I guess it a more general problem).

Motivation for or Use Case

It should just work.

Reproduce the error

Generate an application (from latest master) and deploy it to heroku. You will see the failure pacman. If you disable or remove the new StaticResourcesWebConfiguration it just works fine. The error I see in the heroku logs is a 404 when requesting the static resources.

Suggest a Fix

Not sure, disabling the StaticResourcesWebConfiguration is not good as caching will be affected.

JHipster Version(s)

Latest master

  • Checking this box is mandatory (this is just to show you read everything)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
atomfredecommented, May 6, 2020

Just checked it with heroku and it works fine, thanks @pascalgrimaud & @monxxi

1reaction
pascalgrimaudcommented, May 5, 2020

need to investigate, as it works with default packaging in local but it’s broken behind a reverse proxy ?

cc @monxxi

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting Up Reverse Proxy in Heroku Using Nginx
In this blog post, we will show you how to deploy nginx as a reverse proxy on Heroku.
Read more >
Fixing the CORS error by hosting your own proxy on Heroku
It is a Node.js reverse proxy that adds CORS headers to our API requests. ... step-by-step process of installing and using the Heroku...
Read more >
Add a reverse proxy to heroku - Stack Overflow
This will place nginx in front of your rails app, and allow you to reverse proxy requests on this domain, having your heroku...
Read more >
How to Setup Proxy Server for ReactJS and Node on Heroku ...
This article will walk you step by step on how to setup a proxy on Heroku using Docker and Nginx. I will also...
Read more >
HTTP Routing | Heroku Dev Center
There is no coordination between routers however, so this request limit ... Heroku HTTP Request ID; Via : a code name for the...
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