label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

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?

Open gdw439 opened this issue 2 years ago • 3 comments

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.

gdw439 avatar Nov 13 '24 02:11 gdw439

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

heidi-humansignal avatar Nov 14 '24 19:11 heidi-humansignal

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 avatar Nov 18 '24 12:11 gdw439

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.

gdw439 avatar Nov 18 '24 12:11 gdw439