-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Uncaught DOMException: Quota Exceeded #98
Comments
Will there be this problem with |
So I tried binding the container to the host and accessing directly via port 3000, disabled COOKIE_SECURE and you're right, the Storage seems to sit between 1-3MB when moving between pages as opposed to very quickly getting to several hundred MB and hitting the Quota, pointing to a likely reverse proxy issue as you suggest. However, I'm unsure as to what could be causing this with the reverse proxy, as I access other reverse proxied services fine utilising the same approach as shown below. When using my domain for https the docker-compose for Notea file contains:
And using the Caddy file in the most common way to access a proxied service, my file contains:
Do you think this could be an issue regarding the configuration of MINIO for the S3 Storage? |
I'm not sure, I use nginx + docker, this is my configuration. # minio.cinwell.com.conf
server {
listen 80;
listen 443 ssl;
server_name minio.cinwell.com;
ssl_certificate /etc/nginx/ssl/*.cinwell.com.pem;
ssl_certificate_key /etc/nginx/ssl/*.cinwell.com.key;
location / {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:9001;
}
}
# notea.cinwell.com.conf
server {
listen 80;
listen 443 ssl;
server_name notea.cinwell.com;
ssl_certificate /etc/nginx/ssl/*.cinwell.com.pem;
ssl_certificate_key /etc/nginx/ssl/*.cinwell.com.key;
location / {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:3001;
}
} run docker
|
I've tried disabling caddy and setting up a fresh Nginx Docker using your suggested recommendation. However, I'm still seeing the issue after browsing a couple of pages of my notes.
Below is my Minio Docker configuration which I suppose is the last thing that could be causing the issue: version: '3'
services:
notea-s3:
restart: always
image: minio/minio
container_name: notea-s3
environment:
MINIO_ACCESS_KEY: <MINIO_ACCESS_KEY>
MINIO_SECRET_KEY: <MINIO_SECRET_KEY>
MINIO_BROWSER_REDIRECT_URL: https://s3-console.mydomain.com
volumes:
- ./minio-data:/data
entrypoint: sh
expose:
- 9000
- 9001
command: -c 'mkdir -p /data/notea && /usr/bin/minio server /data --console-address :9001 --address :9000'
networks:
default:
ipv4_address: 192.168.10.14 |
Can you reproduce the problem in https://notea.cinwell.com? This is my test result, the cache storage did not increase when opening multiple tabs. |
I can't seem to reproduce this issue on the website, however I seem to be unable to upload large images on your site, which is most of what my notes contain (Mainly Large Windows+Shift+S Snippets). - I'm not saying this is the cause, just a potential variable for figuring out what's causing my problem. When uploading larger screen-captures to https://notea.cinwell.com/ I see the following: I can only assume that the caching is likely from the images rather than text. On average there are anywhere between 10-30 images with multiple text chunks in-between on most of my note pages. |
Previously, image resources were cached in cache storage by default, so I removed this configuration. Now you need to update to |
Current Setup
Describing the Issue
When opening numerous pages one after another, eventually a red error with no context will animate and loop at the bottom of the screen as the page continually jumps about - making typing or viewing notes impossible.
Checking the web console I see the following messages when this happens.
Googling the issue points to application storage being exceeded - checking the Storage tab when this shows this is the case. Each new page opened seems to almost (but not always) increase this storage quota, sometimes exceeding it.
In order to fix this issue I have to Control + Refresh in chrome or to manually clear the cache on the storage tab.
The text was updated successfully, but these errors were encountered: