Comments (7)
Hi, @ankane
Thanks for your response!
The file is blazer
html.
blazer
html have a link field in Response Headers which have many preload links.
That's why I got an error on Nginx.
Of course, I can solve this error by increasing the buffer size(ref), but there is a better option like this issue title
from blazer.
Hey @rikoroku, which files get that error?
from blazer.
Hey @rikoroku, it looks the page is returning a 200. Can you paste the nginx logs (with any sensitive info removed)?
I don't think a bundler should be needed (we can switch to minified assets instead), but I'm not sure how common the issue is, so probably won't make any changes now.
from blazer.
It looks like the largest asset file is under 1MB, which nginx should have no problem serving, so seems like something else may be going on.
from blazer.
I'm using Propshaft and I'm having the same issue. I can see in the logs the rails app returns a 200 on the /blazer
route but then nginx throws a 502 Bad Gateway
, nginx logs only say:
*3436865 upstream sent too big header while reading response header from upstream
I'm not able to see anything from the response in the browser.
from blazer.
Maybe the more feasible solution is using the import-map approach since I can tell there is no need of compilation of the blazer assets since they all are vanilla css and js.
from blazer.
Ah, didn't understand the issue earlier. It looks like Rails expects proxies to be able to handle up to 8,000 bytes. The value is currently hardcoded, but it'd be good to submit a PR to Action View to make it configurable for those who need this (since it can affect more than just Blazer). Another option for users is to disable the Link
header:
config.action_view.preload_links_header = false
from blazer.
Related Issues (20)
- [Idea] ChatGPT integration HOT 1
- [idea] specify url options when crafting a url for slack notification HOT 1
- [Idea] Disable Smart Column per query HOT 1
- [Idea] Smart Columns from another data source HOT 1
- [3.0.0] Blank page on new query HOT 2
- [Idea, PR offer] Inheriting from ApplicationController can cause issues, consider configurable base controller? HOT 1
- suser specific db access HOT 1
- Queries with variables fail on Sqlite if prepared statements are disabled. HOT 2
- [Idea] change data_sorces based on some conditions
- Upgrade to latest from 2.6 HOT 1
- [Questions] Version control queries + Slack notification setup HOT 1
- Allow DB host with characters HOT 5
- [Idea] Using blazer with a DuckDB adapter HOT 1
- Trilogy adapter incompatible with non-ascii column names HOT 4
- [Idea] Cohort upgrades HOT 3
- Best practices in production HOT 2
- TypeError: Vue is not a constructor HOT 4
- generating a variable based on request.host HOT 2
- Incompatible character encodings error while rendering results HOT 1
- Connection pool issue when using Blazer with a read replica and Rails automatic connection switching HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazer.