Giter Club home page Giter Club logo

Comments (5)

dosubot avatar dosubot commented on July 30, 2024 3

To address the issue with JS and CSS resources not loading, consider the following steps:

  1. Check for Browser Extensions: Disable any extensions that might block resources, or try accessing the site in incognito mode or a different browser.

  2. 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 in allow_origins.

  3. 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 the docker-compose.yml under the frontend service.

  4. 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.

  5. 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.

  6. LangChainDeprecationWarnings: Update your code to replace deprecated LangChain library features with their latest versions.

  7. Flower Inspection Issues: Check Flower's configuration and dashboard to ensure it's correctly monitoring Celery workers.

  8. 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


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.

StanGirard avatar StanGirard commented on July 30, 2024 2

Make sure to change the env variable specified in https://docs.quivr.app/deployment/digital_ocean part 9 ;)

from quivr.

dosubot avatar dosubot commented on July 30, 2024

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.

StanGirard avatar StanGirard commented on July 30, 2024

It should be 192.168.0.18 in your FRONTEND URL env variable

from quivr.

runningcd avatar runningcd commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.