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

Infinite loading after task creation #5486

Closed
2 tasks done
kimSooHyun950921 opened this issue Dec 19, 2022 · 2 comments
Closed
2 tasks done

Infinite loading after task creation #5486

kimSooHyun950921 opened this issue Dec 19, 2022 · 2 comments

Comments

@kimSooHyun950921
Copy link

My actions before raising this issue

Problem: Infinite loading after task creation

Expected Behaviour

  1. Create Project
  2. Create Task
  3. Show the created task in the Task tab
  4. Annotation available through tool

When it was installed before, a task was created as described above and the task list was displayed.

  • Project Tab
    Selection_090
  • Task Tab
    Selection_089
  • Jobs Tab
    Selection_091

Current Behaviour

  1. Create a project
  2. Create a task
  3. Infinite loading, even if you log out and log back in, the same infinite loading takes place.
    Even if you sign up as a member with a different ID and log in, it responds the same.

Selection_092

Possible Solution

I searched for similar issues and followed them, but the result is still the same.

#5448: docker compose -f docker-compose.yml docker-compose.dev.yml up
(same issue with
#5457
#5453,
#5468)

Steps to Reproduce (for bugs)

  1. Since my computer is using port 8080, I changed the port of cvat_server to 8888.
  2. The changed codes are:
  • docker-compose.yml
 cvat_server:
    container_name: cvat_server
    image: cvat/server:${CVAT_VERSION:-dev}
    restart: always
    depends_on:
      - cvat_redis
      - cvat_db
      - cvat_opa
    environment:
      DJANGO_MODWSGI_EXTRA_ARGS: ''
      ALLOWED_HOSTS: '*'
      CVAT_REDIS_HOST: 'cvat_redis'
      CVAT_POSTGRES_HOST: 'cvat_db'
      ADAPTIVE_AUTO_ANNOTATION: 'false'
      IAM_OPA_BUNDLE: '1'
      no_proxy: elasticsearch,kibana,logstash,nuclio,opa,${no_proxy:-}
      NUMPROCS: 1
      USE_ALLAUTH_SOCIAL_ACCOUNTS: ""
      SOCIAL_AUTH_GOOGLE_CLIENT_ID: ""
      SOCIAL_AUTH_GOOGLE_CLIENT_SECRET: ""
      SOCIAL_AUTH_GITHUB_CLIENT_ID: ""
      SOCIAL_AUTH_GITHUB_CLIENT_SECRET: ""
    command: -c supervisord/server.conf
    labels:
      - traefik.enable=true
      - traefik.http.services.cvat.loadbalancer.server.port=8888
      - traefik.http.routers.cvat.rule=Host(`${CVAT_HOST:-10.230.82.16}`) &&
        PathPrefix(`/api/`, `/git/`, `/opencv/`, `/static/`, `/admin`, `/documentation/`, `/django-rq`)
      - traefik.http.routers.cvat.entrypoints=web
    volumes:
      - cvat_data:/home/django/data
      - cvat_keys:/home/django/keys
      - cvat_logs:/home/django/logs
    networks:
      cvat:
        aliases:
          - cvat-server
 traefik:
    image: traefik:v2.9
    container_name: traefik
    restart: always
    command:
      - '--providers.docker.exposedByDefault=false'
      - '--providers.docker.network=cvat'
      - '--entryPoints.web.address=:8888'
      - '--providers.file.directory=/etc/traefik/rules'
    # Uncomment to get Traefik dashboard
    #   - "--entryPoints.dashboard.address=:8090"
    #   - "--api.dashboard=true"
    # labels:
    #   - traefik.enable=true
    #   - traefik.http.routers.dashboard.entrypoints=dashboard
    #   - traefik.http.routers.dashboard.service=api@internal
    #   - traefik.http.routers.dashboard.rule=Host(`${CVAT_HOST:-localhost}`)
    ports:
      - 8888:8888
      - 8090:8090
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    networks:
      - cvat

  cvat_opa:
    container_name: cvat_opa
    image: openpolicyagent/opa:0.34.2-rootless
    restart: always
    networks:
      cvat:
        aliases:
          - opa
    command:
      - run
      - --server
      - --set=decision_logs.console=true
      - --set=services.cvat.url=http://cvat-server:8888
      - --set=bundles.cvat.service=cvat
      - --set=bundles.cvat.resource=/api/auth/rules
      - --set=bundles.cvat.polling.min_delay_seconds=5
      - --set=bundles.cvat.polling.max_delay_seconds=15
  • cvat/cvat/settings.py/base.py:
    • When the above code didn't work, I changed the second code.
    • First, I changed all 8080 ports
    • Second, changing the port didn't work, so I changed all the localhost addresses.
    • The final code is below.
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = str(Path(__file__).parents[2])

ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', '10.230.82.16,127.0.0.1').split(',')
INTERNAL_IPS = ['127.0.0.1']
if USE_ALLAUTH_SOCIAL_ACCOUNTS:
    SOCIALACCOUNT_ADAPTER = 'cvat.apps.iam.adapters.SocialAccountAdapterEx'
    SOCIALACCOUNT_LOGIN_ON_GET = True
    # It's required to define email in the case when a user has a private hidden email.
    # (e.g in github account set keep my email addresses private)
    # default = ACCOUNT_EMAIL_REQUIRED
    SOCIALACCOUNT_QUERY_EMAIL = True
    SOCIALACCOUNT_CALLBACK_CANCELLED_URL = '/auth/login'
    # custom variable because by default LOGIN_REDIRECT_URL will be used
    SOCIAL_APP_LOGIN_REDIRECT_URL = 'http://10.230.82.16:8888/auth/login-with-social-app'

    GITHUB_CALLBACK_URL = 'http://10.230.82.16:8888/api/auth/github/login/callback/'
    GOOGLE_CALLBACK_URL = 'http://10.230.82.16:8888/api/auth/google/login/callback/'

    SOCIAL_AUTH_GOOGLE_CLIENT_ID = os.getenv('SOCIAL_AUTH_GOOGLE_CLIENT_ID')
    SOCIAL_AUTH_GOOGLE_CLIENT_SECRET = os.getenv('SOCIAL_AUTH_GOOGLE_CLIENT_SECRET')

    SOCIAL_AUTH_GITHUB_CLIENT_ID = os.getenv('SOCIAL_AUTH_GITHUB_CLIENT_ID')
    SOCIAL_AUTH_GITHUB_CLIENT_SECRET = os.getenv('SOCIAL_AUTH_GITHUB_CLIENT_SECRET')

    SOCIALACCOUNT_PROVIDERS = {
        'google': {
            'APP': {
                'client_id': SOCIAL_AUTH_GOOGLE_CLIENT_ID,
                'secret': SOCIAL_AUTH_GOOGLE_CLIENT_SECRET,
                'key': ''
            },
            'SCOPE': [ 'profile', 'email', 'openid'],
            'AUTH_PARAMS': {
                'access_type': 'online',
            }
        },
        'github': {
            'APP': {
                'client_id': SOCIAL_AUTH_GITHUB_CLIENT_ID,
                'secret': SOCIAL_AUTH_GITHUB_CLIENT_SECRET,
                'key': ''
            },
            'SCOPE': [ 'read:user', 'user:email' ],
        },
LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'formatters': {
        'logstash': {
            '()': 'logstash_async.formatter.DjangoLogstashFormatter',
            'message_type': 'python-logstash',
            'fqdn': False, # Fully qualified domain name. Default value: false.
        },
        'standard': {
            'format': '[%(asctime)s] %(levelname)s %(name)s: %(message)s'
        }
    },
    'handlers': {
        'console': {
            'class': 'logging.StreamHandler',
            'filters': [],
            'formatter': 'standard',
        },
        'server_file': {
            'class': 'logging.handlers.RotatingFileHandler',
            'level': 'DEBUG',
            'filename': os.path.join(BASE_DIR, 'logs', 'cvat_server.log'),
            'formatter': 'standard',
            'maxBytes': 1024*1024*50, # 50 MB
            'backupCount': 5,
        },
        'logstash': {
            'level': 'INFO',
            'class': 'logstash_async.handler.AsynchronousLogstashHandler',
            'formatter': 'logstash',
            'transport': 'logstash_async.transport.HttpTransport',
            'ssl_enable': False,
            'ssl_verify': False,
            'host': os.getenv('DJANGO_LOG_SERVER_HOST', '10.230.82.16'),
            'port': os.getenv('DJANGO_LOG_SERVER_PORT', 8888),
            'version': 1,
            'message_type': 'django',
            'database_path': LOGSTASH_DB,
        }
    },
    'loggers': {
        'cvat.server': {
            'handlers': ['console', 'server_file'],
            'level': os.getenv('DJANGO_LOG_LEVEL', 'DEBUG'),
        },

        'cvat.client': {
            'handlers': [],
            'level': os.getenv('DJANGO_LOG_LEVEL', 'DEBUG'),
        },
        'django': {
            'handlers': ['console', 'server_file'],
            'level': 'INFO',
            'propagate': True
        }
    },
}

Context

I tried the things described above.
In addition, you can run python runserver separately for cvat_worker_default, cvat_worker_low, etc.
I ran rq of two workers in cvat_server.

Your Environment

  • Git hash commit (git log -1): 4fdac63
commit 4fdac637394a03d5be8c40e03c86a3a49f6b9546 (HEAD -> develop, origin/develop, origin/HEAD)
Author: Scotty Kwok <[email protected]>
Date:   Sat Dec 17 03:45:54 2022 +0800

    Keyboard shortcut to delete frame (fixes #5369) (#5370)
    
    This fixes #5369 by adding keyboard shortcut [x] that delete a frame
    without prompt.
    
    Co-authored-by: Scotty Kwok <[email protected]>
    Co-authored-by: Boris Sekachev <[email protected]>
  • Docker version docker version (e.g. Docker 17.0.05): Docker version 20.10.21, build baeda1f

  • Are you using Docker Swarm or Kubernetes? No

  • Operating System and version (e.g. Linux, Windows, MacOS): Linux(Ubuntu) Linux LSD_CVAT 5.4.0-135-generic Import/Export a task functionality #152~18.04.2-Ubuntu SMP Tue Nov 29 08:23:49 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  • Code example or link to GitHub repo or gist to reproduce problem:

  • Other diagnostic information / logs:

cvat_worker_default | 2022-12-19 07:10:05,586 DEBG 'rqworker_default_0' stderr output: cvat_worker_default | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_default | cvat_worker_default | 2022-12-19 07:10:05,586 DEBG 'rqworker_default_1' stderr output: cvat_worker_default | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_default | cvat_worker_webhooks | 2022-12-19 07:10:06,286 DEBG 'rqworker_webhooks' stderr output: cvat_worker_webhooks | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_webhooks | cvat_worker_low | 2022-12-19 07:10:06,487 DEBG 'rqworker_low' stderr output: cvat_worker_low | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_low | cvat_db | 2022-12-19 07:11:13.144 UTC [21] LOG: checkpoint starting: time cvat_db | 2022-12-19 07:11:13.491 UTC [21] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.307 s, sync=0.009 s, total=0.347 s; sync files=4, longest=0.007 s, average=0.003 s; distance=2 kB, estimate=2 kB cvat_redis | 1:M 19 Dec 07:14:46.652 * 100 changes in 300 seconds. Saving... cvat_redis | 1:M 19 Dec 07:14:46.652 * Background saving started by pid 16 cvat_redis | 16:C 19 Dec 07:14:46.666 * DB saved on disk cvat_redis | 16:C 19 Dec 07:14:46.667 * RDB: 0 MB of memory used by copy-on-write cvat_redis | 1:M 19 Dec 07:14:46.753 * Background saving terminated with success cvat_ui | 192.168.0.2 - - [19/Dec/2022:07:15:35 +0000] "GET / HTTP/1.1" 200 1128 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" "10.230.152.138" cvat_opa | {"client_addr":"192.168.0.6:57604","level":"info","msg":"Received request.","req_id":47,"req_method":"GET","req_path":"/health","time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57604","level":"info","msg":"Sent response.","req_id":47,"req_method":"GET","req_path":"/health","resp_bytes":2,"resp_duration":0.558513,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | cvat_worker_default | 2022-12-19 07:10:05,586 DEBG 'rqworker_default_0' stderr output: cvat_worker_default | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_default | cvat_worker_default | 2022-12-19 07:10:05,586 DEBG 'rqworker_default_1' stderr output: cvat_worker_default | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_default | cvat_worker_webhooks | 2022-12-19 07:10:06,286 DEBG 'rqworker_webhooks' stderr output: cvat_worker_webhooks | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_webhooks | cvat_worker_low | 2022-12-19 07:10:06,487 DEBG 'rqworker_low' stderr output: cvat_worker_low | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_low | cvat_db | 2022-12-19 07:11:13.144 UTC [21] LOG: checkpoint starting: time cvat_db | 2022-12-19 07:11:13.491 UTC [21] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.307 s, sync=0.009 s, total=0.347 s; sync files=4, longest=0.007 s, average=0.003 s; distance=2 kB, estimate=2 kB cvat_redis | 1:M 19 Dec 07:14:46.652 * 100 changes in 300 seconds. Saving... cvat_redis | 1:M 19 Dec 07:14:46.652 * Background saving started by pid 16 cvat_redis | 16:C 19 Dec 07:14:46.666 * DB saved on disk cvat_redis | 16:C 19 Dec 07:14:46.667 * RDB: 0 MB of memory used by copy-on-write cvat_redis | 1:M 19 Dec 07:14:46.753 * Background saving terminated with success cvat_ui | 192.168.0.2 - - [19/Dec/2022:07:15:35 +0000] "GET / HTTP/1.1" 200 1128 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" "10.230.152.138" cvat_opa | {"client_addr":"192.168.0.6:57604","level":"info","msg":"Received request.","req_id":47,"req_method":"GET","req_path":"/health","time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57618","level":"info","msg":"Received request.","req_id":48,"req_method":"POST","req_path":"/v1/data/users/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"e2f65444-5e03-4a72-8a75-8339118961af","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":{"id":6,"membership":{"role":null}},"scope":"view"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":81939,"timer_rego_query_eval_ns":316114,"timer_server_handler_ns":457869},"msg":"Decision Log","path":"users/allow","requested_by":"192.168.0.6:57618","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.411951256Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57618","level":"info","msg":"Sent response.","req_id":48,"req_method":"POST","req_path":"/v1/data/users/allow","resp_bytes":68,"resp_duration":0.970893,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57622","level":"info","msg":"Received request.","req_id":49,"req_method":"POST","req_path":"/v1/data/users/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"832e3ff8-13db-487f-aca4-5259e7f33854","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":{"id":6,"membership":{"role":null}},"scope":"view"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":70104,"timer_rego_query_eval_ns":281425,"timer_server_handler_ns":402903},"msg":"Decision Log","path":"users/allow","requested_by":"192.168.0.6:57622","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.463523044Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57622","level":"info","msg":"Sent response.","req_id":49,"req_method":"POST","req_path":"/v1/data/users/allow","resp_bytes":68,"resp_duration":0.86559,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57638","level":"info","msg":"Received request.","req_id":50,"req_method":"POST","req_path":"/v1/data/organizations/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"861b706a-29da-45b6-98dd-9baab14bd146","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":null,"scope":"list"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":65338,"timer_rego_query_eval_ns":310466,"timer_server_handler_ns":431330},"msg":"Decision Log","path":"organizations/allow","requested_by":"192.168.0.6:57638","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.551435586Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57638","level":"info","msg":"Sent response.","req_id":50,"req_method":"POST","req_path":"/v1/data/organizations/allow","resp_bytes":68,"resp_duration":0.880947,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57652","level":"info","msg":"Received request.","req_id":51,"req_method":"POST","req_path":"/v1/data/server/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57668","level":"info","msg":"Received request.","req_id":52,"req_method":"POST","req_path":"/v1/data/organizations/filter","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"ffd3e7f1-c46d-452d-9d2e-ad0566e70610","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":null,"scope":"view"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":66590,"timer_rego_query_eval_ns":246910,"timer_server_handler_ns":358642},"msg":"Decision Log","path":"server/allow","requested_by":"192.168.0.6:57652","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.562800925Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57652","level":"info","msg":"Sent response.","req_id":51,"req_method":"POST","req_path":"/v1/data/server/allow","resp_bytes":68,"resp_duration":0.808845,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"be2b4440-d53b-4f7c-96a4-0b198ec4a794","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":null,"scope":"list"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":62495,"timer_rego_query_eval_ns":210943,"timer_server_handler_ns":324555},"msg":"Decision Log","path":"organizations/filter","requested_by":"192.168.0.6:57668","result":[],"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.563067427Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57668","level":"info","msg":"Sent response.","req_id":52,"req_method":"POST","req_path":"/v1/data/organizations/filter","resp_bytes":66,"resp_duration":0.729999,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57678","level":"info","msg":"Received request.","req_id":53,"req_method":"POST","req_path":"/v1/data/server/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"41c67aba-2913-4d83-be9e-b041a48e2dfb","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":null,"scope":"view"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":59224,"timer_rego_query_eval_ns":212867,"timer_server_handler_ns":315496},"msg":"Decision Log","path":"server/allow","requested_by":"192.168.0.6:57678","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.583730709Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57678","level":"info","msg":"Sent response.","req_id":53,"req_method":"POST","req_path":"/v1/data/server/allow","resp_bytes":68,"resp_duration":0.707255,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57684","level":"info","msg":"Received request.","req_id":54,"req_method":"POST","req_path":"/v1/data/organizations/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"318c19b2-10c3-4e05-b29e-3a9e0347aea7","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":null,"scope":"list"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":59004,"timer_rego_query_eval_ns":269862,"timer_server_handler_ns":374367},"msg":"Decision Log","path":"organizations/allow","requested_by":"192.168.0.6:57684","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.625745121Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57684","level":"info","msg":"Sent response.","req_id":54,"req_method":"POST","req_path":"/v1/data/organizations/allow","resp_bytes":68,"resp_duration":0.758985,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57690","level":"info","msg":"Received request.","req_id":55,"req_method":"POST","req_path":"/v1/data/organizations/filter","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"4e7d9093-eb3d-4f83-b0d1-e34018cd6251","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":null,"scope":"list"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":53023,"timer_rego_query_eval_ns":161549,"timer_server_handler_ns":258331},"msg":"Decision Log","path":"organizations/filter","requested_by":"192.168.0.6:57690","result":[],"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.63039331Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57690","level":"info","msg":"Sent response.","req_id":55,"req_method":"POST","req_path":"/v1/data/organizations/filter","resp_bytes":66,"resp_duration":0.634051,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57696","level":"info","msg":"Received request.","req_id":56,"req_method":"POST","req_path":"/v1/data/tasks/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"ab65d7e3-3d49-41e5-bb13-dcb7c9a9cf9e","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":null,"scope":"list"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":57126,"timer_rego_query_eval_ns":1188321,"timer_server_handler_ns":1290559},"msg":"Decision Log","path":"tasks/allow","requested_by":"192.168.0.6:57696","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.680294169Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57696","level":"info","msg":"Sent response.","req_id":56,"req_method":"POST","req_path":"/v1/data/tasks/allow","resp_bytes":68,"resp_duration":1.728018,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57712","level":"info","msg":"Received request.","req_id":57,"req_method":"POST","req_path":"/v1/data/tasks/filter","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"168f1a42-70bd-45e8-b257-87aca2dab44b","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":null,"scope":"list"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":71666,"timer_rego_query_eval_ns":181894,"timer_server_handler_ns":298875},"msg":"Decision Log","path":"tasks/filter","requested_by":"192.168.0.6:57712","result":[],"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.684768195Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57712","level":"info","msg":"Sent response.","req_id":57,"req_method":"POST","req_path":"/v1/data/tasks/filter","resp_bytes":66,"resp_duration":0.674139,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57722","level":"info","msg":"Received request.","req_id":58,"req_method":"POST","req_path":"/v1/data/tasks/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"7fd94a66-b879-4559-b5f8-5206abd889a1","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":{"assignee":{"id":null},"id":22,"organization":{"id":null},"owner":{"id":7},"project":{"assignee":{"id":null},"organization":{"id":null},"owner":{"id":7}}},"scope":"view:data"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":178666,"timer_rego_query_eval_ns":2088937,"timer_server_handler_ns":2356908},"msg":"Decision Log","path":"tasks/allow","requested_by":"192.168.0.6:57722","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.91065312Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57722","level":"info","msg":"Sent response.","req_id":58,"req_method":"POST","req_path":"/v1/data/tasks/allow","resp_bytes":68,"resp_duration":2.945278,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57730","level":"info","msg":"Received request.","req_id":59,"req_method":"POST","req_path":"/v1/data/tasks/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"6260a38a-63ab-4122-b767-149024ffb4ad","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":{"assignee":{"id":null},"id":24,"organization":{"id":null},"owner":{"id":8},"project":{"assignee":{"id":null},"organization":{"id":null},"owner":{"id":8}}},"scope":"view:data"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":8849566,"timer_rego_query_eval_ns":1441298,"timer_server_handler_ns":10344469},"msg":"Decision Log","path":"tasks/allow","requested_by":"192.168.0.6:57730","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.925740953Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57730","level":"info","msg":"Sent response.","req_id":59,"req_method":"POST","req_path":"/v1/data/tasks/allow","resp_bytes":68,"resp_duration":10.796481,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57744","level":"info","msg":"Received request.","req_id":60,"req_method":"POST","req_path":"/v1/data/tasks/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57752","level":"info","msg":"Received request.","req_id":61,"req_method":"POST","req_path":"/v1/data/tasks/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57760","level":"info","msg":"Received request.","req_id":62,"req_method":"POST","req_path":"/v1/data/tasks/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"0995815c-7776-41f6-ae5c-b139ba79cb90","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":{"assignee":{"id":null},"id":25,"organization":{"id":null},"owner":{"id":6},"project":{"assignee":{"id":null},"organization":{"id":null},"owner":{"id":8}}},"scope":"view:data"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":847613,"timer_rego_query_eval_ns":1516542,"timer_server_handler_ns":2423382},"msg":"Decision Log","path":"tasks/allow","requested_by":"192.168.0.6:57744","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.944559232Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57744","level":"info","msg":"Sent response.","req_id":60,"req_method":"POST","req_path":"/v1/data/tasks/allow","resp_bytes":68,"resp_duration":3.018642,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"1ad64220-2407-4d7b-a555-c5c9869f1e12","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":{"assignee":{"id":null},"id":23,"organization":{"id":null},"owner":{"id":8},"project":null},"scope":"view:data"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":89910,"timer_rego_query_eval_ns":1307935,"timer_server_handler_ns":1458118},"msg":"Decision Log","path":"tasks/allow","requested_by":"192.168.0.6:57752","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.944737589Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57752","level":"info","msg":"Sent response.","req_id":61,"req_method":"POST","req_path":"/v1/data/tasks/allow","resp_bytes":68,"resp_duration":1.906076,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"e279111e-069c-4e23-85a3-3300e7c65b97","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":{"assignee":{"id":null},"id":18,"organization":{"id":null},"owner":{"id":6},"project":{"assignee":{"id":null},"organization":{"id":null},"owner":{"id":6}}},"scope":"view:data"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":99639,"timer_rego_query_eval_ns":1513558,"timer_server_handler_ns":1655716},"msg":"Decision Log","path":"tasks/allow","requested_by":"192.168.0.6:57760","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.945053165Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57760","level":"info","msg":"Sent response.","req_id":62,"req_method":"POST","req_path":"/v1/data/tasks/allow","resp_bytes":68,"resp_duration":2.240977,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_opa | {"client_addr":"192.168.0.6:57772","level":"info","msg":"Received request.","req_id":63,"req_method":"POST","req_path":"/v1/data/tasks/allow","time":"2022-12-19T07:15:35Z"} cvat_opa | {"bundles":{"cvat":{}},"decision_id":"ab21d04c-daed-4c89-bd60-b4bd52cc831d","input":{"auth":{"organization":null,"user":{"id":6,"privilege":"admin"}},"resource":{"assignee":{"id":null},"id":26,"organization":{"id":null},"owner":{"id":6},"project":{"assignee":{"id":null},"organization":{"id":null},"owner":{"id":8}}},"scope":"view:data"},"labels":{"id":"48608617-811a-405e-84a8-a3160c18dd37","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":100943,"timer_rego_query_eval_ns":1391198,"timer_server_handler_ns":1536465},"msg":"Decision Log","path":"tasks/allow","requested_by":"192.168.0.6:57772","result":true,"time":"2022-12-19T07:15:35Z","timestamp":"2022-12-19T07:15:35.950587415Z","type":"openpolicyagent.org/decision_logs"} cvat_opa | {"client_addr":"192.168.0.6:57772","level":"info","msg":"Sent response.","req_id":63,"req_method":"POST","req_path":"/v1/data/tasks/allow","resp_bytes":68,"resp_duration":1.976499,"resp_status":200,"time":"2022-12-19T07:15:35Z"} cvat_db | 2022-12-19 07:16:13.591 UTC [21] LOG: checkpoint starting: time cvat_db | 2022-12-19 07:16:13.938 UTC [21] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.307 s, sync=0.009 s, total=0.347 s; sync files=4, longest=0.007 s, average=0.003 s; distance=2 kB, estimate=2 kB cvat_worker_default | 2022-12-19 07:16:50,646 DEBG 'rqworker_default_0' stderr output: cvat_worker_default | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_default | cvat_worker_default | 2022-12-19 07:16:50,646 DEBG 'rqworker_default_1' stderr output: cvat_worker_default | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_default | cvat_worker_default | 2022-12-19 07:16:50,646 DEBG 'rqworker_default_0' stderr output: cvat_worker_default | INFO:rq.worker:Cleaning registries for queue: default cvat_worker_default | cvat_worker_webhooks | 2022-12-19 07:16:51,347 DEBG 'rqworker_webhooks' stderr output: cvat_worker_webhooks | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_webhooks | cvat_worker_webhooks | 2022-12-19 07:16:51,347 DEBG 'rqworker_webhooks' stderr output: cvat_worker_webhooks | INFO:rq.worker:Cleaning registries for queue: webhooks cvat_worker_webhooks | cvat_worker_low | 2022-12-19 07:16:51,548 DEBG 'rqworker_low' stderr output: cvat_worker_low | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_low | cvat_worker_low | 2022-12-19 07:16:51,548 DEBG 'rqworker_low' stderr output: cvat_worker_low | INFO:rq.worker:Cleaning registries for queue: low cvat_worker_low | cvat_worker_default | 2022-12-19 07:23:35,704 DEBG 'rqworker_default_0' stderr output: cvat_worker_default | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_default | cvat_worker_default | 2022-12-19 07:23:35,704 DEBG 'rqworker_default_1' stderr output: cvat_worker_default | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_default | cvat_worker_webhooks | 2022-12-19 07:23:36,406 DEBG 'rqworker_webhooks' stderr output: cvat_worker_webhooks | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds. cvat_worker_webhooks | cvat_worker_low | 2022-12-19 07:23:36,606 DEBG 'rqworker_low' stderr output: cvat_worker_low | DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
@m-ali-awan
Copy link

I am also facing the same issue, Job page keeps on loading, and it is very disturbing...

@zhiltsov-max
Copy link
Contributor

Should be working now, please check #5482 (comment) for recommendations.

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

3 participants