Skip to content
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

The local intranet environment is unavailable due to the need to call the CDN. #7043

Closed
1148270327 opened this issue Feb 8, 2025 · 3 comments

Comments

@1148270327
Copy link

After installing using Docker on the internal server, it was found that the page fails to load and freezes. Later analysis revealed that the page attempts to call src="https://browser.sentry-cdn.com/5.17.0/bundle.min.js", as well as https://o227124.ingest.sentry.io/.

Yes,can you change the external dependencies to local resources so that the product can be used locally. thanks

@heidi-humansignal
Copy link
Collaborator

Hello,

Thank you for contacting Label Studio,

in order to run Label Studio offline without external dependencies, we recommend disabling Sentry and analytics. This is achieved by setting the following environment variables when you start your Docker container:

SENTRY_DSN=FRONTEND_SENTRY_DSN=COLLECT_ANALYTICS=False

For example, in your Docker run command, you can include them as:

docker run -it \ -e SENTRY_DSN='' \ -e FRONTEND_SENTRY_DSN='' \ -e COLLECT_ANALYTICS=False \ -p <port>:8080 \ heartexlabs/label-studio:latest

This configuration will prevent Label Studio from trying to load the Sentry script (the one at “https://browser.sentry-cdn.com/5.17.0/bundle.min.js”) and stop calls to “https://o227124.ingest.sentry.io/”, making the product fully self-contained for local use.

I hope this helps you get Label Studio running smoothly in your environment. If you need further clarification or assistance, please let me know.

Comment by Oussama Assili
Workflow Run

@1148270327
Copy link
Author

Hello,

Thank you for contacting Label Studio,

in order to run Label Studio offline without external dependencies, we recommend disabling Sentry and analytics. This is achieved by setting the following environment variables when you start your Docker container:

SENTRY_DSN=FRONTEND_SENTRY_DSN=COLLECT_ANALYTICS=False

For example, in your Docker run command, you can include them as:

docker run -it \ -e SENTRY_DSN='' \ -e FRONTEND_SENTRY_DSN='' \ -e COLLECT_ANALYTICS=False \ -p <port>:8080 \ heartexlabs/label-studio:latest

This configuration will prevent Label Studio from trying to load the Sentry script (the one at “https://browser.sentry-cdn.com/5.17.0/bundle.min.js”) and stop calls to “https://o227124.ingest.sentry.io/”, making the product fully self-contained for local use.

I hope this helps you get Label Studio running smoothly in your environment. If you need further clarification or assistance, please let me know.

Comment by Oussama Assili
Workflow Run

its helped to me! thanks.

@heidi-humansignal
Copy link
Collaborator

Great! we are happy to help you.

We are going to close the ticket for now. and if you need additional support, feel free to reach out!

Thank you

Comment by Oussama Assili
Workflow Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants