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

When I deploy Label Studio on the server, I can access the annotation page normally on the server. However, when trying to access the server page from another computer, it keeps loading. How can I resolve this issue? #6640

Closed
gdw439 opened this issue Nov 13, 2024 · 3 comments

Comments

@gdw439
Copy link

gdw439 commented Nov 13, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Label Studio Version [e.g. 0.8.0]

Additional context
Add any other context about the problem here.

@heidi-humansignal
Copy link
Collaborator

Hello,

Can you please provide a little bit more of information? Are you exposing the correct ports on the server? Is the server setup to be able to expose LS url?

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

@gdw439
Copy link
Author

gdw439 commented Nov 18, 2024

my brower show as below,
image

and the server print as below,

(label-studio) user@ubuntu:~$ label-studio --port 12334
=> Database and media directory: /home/user/.local/share/label-studio
=> Static URL is set to: /static/
=> Database and media directory: /home/user/.local/share/label-studio
=> Static URL is set to: /static/
Read environment variables from: /home/user/.local/share/label-studio/.env
get 'SECRET_KEY' casted as '<class 'str'>' with default ''
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /pypi/label-studio/json HTTP/1.1" 200 33344
November 18, 2024 - 12:37:05
Django version 4.2.16, using settings 'label_studio.core.settings.label_studio'
Starting development server at http://0.0.0.0:12334/
Quit the server with CONTROL-C.

[2024-11-18 12:37:23,427] [django.server::log_message::212] [INFO] "GET / HTTP/1.1" 302 0
[2024-11-18 12:37:23,427] [django.server::log_message::212] [INFO] "GET / HTTP/1.1" 302 0
[2024-11-18 12:37:23,493] [django.server::log_message::212] [INFO] "GET /user/login/ HTTP/1.1" 200 5600
[2024-11-18 12:37:23,493] [django.server::log_message::212] [INFO] "GET /user/login/ HTTP/1.1" 200 5600
[2024-11-18 12:37:23,551] [django.server::log_message::212] [INFO] "GET /static/css/main.03e0d1342adf.css HTTP/1.1" 200 15925
[2024-11-18 12:37:23,551] [django.server::log_message::212] [INFO] "GET /static/css/main.03e0d1342adf.css HTTP/1.1" 200 15925
[2024-11-18 12:37:23,592] [django.server::log_message::212] [INFO] "GET /static/css/fonts.hellix.ad84997f14b9.css HTTP/1.1" 200 366
[2024-11-18 12:37:23,592] [django.server::log_message::212] [INFO] "GET /static/css/fonts.hellix.ad84997f14b9.css HTTP/1.1" 200 366
[2024-11-18 12:37:23,599] [django.server::log_message::212] [INFO] "GET /static/images/human_signal_logo.97adf6f9a70c.svg HTTP/1.1" 200 5248
[2024-11-18 12:37:23,599] [django.server::log_message::212] [INFO] "GET /static/images/human_signal_logo.97adf6f9a70c.svg HTTP/1.1" 200 5248
[2024-11-18 12:37:23,602] [django.server::log_message::212] [INFO] "GET /static/css/login.631a64478927.css HTTP/1.1" 200 6123
[2024-11-18 12:37:23,602] [django.server::log_message::212] [INFO] "GET /static/css/login.631a64478927.css HTTP/1.1" 200 6123
[2024-11-18 12:37:23,604] [django.server::log_message::212] [INFO] "GET /static/icons/logo-black.64a55656e13e.svg HTTP/1.1" 200 9254
[2024-11-18 12:37:23,604] [django.server::log_message::212] [INFO] "GET /static/icons/logo-black.64a55656e13e.svg HTTP/1.1" 200 9254
[2024-11-18 12:37:23,605] [django.server::log_message::212] [INFO] "GET /react-app/main.css?v=1873ab HTTP/1.1" 200 97182
[2024-11-18 12:37:23,605] [django.server::log_message::212] [INFO] "GET /react-app/main.css?v=1873ab HTTP/1.1" 200 97182

@gdw439 gdw439 closed this as completed Nov 18, 2024
@gdw439 gdw439 reopened this Nov 18, 2024
@gdw439 gdw439 closed this as completed Nov 18, 2024
@gdw439 gdw439 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2024
@gdw439
Copy link
Author

gdw439 commented Nov 18, 2024

Hello,

Can you please provide a little bit more of information? Are you exposing the correct ports on the server? Is the server setup to be able to expose LS url?

Thank you, Abu

Comment by Abubakar Saad
Workflow Run

I can see the webpage always loading, and the server show logger, so I guess nothing with server or port.

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

No branches or pull requests

2 participants