exadel-inc / CompreFace

Leading free and open-source face recognition system
https://exadel.com/accelerator-showcase/compreface/
Apache License 2.0
5.69k stars 775 forks source link

Get Error Invalid access token: ySzsHiKQ_pqT6vqDhAm3dGNiXvA when I implement the model new #1278

Open DirkWuerdemann opened 2 days ago

DirkWuerdemann commented 2 days ago

I have installed subcenter-arcface-r100-gpu on Windows 11. The installation shows no Error. When I then access http://localhost:8000/ I get the error "Invalid access token: ySzsHiKQ_pqT6vqDhAm3dGNiXvA"

The Log of compreface-admin shows the following error: 2024-11-20 12:32:33 2024-11-20 11:32:33.332 INFO 7 --- [nio-8080-exec-9] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Complete new installations with docker-compose up -d
  2. Access to Localhost:8000
  3. Error comes

Expected behavior

I expect to be asked to create a new account on that database

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Logs

Run those commands and attach result to the ticket:

docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 2999b56355ff exadel/compreface-fe:1.2.0 "/docker-entrypoint.…" 7 minutes ago Up 7 minutes 0.0.0.0:8000->80/tcp compreface-ui 32f408958518 exadel/compreface-admin:1.2.0 "sh -c 'java $ADMIN_…" 7 minutes ago Up 7 minutes compreface-admin 2f46f23fd026 exadel/compreface-api:1.2.0 "sh -c 'java $APIJA…" 7 minutes ago Up 7 minutes compreface-api 4533e1ed3a9c exadel/compreface-core:1.2.0-arcface-r100-gpu "/opt/nvidia/nvidia…" 7 minutes ago Up 7 minutes 3000/tcp compreface-core 3641118ec242 exadel/compreface-postgres-db:1.2.0 "docker-entrypoint.s…" 7 minutes ago Up 7 minutes 5432/tcp compreface-postgres-db be78b14b37cc mysql:5.7.12 "docker-entrypoint.s…" 9 months ago Up 2 hours 0.0.0.0:6603->3306/tcp mysql5

docker-compose logs compreface Admin: 2024-11-20 12:28:55 Listening for transport dtsocket at address: 5005 2024-11-20 12:28:56 2024-11-20 12:28:56 . ____ 2024-11-20 12:28:56 /\ / __' () _ \ \ \ \ 2024-11-20 12:28:56 ( ( )_ | ' | '| | ' \/ ` | \ \ \ \ 2024-11-20 12:28:56 \/ _)| |)| | | | | || (| | ) ) ) ) 2024-11-20 12:28:56 ' |__| .|| ||| |\, | / / / / 2024-11-20 12:28:56 =========|_|==============|_/=//// 2024-11-20 12:28:56 :: Spring Boot :: (v2.5.13) 2024-11-20 12:28:56 2024-11-20 12:28:56 2024-11-20 11:28:56.699 INFO 7 --- [kground-preinit] o.h.validator.internal.util.Version : HV000001: Hibernate Validator 6.2.3.Final 2024-11-20 12:28:56 2024-11-20 11:28:56.713 INFO 7 --- [ main] com.exadel.frs.FrsApplication : Starting FrsApplication v0.0.1-SNAPSHOT using Java 17.0.8 on 32f408958518 with PID 7 (/home/app.jar started by root in /) 2024-11-20 12:28:56 2024-11-20 11:28:56.714 DEBUG 7 --- [ main] com.exadel.frs.FrsApplication : Running with Spring Boot v2.5.13, Spring v5.3.19 2024-11-20 12:28:56 2024-11-20 11:28:56.715 INFO 7 --- [ main] com.exadel.frs.FrsApplication : The following 1 profile is active: "dev" 2024-11-20 12:28:58 2024-11-20 11:28:58.191 INFO 7 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-11-20 12:28:58 2024-11-20 11:28:58.322 INFO 7 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 124 ms. Found 11 JPA repository interfaces. 2024-11-20 12:28:58 2024-11-20 11:28:58.617 INFO 7 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=4f6f4c57-c8da-3cb6-891a-781628377874 2024-11-20 12:28:59 2024-11-20 11:28:59.398 INFO 7 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2024-11-20 12:28:59 2024-11-20 11:28:59.408 INFO 7 --- [ main] o.a.coyote.http11.Http11NioProtocol : Initializing ProtocolHandler ["http-nio-8080"] 2024-11-20 12:28:59 2024-11-20 11:28:59.409 INFO 7 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-11-20 12:28:59 2024-11-20 11:28:59.409 INFO 7 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.62] 2024-11-20 12:28:59 2024-11-20 11:28:59.549 INFO 7 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-11-20 12:28:59 2024-11-20 11:28:59.549 INFO 7 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2781 ms 2024-11-20 12:29:00 2024-11-20 11:29:00.258 INFO 7 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2024-11-20 12:29:00 2024-11-20 11:29:00.497 INFO 7 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2024-11-20 12:29:00 2024-11-20 11:29:00.733 INFO 7 --- [ main] liquibase.database : Set default schema name to public 2024-11-20 12:29:00 2024-11-20 11:29:00.929 INFO 7 --- [ main] liquibase.lockservice : Successfully acquired change log lock 2024-11-20 12:29:01 2024-11-20 11:29:01.478 INFO 7 --- [ main] liquibase.changelog : Reading from public.databasechangelog 2024-11-20 12:29:01 2024-11-20 11:29:01.648 INFO 7 --- [ main] liquibase.lockservice : Successfully released change log lock 2024-11-20 12:29:01 2024-11-20 11:29:01.734 INFO 7 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-11-20 12:29:01 2024-11-20 11:29:01.792 INFO 7 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.33 2024-11-20 12:29:01 2024-11-20 11:29:01.889 INFO 7 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-11-20 12:29:01 2024-11-20 11:29:01.997 INFO 7 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL10Dialect 2024-11-20 12:29:02 2024-11-20 11:29:02.068 INFO 7 --- [ main] Hibernate Types : This framework is proudly powered by: 2024-11-20 12:29:02 2024-11-20 12:29:02 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2024-11-20 12:29:02 2024-11-20 12:29:02 | | | | () | | 2024-11-20 12:29:02 | || | _ _| | _ 2024-11-20 12:29:02 | | | | | ' \ / \ '/ | / | / \ ' \ / / \ 2024-11-20 12:29:02 | | | | || | |) | / | \ \ _ \ || / | | | (_| / 2024-11-20 12:29:02 || ||\, | ._/ \|_| |/|/\\|| ||__| 2024-11-20 12:29:02 __/ | | 2024-11-20 12:29:02 |__/|| 2024-11-20 12:29:02 2024-11-20 12:29:02 At Hypersistence, we only build amazing tools, like Hibernate Types, Flexy Pool, or Hypersistence Optimizer. 2024-11-20 12:29:02 2024-11-20 12:29:02 What if there were a tool that could automatically detect JPA and Hibernate performance issues? 2024-11-20 12:29:02 2024-11-20 12:29:02 Hypersistence Optimizer is that tool! For more details, go to: 2024-11-20 12:29:02 2024-11-20 12:29:02 https://vladmihalcea.com/hypersistence-optimizer/ 2024-11-20 12:29:02 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 2024-11-20 12:29:02 2024-11-20 12:29:02 2024-11-20 11:29:02.787 INFO 7 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-11-20 12:29:02 2024-11-20 11:29:02.792 INFO 7 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-11-20 12:29:04 2024-11-20 11:29:04.545 INFO 7 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-11-20 12:29:04 2024-11-20 11:29:04.642 INFO 7 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)] 2024-11-20 12:29:05 2024-11-20 11:29:05.103 WARN 7 --- [ main] o.s.s.c.a.web.builders.WebSecurity : You are asking Spring Security to ignore Ant [pattern='/v2/api-docs']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2024-11-20 12:29:05 2024-11-20 11:29:05.104 INFO 7 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure Ant [pattern='/v2/api-docs'] with [] 2024-11-20 12:29:05 2024-11-20 11:29:05.105 WARN 7 --- [ main] o.s.s.c.a.web.builders.WebSecurity : You are asking Spring Security to ignore Ant [pattern='/configuration/ui']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2024-11-20 12:29:05 2024-11-20 11:29:05.105 INFO 7 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure Ant [pattern='/configuration/ui'] with [] 2024-11-20 12:29:05 2024-11-20 11:29:05.105 WARN 7 --- [ main] o.s.s.c.a.web.builders.WebSecurity : You are asking Spring Security to ignore Ant [pattern='/swagger-resources/']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2024-11-20 12:29:05 2024-11-20 11:29:05.105 INFO 7 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure Ant [pattern='/swagger-resources/'] with [] 2024-11-20 12:29:05 2024-11-20 11:29:05.105 WARN 7 --- [ main] o.s.s.c.a.web.builders.WebSecurity : You are asking Spring Security to ignore Ant [pattern='/configuration/']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2024-11-20 12:29:05 2024-11-20 11:29:05.105 INFO 7 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure Ant [pattern='/configuration/'] with [] 2024-11-20 12:29:05 2024-11-20 11:29:05.105 WARN 7 --- [ main] o.s.s.c.a.web.builders.WebSecurity : You are asking Spring Security to ignore Ant [pattern='/swagger-ui']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2024-11-20 12:29:05 2024-11-20 11:29:05.106 INFO 7 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure Ant [pattern='/swagger-ui'] with [] 2024-11-20 12:29:05 2024-11-20 11:29:05.106 WARN 7 --- [ main] o.s.s.c.a.web.builders.WebSecurity : You are asking Spring Security to ignore Ant [pattern='/webjars/']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2024-11-20 12:29:05 2024-11-20 11:29:05.106 INFO 7 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure Ant [pattern='/webjars/'] with [] 2024-11-20 12:29:05 2024-11-20 11:29:05.107 WARN 7 --- [ main] o.s.s.c.a.web.builders.WebSecurity : You are asking Spring Security to ignore Ant [pattern='/lms/']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2024-11-20 12:29:05 2024-11-20 11:29:05.107 INFO 7 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure Ant [pattern='/lms/'] with [] 2024-11-20 12:29:05 2024-11-20 11:29:05.149 INFO 7 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will not secure Or [Ant [pattern='/admin/oauth/token'], Ant [pattern='/oauth/token_key'], Ant [pattern='/oauth/check_token']] 2024-11-20 12:29:05 2024-11-20 11:29:05.166 INFO 7 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will not secure org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfiguration$NotOAuthRequestMatcher@77f529a6 2024-11-20 12:29:05 2024-11-20 11:29:05.170 INFO 7 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will not secure any request 2024-11-20 12:29:05 2024-11-20 11:29:05.741 INFO 7 --- [ main] o.a.coyote.http11.Http11NioProtocol : Starting ProtocolHandler ["http-nio-8080"] 2024-11-20 12:29:05 2024-11-20 11:29:05.754 INFO 7 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2024-11-20 12:29:05 2024-11-20 11:29:05.756 INFO 7 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed 2024-11-20 12:29:05 2024-11-20 11:29:05.769 INFO 7 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) 2024-11-20 12:29:05 2024-11-20 11:29:05.813 INFO 7 --- [ main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references 2024-11-20 12:29:05 2024-11-20 11:29:05.990 INFO 7 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: regenerateApiKeyUsingPUT_1 2024-11-20 12:29:06 2024-11-20 11:29:06.074 INFO 7 --- [ main] com.exadel.frs.FrsApplication : Started FrsApplication in 10.11 seconds (JVM running for 10.733) 2024-11-20 12:29:26 2024-11-20 11:29:26.469 INFO 7 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-11-20 12:29:26 2024-11-20 11:29:26.469 INFO 7 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-11-20 12:29:26 2024-11-20 11:29:26.470 INFO 7 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 2024-11-20 12:29:26 2024-11-20 11:29:26.494 INFO 7 --- [nio-8080-exec-1] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:29:27 2024-11-20 11:29:27.317 INFO 7 --- [nio-8080-exec-2] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:29:37 2024-11-20 11:29:37.347 INFO 7 --- [nio-8080-exec-3] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:29:48 2024-11-20 11:29:48.331 INFO 7 --- [nio-8080-exec-4] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:29:59 2024-11-20 11:29:59.325 INFO 7 --- [nio-8080-exec-5] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:30:10 2024-11-20 11:30:10.339 INFO 7 --- [nio-8080-exec-6] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:30:21 2024-11-20 11:30:21.337 INFO 7 --- [nio-8080-exec-7] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:30:32 2024-11-20 11:30:32.340 INFO 7 --- [nio-8080-exec-8] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:30:43 2024-11-20 11:30:43.333 INFO 7 --- [nio-8080-exec-9] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:30:54 2024-11-20 11:30:54.342 INFO 7 --- [io-8080-exec-10] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:31:05 2024-11-20 11:31:05.334 INFO 7 --- [nio-8080-exec-1] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:31:16 2024-11-20 11:31:16.346 INFO 7 --- [nio-8080-exec-2] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:31:27 2024-11-20 11:31:27.333 INFO 7 --- [nio-8080-exec-3] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:31:38 2024-11-20 11:31:38.346 INFO 7 --- [nio-8080-exec-4] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:31:49 2024-11-20 11:31:49.341 INFO 7 --- [nio-8080-exec-5] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:32:00 2024-11-20 11:32:00.331 INFO 7 --- [nio-8080-exec-6] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:32:11 2024-11-20 11:32:11.344 INFO 7 --- [nio-8080-exec-7] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:32:22 2024-11-20 11:32:22.334 INFO 7 --- [nio-8080-exec-8] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:32:33 2024-11-20 11:32:33.332 INFO 7 --- [nio-8080-exec-9] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:32:44 2024-11-20 11:32:44.327 INFO 7 --- [io-8080-exec-10] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:32:55 2024-11-20 11:32:55.337 INFO 7 --- [nio-8080-exec-1] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:33:06 2024-11-20 11:33:06.329 INFO 7 --- [nio-8080-exec-2] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:33:17 2024-11-20 11:33:17.342 INFO 7 --- [nio-8080-exec-3] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:33:28 2024-11-20 11:33:28.332 INFO 7 --- [nio-8080-exec-4] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:33:39 2024-11-20 11:33:39.329 INFO 7 --- [nio-8080-exec-5] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:33:50 2024-11-20 11:33:50.345 INFO 7 --- [nio-8080-exec-6] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:34:01 2024-11-20 11:34:01.345 INFO 7 --- [nio-8080-exec-7] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:34:12 2024-11-20 11:34:12.331 INFO 7 --- [nio-8080-exec-8] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:34:23 2024-11-20 11:34:23.332 INFO 7 --- [nio-8080-exec-9] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token 2024-11-20 12:34:34 2024-11-20 11:34:34.332 INFO 7 --- [io-8080-exec-10] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token

Additional context

Add any other context about the problem here.