Comments (5)
To address the issue with JS and CSS resources not loading, consider the following steps:
-
Check for Browser Extensions: Disable any extensions that might block resources, or try accessing the site in incognito mode or a different browser.
-
Server CORS Policy: Ensure your backend service includes CORS headers to allow resources from the frontend service. For FastAPI, use
CORSMiddleware
to add CORS headers, specifying your frontend URL inallow_origins
. -
Environment Variable: Confirm the
NEXT_PUBLIC_FRONTEND_URL
environment variable is correctly set to your frontend's URL in the.env
file or directly in thedocker-compose.yml
under thefrontend
service. -
Redis Memory Overcommit Warning: This warning suggests the host system may not have enough memory for Redis. Consider increasing your system's memory or configuring Redis to use less memory.
-
Celery Worker Running as Superuser: Running Celery with superuser privileges is not recommended. Create a dedicated user for running the Celery worker to mitigate potential security risks.
-
LangChainDeprecationWarnings: Update your code to replace deprecated LangChain library features with their latest versions.
-
Flower Inspection Issues: Check Flower's configuration and dashboard to ensure it's correctly monitoring Celery workers.
-
Celery Deprecation Warning: Update your code according to the Celery documentation to address features that will be removed in future versions.
By following these steps, you should be able to resolve the loading issues with your JS and CSS resources.
Details
Sources
- Error with Docker compose for backend
- Localhost:3000 doesn't load the app
- Can't access frontend, it will remain loaded and cannot be accessed.
- docker-compose.yml
- docker-compose.redis.yml
- backend/middlewares/cors.py
- .env.example
- docker-compose.dev.yml
- backend/celery_config.py
- backend/celery_worker.py
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
from quivr.
Make sure to change the env variable specified in https://docs.quivr.app/deployment/digital_ocean part 9 ;)
from quivr.
Hey there, @runningcd! 👋 I'm Dosu, a friendly bot here to assist you while we wait for a human maintainer to join. Whether it's squashing bugs, answering questions, or helping you contribute, I've got your back. Let's take a peek at your issue, shall we? I'll have a full answer for you shortly! 🤖
from quivr.
It should be 192.168.0.18 in your FRONTEND URL env variable
from quivr.
Make sure to change the env variable specified in https://docs.quivr.app/deployment/digital_ocean part 9 ;)
@StanGirard It works. Thank you for your help.
from quivr.
Related Issues (20)
- Add Bulk Id in notification Backend and upload/crawl routes HOT 1
- Bulking of Sync, Uploads, Crawl HOT 1
- Display Bulk Notifications with dropdown for errors and loading bar HOT 1
- Mention to the user the brain is processing when he selects the brain HOT 2
- When brain is processing files, display a modal ensuring he still wants to upload new knowledge HOT 1
- Fix docker container backend CI HOT 1
- Separate core quivr models HOT 1
- Define Broker service abstraction HOT 1
- Integrate LeParser to Quivr HOT 1
- Rewrite get_current_user quivr_core HOT 1
- How do I run the Ollama [Bug]: HOT 8
- BUG: ChatHistory get async connection close HOT 3
- [Bug]: An error occurred while processing the file: 'File' object has no attribute 'file' HOT 4
- Refacto the File class HOT 1
- Enhanced Parsing HOT 1
- Rewrite the Neuron class HOT 1
- Parse celery config from env HOT 1
- [Bug]: Response duplicated HOT 12
- [Feature]: graph rag HOT 2
- [Bug]: Error response from daemon: No such image: backend-base:latest HOT 11
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 quivr.