Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[docker-compose] Invalid parameter: redirect_uri #2003

Closed
roy-mdsol opened this issue Sep 11, 2022 · 15 comments
Closed

[docker-compose] Invalid parameter: redirect_uri #2003

roy-mdsol opened this issue Sep 11, 2022 · 15 comments
Assignees

Comments

@roy-mdsol
Copy link

roy-mdsol commented Sep 11, 2022

Hi

Thank you in advance for your help.

Issue Description:

Apicurio Redirect URL defaulted to https.
/distro/docker-compose not working as expected.

Environment:

OS: MacOS 12 (Intel)
Docker : Engine: 20.10.17 | Compose: v2.10.2 | Credential Helper: v0.6.4 | Kubernetes: v1.25.0
Apicurio Strudio: /master 415a428

Steps:

Following instructions from apicurio-studio/distro/docker-compose/Readme.md

  • docker run -v $(pwd):/apicurio chriske/apicurio-setup-image:latest bash /apicurio/setup.sh 192.168.43.187 postgresql - Successful

  • ./start-postgresql-environment.sh - Failed

unexpected character "\" in variable name near "\''%<>\\^{|}]|%[0-9A-Fa-f]{2}|\\{[+#./;?&=,!@|]?((\\w|%[0-9A-Fa-f]{2})(\\.?(\\w|%[0-9A-Fa-f]{2}))*(:[1-9]\\d{0,3}|\\*)?)(,((\\w|%[0-9A-Fa-f]{2})(\\.?(\\w|%[0-9A-Fa-f]{2}))*(:[1-9]\\d{0,3}|\\*)?))*\\})*'\n" unexpected character "\\" in variable name near "\\''%<>\\\\^{|}]|%[0-9A-Fa-f]{2}|\{[+#./;?&=,!@|]?((\w|%[0-9A-Fa-f]{2})(\.?(\w|%[0-9A-Fa-f]{2}))(:[1-9]\d{0,3}|\)?)(,((\w|%[0-9A-Fa-f]{2})(\.?(\w|%[0-9A-Fa-f]{2}))(:[1-9]\d{0,3}|\)?))\})'\n"

bypassed / addressed temporarily by setting
APICURIO_UI_VALIDATION_CHANNELNAME_REGEXP in .env file to * [Reference: #1960 ]

  • Microcks User setup and Login - Successful
  • Apicurio User setup - Successful. But Login Failed with below error

Apicurio
We are sorry...
Invalid parameter: redirect_uri
« Back to Application

Screenshot 2022-09-11 at 3 38 48 pm

Screenshot 2022-09-11 at 3 39 40 pm

Partial Log updated (Due to character limit)

rr docker-compose % ./start-postgresql-environment.sh
[+] Building 2.3s (7/7) FINISHED
 => [internal] load build definition from Dockerfile                                                                                               0.0s
 => => transferring dockerfile: 114B                                                                                                               0.0s
 => [internal] load .dockerignore                                                                                                                  0.0s
 => => transferring context: 2B                                                                                                                    0.0s
 => [internal] load metadata for docker.io/jboss/keycloak:16.1.0                                                                                   2.1s
 => CACHED [1/2] FROM docker.io/jboss/keycloak:16.1.0@sha256:6ecb9492224c6cfbb55d43f64a5ab634145d8cc1eba14eae8c37e3afde89546e                      0.0s
 => [internal] load build context                                                                                                                  0.0s
 => => transferring context: 1.02MB                                                                                                                0.0s
 => [2/2] ADD apicurio /opt/jboss/keycloak/themes/apicurio                                                                                         0.0s
 => exporting to image                                                                                                                             0.0s
 => => exporting layers                                                                                                                            0.0s
 => => writing image sha256:d7632c678284928fde3133b4b1242685a84c219893dd67aa3169628559ed3884                                                       0.0s
 => => naming to docker.io/library/as-keycloak                                                                                                     0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 13/12
 ⠿ Network docker-compose_default                        Created                                                                                   0.0s
 ⠿ Volume "docker-compose_postgre_apicurio"              Created                                                                                   0.0s
 ⠿ Volume "docker-compose_postgres_data"                 Created                                                                                   0.0s
 ⠿ Volume "docker-compose_mongo_data2"                   Created                                                                                   0.0s
 ⠿ Container microcks-postman-runtime                    Created                                                                                   0.1s
 ⠿ Container docker-compose-apicurio-studio-db-1         Created                                                                                   0.1s
 ⠿ Container microcks-mongo                              Created                                                                                   0.1s
 ⠿ Container docker-compose-jboss-keycloak-postgresql-1  Created                                                                                   0.1s
 ⠿ Container docker-compose-apicurio-studio-ws-1         Created                                                                                   0.1s
 ⠿ Container docker-compose-jboss-keycloak-1             Created                                                                                   0.1s
 ⠿ Container docker-compose-apicurio-studio-api-1        Created                                                                                   0.1s
 ⠿ Container microcks                                    Created                                                                                   0.1s
 ⠿ Container docker-compose-apicurio-studio-ui-1         Created                                                                                   0.0s
Attaching to docker-compose-apicurio-studio-api-1, docker-compose-apicurio-studio-db-1, docker-compose-apicurio-studio-ui-1, docker-compose-apicurio-studio-ws-1, docker-compose-jboss-keycloak-1, docker-compose-jboss-keycloak-postgresql-1, microcks, microcks-mongo, microcks-postman-runtime
microcks-mongo                              | 2022-09-11T13:43:25.162+0000 I CONTROL  [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=42fbf954502f
microcks-mongo                              | 2022-09-11T13:43:25.162+0000 I CONTROL  [initandlisten] db version v3.4.23
microcks-mongo                              | 2022-09-11T13:43:25.162+0000 I CONTROL  [initandlisten] git version: 324017ede1dbb1c9554dd2dceb15f8da3c59d0e8
...
microcks-mongo                              | 2022-09-11T13:43:25.228+0000 I CONTROL  [initandlisten]
microcks-mongo                              | 2022-09-11T13:43:25.228+0000 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
microcks-mongo                              | 2022-09-11T13:43:25.228+0000 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
microcks-mongo                              | 2022-09-11T13:43:25.228+0000 I CONTROL  [initandlisten]
docker-compose-apicurio-studio-db-1         | selecting default shared_buffers ... 128MB
docker-compose-jboss-keycloak-postgresql-1  | selecting default shared_buffers ... 128MB
microcks-mongo                              | 2022-09-11T13:43:25.257+0000 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
docker-compose-apicurio-studio-db-1         | selecting default time zone ... Etc/UTC
docker-compose-apicurio-studio-db-1         | creating configuration files ... ok
microcks-mongo                              | 2022-09-11T13:43:25.290+0000 I INDEX    [initandlisten] build index on: admin.system.version properties: { v: 2, key: { version: 1 }, name: "incompatible_with_version_32", ns: "admin.system.version" }
microcks-mongo                              | 2022-09-11T13:43:25.290+0000 I INDEX    [initandlisten] 	 building index using bulk method; build may temporarily use up to 500 megabytes of RAM
microcks-mongo                              | 2022-09-11T13:43:25.292+0000 I INDEX    [initandlisten] build index done.  scanned 0 total records. 0 secs
microcks-mongo                              | 2022-09-11T13:43:25.292+0000 I COMMAND  [initandlisten] setting featureCompatibilityVersion to 3.4
microcks-mongo                              | 2022-09-11T13:43:25.293+0000 I NETWORK  [thread1] waiting for connections on port 27017
docker-compose-jboss-keycloak-postgresql-1  | selecting default time zone ... Etc/UTC
docker-compose-jboss-keycloak-postgresql-1  | creating configuration files ... ok
docker-compose-jboss-keycloak-postgresql-1  | running bootstrap script ... ok
docker-compose-apicurio-studio-db-1         | running bootstrap script ... ok
docker-compose-apicurio-studio-ws-1         | Starting the Java application using /opt/jboss/container/java/run/run-java.sh ...
docker-compose-apicurio-studio-ws-1         | INFO exec  java -Dapicurio.hub.storage.jdbc.type=postgresql9 -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -javaagent:/usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar=config=/opt/jboss/container/jolokia/etc/jolokia.properties -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -cp "." -jar /deployments/apicurio-studio-ws-runner.jar
docker-compose-jboss-keycloak-postgresql-1  | performing post-bootstrap initialization ... ok
docker-compose-apicurio-studio-db-1         | performing post-bootstrap initialization ... ok
docker-compose-apicurio-studio-ws-1         | Picked up JAVA_TOOL_OPTIONS: -Djava.net.preferIPv4Stack=true
docker-compose-jboss-keycloak-postgresql-1  | syncing data to disk ... ok
docker-compose-jboss-keycloak-postgresql-1  |
docker-compose-jboss-keycloak-postgresql-1  |
docker-compose-jboss-keycloak-postgresql-1  | Success. You can now start the database server using:
docker-compose-jboss-keycloak-postgresql-1  |
docker-compose-jboss-keycloak-postgresql-1  |     pg_ctl -D /var/lib/postgresql/data -l logfile start
docker-compose-jboss-keycloak-postgresql-1  |
docker-compose-jboss-keycloak-postgresql-1  | initdb: warning: enabling "trust" authentication for local connections
docker-compose-jboss-keycloak-postgresql-1  | You can change this by editing pg_hba.conf or using the option -A, or
docker-compose-jboss-keycloak-postgresql-1  | --auth-local and --auth-host, the next time you run initdb.
docker-compose-apicurio-studio-db-1         | syncing data to disk ... initdb: warning: enabling "trust" authentication for local connections
docker-compose-apicurio-studio-db-1         | You can change this by editing pg_hba.conf or using the option -A, or
docker-compose-apicurio-studio-db-1         | --auth-local and --auth-host, the next time you run initdb.
docker-compose-apicurio-studio-db-1         | ok
docker-compose-apicurio-studio-db-1         |
docker-compose-apicurio-studio-db-1         |
docker-compose-apicurio-studio-db-1         | Success. You can now start the database server using:
docker-compose-apicurio-studio-db-1         |
docker-compose-apicurio-studio-db-1         |     pg_ctl -D /var/lib/postgresql/data -l logfile start
docker-compose-apicurio-studio-db-1         |
docker-compose-jboss-keycloak-postgresql-1  | waiting for server to start....2022-09-11 13:43:26.535 UTC [49] LOG:  starting PostgreSQL 12.9 (Debian 12.9-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:26.545 UTC [49] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
docker-compose-apicurio-studio-db-1         | waiting for server to start....2022-09-11 13:43:26.567 UTC [48] LOG:  starting PostgreSQL 12.9 (Debian 12.9-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
docker-compose-apicurio-studio-db-1         | 2022-09-11 13:43:26.570 UTC [48] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:26.606 UTC [50] LOG:  database system was shut down at 2022-09-11 13:43:26 UTC
docker-compose-apicurio-studio-db-1         | 2022-09-11 13:43:26.610 UTC [49] LOG:  database system was shut down at 2022-09-11 13:43:26 UTC
docker-compose-apicurio-studio-api-1        | Starting the Java application using /opt/jboss/container/java/run/run-java.sh ...
docker-compose-apicurio-studio-db-1         | 2022-09-11 13:43:26.625 UTC [48] LOG:  database system is ready to accept connections
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:26.625 UTC [49] LOG:  database system is ready to accept connections
docker-compose-jboss-keycloak-postgresql-1  |  done
docker-compose-jboss-keycloak-postgresql-1  | server started
docker-compose-apicurio-studio-db-1         |  done
docker-compose-apicurio-studio-db-1         | server started
microcks-postman-runtime                    | Microcks postman-runtime wrapper listening on port: 3000
microcks                                    | exec java -javaagent:/opt/agent-bond/agent-bond.jar=jolokia{{host=0.0.0.0}},jmx_exporter{{9779:/opt/agent-bond/jmx_exporter_config.yml}} -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp . -jar /deployments/app.jar
docker-compose-apicurio-studio-api-1        | INFO exec  java -Dapicurio.hub.storage.jdbc.type=postgresql9 -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -javaagent:/usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar=config=/opt/jboss/container/jolokia/etc/jolokia.properties -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -cp "." -jar /deployments/apicurio-studio-api-runner.jar
docker-compose-apicurio-studio-api-1        | Picked up JAVA_TOOL_OPTIONS: -Djava.net.preferIPv4Stack=true
docker-compose-apicurio-studio-db-1         | CREATE DATABASE
docker-compose-apicurio-studio-db-1         |
docker-compose-apicurio-studio-db-1         |
docker-compose-apicurio-studio-db-1         | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
docker-compose-apicurio-studio-db-1         |
docker-compose-apicurio-studio-db-1         | waiting for server to shut down...2022-09-11 13:43:27.104 UTC [48] LOG:  received fast shutdown request
docker-compose-apicurio-studio-db-1         | .2022-09-11 13:43:27.105 UTC [48] LOG:  aborting any active transactions
docker-compose-apicurio-studio-db-1         | 2022-09-11 13:43:27.112 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
docker-compose-apicurio-studio-db-1         | 2022-09-11 13:43:27.112 UTC [50] LOG:  shutting down
docker-compose-jboss-keycloak-postgresql-1  | CREATE DATABASE
docker-compose-jboss-keycloak-postgresql-1  |
docker-compose-jboss-keycloak-postgresql-1  |
docker-compose-jboss-keycloak-postgresql-1  | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
docker-compose-jboss-keycloak-postgresql-1  |
docker-compose-jboss-keycloak-postgresql-1  | waiting for server to shut down....2022-09-11 13:43:27.139 UTC [49] LOG:  received fast shutdown request
docker-compose-apicurio-studio-db-1         | 2022-09-11 13:43:27.141 UTC [48] LOG:  database system is shut down
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:27.141 UTC [49] LOG:  aborting any active transactions
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:27.150 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:27.153 UTC [51] LOG:  shutting down
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:27.168 UTC [49] LOG:  database system is shut down
docker-compose-jboss-keycloak-postgresql-1  |  done
docker-compose-jboss-keycloak-postgresql-1  | server stopped
docker-compose-jboss-keycloak-postgresql-1  |
docker-compose-jboss-keycloak-postgresql-1  | PostgreSQL init process complete; ready for start up.
docker-compose-jboss-keycloak-postgresql-1  |
docker-compose-apicurio-studio-db-1         | 2022-09-11 13:43:27.253 UTC [76] LOG:  database system was shut down at 2022-09-11 13:43:27 UTC
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:27.264 UTC [1] LOG:  starting PostgreSQL 12.9 (Debian 12.9-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:27.264 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:27.264 UTC [1] LOG:  listening on IPv6 address "::", port 5432
docker-compose-apicurio-studio-db-1         | 2022-09-11 13:43:27.266 UTC [1] LOG:  database system is ready to accept connections
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:27.268 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:27.287 UTC [77] LOG:  database system was shut down at 2022-09-11 13:43:27 UTC
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:27.294 UTC [1] LOG:  database system is ready to accept connections
docker-compose-apicurio-studio-ui-1         | INFO exec  java -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -javaagent:/usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar=config=/opt/jboss/container/jolokia/etc/jolokia.properties -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -cp "." -jar /deployments/apicurio-studio-ui-runner.jar
docker-compose-apicurio-studio-ui-1         | Picked up JAVA_TOOL_OPTIONS: -Djava.net.preferIPv4Stack=true
microcks                                    | I> No access restrictor found, access to any MBean is allowed
microcks                                    | Jolokia: Agent started with URL http://172.19.0.9:8778/jolokia/
docker-compose-apicurio-studio-ws-1         | WARNING: An illegal reflective access operation has occurred
docker-compose-apicurio-studio-ws-1         | WARNING: Illegal reflective access by org.jolokia.util.ClassUtil (file:/usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar) to constructor sun.security.x509.X500Name(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
docker-compose-apicurio-studio-ws-1         | WARNING: Please consider reporting this to the maintainers of org.jolokia.util.ClassUtil
docker-compose-apicurio-studio-ws-1         | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
docker-compose-apicurio-studio-ws-1         | WARNING: All illegal access operations will be denied in a future release
docker-compose-apicurio-studio-api-1        | WARNING: An illegal reflective access operation has occurred
docker-compose-apicurio-studio-api-1        | WARNING: Illegal reflective access by org.jolokia.util.ClassUtil (file:/usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar) to constructor sun.security.x509.X500Name(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
docker-compose-apicurio-studio-api-1        | WARNING: Please consider reporting this to the maintainers of org.jolokia.util.ClassUtil
docker-compose-apicurio-studio-api-1        | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
docker-compose-apicurio-studio-api-1        | WARNING: All illegal access operations will be denied in a future release
docker-compose-apicurio-studio-ui-1         | WARNING: An illegal reflective access operation has occurred
docker-compose-apicurio-studio-ui-1         | WARNING: Illegal reflective access by org.jolokia.util.ClassUtil (file:/usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar) to constructor sun.security.x509.X500Name(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
docker-compose-apicurio-studio-ui-1         | WARNING: Please consider reporting this to the maintainers of org.jolokia.util.ClassUtil
docker-compose-apicurio-studio-ui-1         | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
docker-compose-apicurio-studio-ui-1         | WARNING: All illegal access operations will be denied in a future release
docker-compose-jboss-keycloak-1             | Added 'admin' to '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json', restart server to load user
docker-compose-jboss-keycloak-1             | -b 0.0.0.0
docker-compose-apicurio-studio-api-1        | I> No access restrictor found, access to any MBean is allowed
docker-compose-apicurio-studio-api-1        | Jolokia: Agent started with URL https://172.19.0.8:8778/jolokia/
docker-compose-jboss-keycloak-1             | =========================================================================
docker-compose-jboss-keycloak-1             |
docker-compose-jboss-keycloak-1             |   Using PostgreSQL database
docker-compose-jboss-keycloak-1             |
docker-compose-jboss-keycloak-1             | =========================================================================
docker-compose-jboss-keycloak-1             |
docker-compose-apicurio-studio-ui-1         | I> No access restrictor found, access to any MBean is allowed
docker-compose-apicurio-studio-ui-1         | Jolokia: Agent started with URL https://172.19.0.10:8778/jolokia/
docker-compose-apicurio-studio-ws-1         | __  ____  __  _____   ___  __ ____  ______
docker-compose-apicurio-studio-ws-1         |  --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
docker-compose-apicurio-studio-ws-1         |  -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
docker-compose-apicurio-studio-ws-1         | --\___\_\____/_/ |_/_/|_/_/|_|\____/___/
docker-compose-apicurio-studio-ws-1         | 2022-09-11 13:43:28,849 INFO  [io.und.websockets] (main) UT026003: Adding annotated server endpoint class io.apicurio.hub.editing.EditApiDesignEndpoint for path /designs/{designId}
docker-compose-apicurio-studio-ws-1         | 2022-09-11 13:43:29,351 INFO  [io.api.hub.edi.StartupServlet] (main)
docker-compose-apicurio-studio-ws-1         | ------------------------------------------------
docker-compose-apicurio-studio-ws-1         | Starting up Apicurio Editing API
docker-compose-apicurio-studio-ws-1         | 	Version:  0.2.58.Final
docker-compose-apicurio-studio-ws-1         | 	Built On: Thu Aug 25 11:42:30 GMT 2022
docker-compose-apicurio-studio-ws-1         | 	Build:    ${git.commit.id.describe}
docker-compose-apicurio-studio-ws-1         | ------------------------------------------------
docker-compose-apicurio-studio-ws-1         | 2022-09-11 13:43:30,295 INFO  [io.agr.pool] (main) Datasource '<default>': Initial size smaller than min. Connections will be created when necessary
docker-compose-apicurio-studio-ws-1         | I> No access restrictor found, access to any MBean is allowed
docker-compose-apicurio-studio-ws-1         | Jolokia: Agent started with URL https://172.19.0.6:8778/jolokia/
docker-compose-apicurio-studio-ui-1         | __  ____  __  _____   ___  __ ____  ______
docker-compose-apicurio-studio-ui-1         |  --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
docker-compose-apicurio-studio-ui-1         |  -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
docker-compose-apicurio-studio-ui-1         | --\___\_\____/_/ |_/_/|_/_/|_|\____/___/
docker-compose-apicurio-studio-ui-1         | 2022-09-11 13:43:30,845 INFO  [io.qua.oid.com.run.OidcCommonUtils] (main) Connecting to OpenId Connect Provider for up to 30 times every 2 seconds
microcks                                    |
microcks                                    |   .   ____          _            __ _ _
microcks                                    |  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
microcks                                    | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
microcks                                    |  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
microcks                                    |   '  |____| .__|_| |_|_| |_\__, | / / / /
microcks                                    |  =========|_|==============|___/=/_/_/_/
microcks                                    |  :: Spring Boot ::                (v2.4.5)
microcks                                    |
docker-compose-apicurio-studio-ws-1         | 2022-09-11 13:43:31,474 INFO  [io.quarkus] (main) apicurio-studio-platforms-quarkus-ws 0.2.58.Final on JVM (powered by Quarkus 2.7.0.Final) started in 4.429s. Listening on: http://0.0.0.0:8080
docker-compose-apicurio-studio-ws-1         | 2022-09-11 13:43:31,475 INFO  [io.quarkus] (main) Profile prod activated.
docker-compose-apicurio-studio-ws-1         | 2022-09-11 13:43:31,479 INFO  [io.quarkus] (main) Installed features: [agroal, cdi, jdbc-h2, jdbc-mysql, jdbc-postgresql, narayana-jta, servlet, smallrye-context-propagation, vertx, websockets, websockets-client]
docker-compose-apicurio-studio-ui-1         | 2022-09-11 13:43:31,731 INFO  [io.quarkus] (main) apicurio-studio-platforms-quarkus-ui 0.2.58.Final on JVM (powered by Quarkus 2.7.0.Final) started in 3.629s. Listening on: http://0.0.0.0:8080
docker-compose-apicurio-studio-ui-1         | 2022-09-11 13:43:31,731 INFO  [io.quarkus] (main) Profile prod activated.
docker-compose-apicurio-studio-ui-1         | 2022-09-11 13:43:31,732 INFO  [io.quarkus] (main) Installed features: [cdi, oidc, security, servlet, smallrye-context-propagation, vertx]
...
docker-compose-apicurio-studio-api-1        | __  ____  __  _____   ___  __ ____  ______
docker-compose-apicurio-studio-api-1        |  --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
docker-compose-apicurio-studio-api-1        |  -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
docker-compose-apicurio-studio-api-1        | --\___\_\____/_/ |_/_/|_/_/|_|\____/___/
docker-compose-apicurio-studio-api-1        | 2022-09-11 13:43:30,733 INFO  [io.api.hub.api.res.imp.HubApplication] (main)
docker-compose-apicurio-studio-api-1        | ------------------------------------------------
docker-compose-apicurio-studio-api-1        | Starting up Apicurio Hub API
docker-compose-apicurio-studio-api-1        | ------------------------------------------------
docker-compose-apicurio-studio-api-1        | 2022-09-11 13:43:31,868 INFO  [io.agr.pool] (main) Datasource '<default>': Initial size smaller than min. Connections will be created when necessary
docker-compose-apicurio-studio-api-1        | 2022-09-11 13:43:32,165 INFO  [io.qua.oid.com.run.OidcCommonUtils] (main) Connecting to OpenId Connect Provider for up to 30 times every 2 seconds
docker-compose-jboss-keycloak-1             | 13:43:32,812 INFO  [org.jboss.modules] (CLI command executor) JBoss Modules version 2.0.0.Final
docker-compose-apicurio-studio-api-1        | 2022-09-11 13:43:32,879 INFO  [io.quarkus] (main) apicurio-studio-platforms-quarkus-api 0.2.58.Final on JVM (powered by Quarkus 2.7.0.Final) started in 5.144s. Listening on: http://0.0.0.0:8080
docker-compose-apicurio-studio-api-1        | 2022-09-11 13:43:32,880 INFO  [io.quarkus] (main) Profile prod activated.
docker-compose-apicurio-studio-api-1        | 2022-09-11 13:43:32,880 INFO  [io.quarkus] (main) Installed features: [agroal, cdi, jdbc-h2, jdbc-mysql, jdbc-postgresql, narayana-jta, oidc, resteasy, resteasy-jackson, security, servlet, smallrye-context-propagation, vertx]
docker-compose-jboss-keycloak-1             | 13:43:32,913 INFO  [org.jboss.msc] (CLI command executor) JBoss MSC version 1.4.13.Final
docker-compose-jboss-keycloak-1             | 13:43:32,925 INFO  [org.jboss.threads] (CLI command executor) JBoss Threads version 2.4.0.Final
docker-compose-jboss-keycloak-1             | 13:43:33,088 INFO  [org.jboss.as] (MSC service thread 1-3) WFLYSRV0049: Keycloak 16.1.0 (WildFly Core 18.0.0.Final) starting
docker-compose-jboss-keycloak-1             | 13:43:33,220 INFO  [org.jboss.vfs] (MSC service thread 1-3) VFS000002: Failed to clean existing content for temp file provider of type temp. Enable DEBUG level log to find what caused this
docker-compose-jboss-keycloak-1             | WARNING: An illegal reflective access operation has occurred
docker-compose-jboss-keycloak-1             | WARNING: Illegal reflective access by org.wildfly.extension.elytron.SSLDefinitions (jar:file:/opt/jboss/keycloak/modules/system/layers/base/org/wildfly/extension/elytron/main/wildfly-elytron-integration-18.0.0.Final.jar!/) to method com.sun.net.ssl.internal.ssl.Provider.isFIPS()
docker-compose-jboss-keycloak-1             | WARNING: Please consider reporting this to the maintainers of org.wildfly.extension.elytron.SSLDefinitions
docker-compose-jboss-keycloak-1             | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
docker-compose-jboss-keycloak-1             | WARNING: All illegal access operations will be denied in a future release
docker-compose-jboss-keycloak-1             | 13:43:34,181 INFO  [org.wildfly.security] (ServerService Thread Pool -- 18) ELY00001: WildFly Elytron version 1.18.1.Final
docker-compose-jboss-keycloak-1             | 13:43:35,201 WARN  [org.wildfly.extension.elytron] (MSC service thread 1-5) WFLYELY00023: KeyStore file '/opt/jboss/keycloak/standalone/configuration/application.keystore' does not exist. Used blank.
docker-compose-jboss-keycloak-1             | 13:43:35,214 WARN  [org.wildfly.extension.elytron] (MSC service thread 1-3) WFLYELY01084: KeyStore /opt/jboss/keycloak/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self-signed certificate for host localhost
docker-compose-jboss-keycloak-1             | 13:43:35,274 INFO  [org.jboss.as.patching] (MSC service thread 1-3) WFLYPAT0050: Keycloak cumulative patch ID is: base, one-off patches include: none
docker-compose-jboss-keycloak-1             | 13:43:35,579 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
docker-compose-jboss-keycloak-1             | 13:43:35,581 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 16.1.0 (WildFly Core 18.0.0.Final) started in 2750ms - Started 49 of 72 services (24 services are lazy, passive or on-demand)
...
docker-compose-jboss-keycloak-1             | 13:43:37,456 INFO  [org.jboss.modules] (CLI command executor) JBoss Modules version 2.0.0.Final
docker-compose-jboss-keycloak-1             | 13:43:37,525 INFO  [org.jboss.msc] (CLI command executor) JBoss MSC version 1.4.13.Final
docker-compose-jboss-keycloak-1             | 13:43:37,541 INFO  [org.jboss.threads] (CLI command executor) JBoss Threads version 2.4.0.Final
docker-compose-jboss-keycloak-1             | 13:43:37,687 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: Keycloak 16.1.0 (WildFly Core 18.0.0.Final) starting
docker-compose-jboss-keycloak-1             | 13:43:37,810 INFO  [org.jboss.vfs] (MSC service thread 1-1) VFS000002: Failed to clean existing content for temp file provider of type temp. Enable DEBUG level log to find what caused this
docker-compose-jboss-keycloak-1             | WARNING: An illegal reflective access operation has occurred
docker-compose-jboss-keycloak-1             | WARNING: Illegal reflective access by org.wildfly.extension.elytron.SSLDefinitions (jar:file:/opt/jboss/keycloak/modules/system/layers/base/org/wildfly/extension/elytron/main/wildfly-elytron-integration-18.0.0.Final.jar!/) to method com.sun.net.ssl.internal.ssl.Provider.isFIPS()
docker-compose-jboss-keycloak-1             | WARNING: Please consider reporting this to the maintainers of org.wildfly.extension.elytron.SSLDefinitions
docker-compose-jboss-keycloak-1             | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
docker-compose-jboss-keycloak-1             | WARNING: All illegal access operations will be denied in a future release
docker-compose-jboss-keycloak-1             | 13:43:38,479 INFO  [org.wildfly.security] (ServerService Thread Pool -- 20) ELY00001: WildFly Elytron version 1.18.1.Final
docker-compose-jboss-keycloak-1             | 13:43:39,234 WARN  [org.wildfly.extension.elytron] (MSC service thread 1-5) WFLYELY00023: KeyStore file '/opt/jboss/keycloak/standalone/configuration/application.keystore' does not exist. Used blank.
docker-compose-jboss-keycloak-1             | 13:43:39,240 WARN  [org.wildfly.extension.elytron] (MSC service thread 1-7) WFLYELY01084: KeyStore /opt/jboss/keycloak/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self-signed certificate for host localhost
docker-compose-jboss-keycloak-1             | 13:43:39,285 INFO  [org.jboss.as.patching] (MSC service thread 1-6) WFLYPAT0050: Keycloak cumulative patch ID is: base, one-off patches include: none
docker-compose-jboss-keycloak-1             | 13:43:39,382 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
docker-compose-jboss-keycloak-1             | 13:43:39,385 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 16.1.0 (WildFly Core 18.0.0.Final) started in 1921ms - Started 49 of 79 services (31 services are lazy, passive or on-demand)
docker-compose-jboss-keycloak-1             | The batch executed successfully
docker-compose-jboss-keycloak-1             | 13:43:39,516 INFO  [org.jboss.as] (MSC service thread 1-8) WFLYSRV0050: Keycloak 16.1.0 (WildFly Core 18.0.0.Final) stopped in 15ms
docker-compose-jboss-keycloak-1             | 
...
docker-compose-jboss-keycloak-1             |
docker-compose-jboss-keycloak-1             | 13:43:40,152 INFO  [org.jboss.modules] (main) JBoss Modules version 2.0.0.Final
docker-compose-jboss-keycloak-1             | 13:43:40,532 INFO  [org.jboss.msc] (main) JBoss MSC version 1.4.13.Final
docker-compose-jboss-keycloak-1             | 13:43:40,539 INFO  [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final
docker-compose-jboss-keycloak-1             | 13:43:40,632 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: Keycloak 16.1.0 (WildFly Core 18.0.0.Final) starting
docker-compose-jboss-keycloak-1             | 13:43:40,728 INFO  [org.jboss.vfs] (MSC service thread 1-4) VFS000002: Failed to clean existing content for temp file provider of type temp. Enable DEBUG level log to find what caused this
docker-compose-jboss-keycloak-1             | WARNING: An illegal reflective access operation has occurred
docker-compose-jboss-keycloak-1             | WARNING: Illegal reflective access by org.wildfly.extension.elytron.SSLDefinitions (jar:file:/opt/jboss/keycloak/modules/system/layers/base/org/wildfly/extension/elytron/main/wildfly-elytron-integration-18.0.0.Final.jar!/) to method com.sun.net.ssl.internal.ssl.Provider.isFIPS()
docker-compose-jboss-keycloak-1             | WARNING: Please consider reporting this to the maintainers of org.wildfly.extension.elytron.SSLDefinitions
docker-compose-jboss-keycloak-1             | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
docker-compose-jboss-keycloak-1             | WARNING: All illegal access operations will be denied in a future release
docker-compose-jboss-keycloak-1             | 13:43:41,263 INFO  [org.wildfly.security] (ServerService Thread Pool -- 20) ELY00001: WildFly Elytron version 1.18.1.Final
docker-compose-jboss-keycloak-1             | 13:43:41,913 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
docker-compose-jboss-keycloak-1             | 13:43:41,927 INFO  [org.xnio] (MSC service thread 1-6) XNIO version 3.8.5.Final
docker-compose-jboss-keycloak-1             | 13:43:41,933 INFO  [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.8.5.Final
docker-compose-jboss-keycloak-1             | 13:43:41,969 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem.
docker-compose-jboss-keycloak-1             | 13:43:41,989 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 49) WFLYNAM0001: Activating Naming Subsystem
docker-compose-jboss-keycloak-1             | 13:43:41,998 INFO  [org.wildfly.extension.health] (ServerService Thread Pool -- 37) WFLYHEALTH0001: Activating Base Health Subsystem
docker-compose-jboss-keycloak-1             | 13:43:41,991 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 40) WFLYRS0016: RESTEasy version 4.7.4.Final
docker-compose-jboss-keycloak-1             | 13:43:42,020 INFO  [org.jboss.remoting] (MSC service thread 1-8) JBoss Remoting version 5.0.23.Final
docker-compose-jboss-keycloak-1             | 13:43:42,028 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 42) WFLYCLJG0001: Activating JGroups subsystem. JGroups version 4.2.11
docker-compose-jboss-keycloak-1             | 13:43:42,027 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 53) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
docker-compose-jboss-keycloak-1             | 13:43:42,028 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 39) WFLYIO001: Worker 'default' has auto-configured to 12 IO threads with 96 max task threads based on your 6 available processors
docker-compose-jboss-keycloak-1             | 13:43:42,050 INFO  [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting Naming Service
docker-compose-jboss-keycloak-1             | 13:43:42,054 INFO  [org.wildfly.extension.metrics] (ServerService Thread Pool -- 47) WFLYMETRICS0001: Activating Base Metrics Subsystem
docker-compose-jboss-keycloak-1             | 13:43:42,056 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
docker-compose-jboss-keycloak-1             | 13:43:42,070 INFO  [org.jboss.as.connector] (MSC service thread 1-3) WFLYJCA0009: Starting Jakarta Connectors Subsystem (WildFly/IronJacamar 1.5.3.Final)
docker-compose-jboss-keycloak-1             | 13:43:42,131 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 32) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
docker-compose-jboss-keycloak-1             | 13:43:42,144 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = h2
docker-compose-jboss-keycloak-1             | 13:43:42,151 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003: Undertow 2.2.14.Final starting
docker-compose-jboss-keycloak-1             | 13:43:42,173 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 32) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 42.2)
docker-compose-jboss-keycloak-1             | 13:43:42,188 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = postgresql
docker-compose-jboss-keycloak-1             | 13:43:42,281 WARN  [org.wildfly.clustering.web.undertow] (ServerService Thread Pool -- 54) WFLYCLWEBUT0007: No routing provider found for default-server; using legacy provider based on static configuration
docker-compose-jboss-keycloak-1             | 13:43:42,320 WARN  [org.wildfly.extension.elytron] (MSC service thread 1-6) WFLYELY00023: KeyStore file '/opt/jboss/keycloak/standalone/configuration/application.keystore' does not exist. Used blank.
docker-compose-jboss-keycloak-1             | 13:43:42,344 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 96 (per class), which is derived from thread worker pool sizing.
docker-compose-jboss-keycloak-1             | 13:43:42,348 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 24 (per class), which is derived from the number of CPUs on this host.
docker-compose-jboss-keycloak-1             | 13:43:42,352 WARN  [org.wildfly.extension.elytron] (MSC service thread 1-6) WFLYELY01084: KeyStore /opt/jboss/keycloak/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self-signed certificate for host localhost
docker-compose-jboss-keycloak-1             | 13:43:42,389 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 54) WFLYUT0014: Creating file handler for path '/opt/jboss/keycloak/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
docker-compose-jboss-keycloak-1             | 13:43:42,400 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0012: Started server default-server.
docker-compose-jboss-keycloak-1             | 13:43:42,428 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) Queuing requests.
docker-compose-jboss-keycloak-1             | 13:43:42,429 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0018: Host default-host starting
docker-compose-jboss-keycloak-1             | 13:43:42,467 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow AJP listener ajp listening on 0.0.0.0:8009
docker-compose-jboss-keycloak-1             | 13:43:42,469 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006: Undertow HTTP listener default listening on 0.0.0.0:8080
docker-compose-jboss-keycloak-1             | 13:43:42,480 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 56) MODCLUSTER000001: Initializing mod_cluster version 1.4.4.Final
docker-compose-jboss-keycloak-1             | 13:43:42,496 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 56) MODCLUSTER000032: Listening to proxy advertisements on /224.0.1.105:23364
docker-compose-jboss-keycloak-1             | 13:43:42,651 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0493: Jakarta Enterprise Beans subsystem suspension complete
docker-compose-jboss-keycloak-1             | 13:43:42,740 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow HTTPS listener https listening on 0.0.0.0:8443
docker-compose-jboss-keycloak-1             | 13:43:42,767 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/KeycloakDS]
docker-compose-jboss-keycloak-1             | 13:43:42,769 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
docker-compose-jboss-keycloak-1             | 13:43:42,854 INFO  [org.jboss.as.patching] (MSC service thread 1-8) WFLYPAT0050: Keycloak cumulative patch ID is: base, one-off patches include: none
docker-compose-jboss-keycloak-1             | 13:43:42,867 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory /opt/jboss/keycloak/standalone/deployments
docker-compose-jboss-keycloak-1             | 13:43:42,883 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "keycloak-server.war" (runtime-name: "keycloak-server.war")
docker-compose-jboss-keycloak-1             | 13:43:43,328 WARN  [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 56) JGRP000015: the send buffer of socket ManagedMulticastSocketBinding was set to 1.00MB, but the OS only allocated 212.99KB
docker-compose-jboss-keycloak-1             | 13:43:43,328 WARN  [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 56) JGRP000015: the receive buffer of socket ManagedMulticastSocketBinding was set to 20.00MB, but the OS only allocated 212.99KB
docker-compose-jboss-keycloak-1             | 13:43:43,329 WARN  [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 56) JGRP000015: the send buffer of socket ManagedMulticastSocketBinding was set to 1.00MB, but the OS only allocated 212.99KB
docker-compose-jboss-keycloak-1             | 13:43:43,330 WARN  [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 56) JGRP000015: the receive buffer of socket ManagedMulticastSocketBinding was set to 25.00MB, but the OS only allocated 212.99KB
docker-compose-jboss-keycloak-1             | 13:43:46,352 INFO  [org.jgroups.protocols.pbcast.GMS] (ServerService Thread Pool -- 56) a31df5d8db78: no members discovered after 3005 ms: creating cluster as coordinator
docker-compose-jboss-keycloak-1             | 13:43:46,734 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 60) ISPN000128: Infinispan version: Infinispan 'Taedonggang' 12.1.7.Final
docker-compose-jboss-keycloak-1             | 13:43:46,738 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 60) ISPN000556: Starting user marshaller 'org.wildfly.clustering.infinispan.spi.marshalling.InfinispanProtoStreamMarshaller'
docker-compose-jboss-keycloak-1             | 13:43:46,740 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 61) ISPN000556: Starting user marshaller 'org.wildfly.clustering.infinispan.spi.marshalling.InfinispanProtoStreamMarshaller'
docker-compose-jboss-keycloak-1             | 13:43:46,739 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 59) ISPN000556: Starting user marshaller 'org.wildfly.clustering.infinispan.spi.marshalling.InfinispanProtoStreamMarshaller'
docker-compose-jboss-keycloak-1             | 13:43:46,741 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 58) ISPN000556: Starting user marshaller 'org.wildfly.clustering.infinispan.marshalling.jboss.JBossMarshaller'
docker-compose-jboss-keycloak-1             | 13:43:46,783 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 57) ISPN000556: Starting user marshaller 'org.wildfly.clustering.infinispan.marshalling.jboss.JBossMarshaller'
docker-compose-jboss-keycloak-1             | 13:43:46,916 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 59) ISPN000078: Starting JGroups channel ejb
docker-compose-jboss-keycloak-1             | 13:43:46,918 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 60) ISPN000078: Starting JGroups channel ejb
docker-compose-jboss-keycloak-1             | 13:43:46,917 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 61) ISPN000078: Starting JGroups channel ejb
docker-compose-jboss-keycloak-1             | 13:43:46,918 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 58) ISPN000078: Starting JGroups channel ejb
docker-compose-jboss-keycloak-1             | 13:43:46,919 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 57) ISPN000078: Starting JGroups channel ejb
docker-compose-jboss-keycloak-1             | 13:43:46,924 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 60) ISPN000094: Received new cluster view for channel ejb: [a31df5d8db78|0] (1) [a31df5d8db78]
docker-compose-jboss-keycloak-1             | 13:43:46,924 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 59) ISPN000094: Received new cluster view for channel ejb: [a31df5d8db78|0] (1) [a31df5d8db78]
docker-compose-jboss-keycloak-1             | 13:43:46,924 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 58) ISPN000094: Received new cluster view for channel ejb: [a31df5d8db78|0] (1) [a31df5d8db78]
docker-compose-jboss-keycloak-1             | 13:43:46,925 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 61) ISPN000094: Received new cluster view for channel ejb: [a31df5d8db78|0] (1) [a31df5d8db78]
docker-compose-jboss-keycloak-1             | 13:43:46,924 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 57) ISPN000094: Received new cluster view for channel ejb: [a31df5d8db78|0] (1) [a31df5d8db78]
docker-compose-jboss-keycloak-1             | 13:43:46,932 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 57) ISPN000079: Channel ejb local address is a31df5d8db78, physical addresses are [172.19.0.7:55200]
docker-compose-jboss-keycloak-1             | 13:43:46,936 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 61) ISPN000079: Channel ejb local address is a31df5d8db78, physical addresses are [172.19.0.7:55200]
docker-compose-jboss-keycloak-1             | 13:43:46,937 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 58) ISPN000079: Channel ejb local address is a31df5d8db78, physical addresses are [172.19.0.7:55200]
docker-compose-jboss-keycloak-1             | 13:43:46,938 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 59) ISPN000079: Channel ejb local address is a31df5d8db78, physical addresses are [172.19.0.7:55200]
docker-compose-jboss-keycloak-1             | 13:43:46,940 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 60) ISPN000079: Channel ejb local address is a31df5d8db78, physical addresses are [172.19.0.7:55200]
docker-compose-jboss-keycloak-1             | 13:43:46,986 INFO  [org.infinispan.CONFIG] (MSC service thread 1-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
docker-compose-jboss-keycloak-1             | 13:43:46,988 INFO  [org.infinispan.CONFIG] (MSC service thread 1-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
...
docker-compose-jboss-keycloak-1             | 13:43:47,475 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0273: Excluded subsystem webservices via jboss-deployment-structure.xml does not exist.
docker-compose-jboss-keycloak-1             | 13:43:47,785 INFO  [org.keycloak.services] (ServerService Thread Pool -- 67) KC-SERVICES0001: Loading config from standalone.xml or domain.xml
docker-compose-jboss-keycloak-1             | 13:43:48,158 INFO  [org.keycloak.url.DefaultHostnameProviderFactory] (ServerService Thread Pool -- 67) Frontend: <request>, Admin: <frontend>, Backend: <request>
docker-compose-jboss-keycloak-1             | 13:43:48,358 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 67) WFLYCLINF0002: Started realmRevisions cache from keycloak container
docker-compose-jboss-keycloak-1             | 13:43:48,365 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 67) WFLYCLINF0002: Started userRevisions cache from keycloak container
docker-compose-jboss-keycloak-1             | 13:43:48,373 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 67) WFLYCLINF0002: Started authorizationRevisions cache from keycloak container
docker-compose-jboss-keycloak-1             | 13:43:48,374 INFO  [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (ServerService Thread Pool -- 67) Node name: a31df5d8db78, Site name: null
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:49.134 UTC [84] ERROR:  relation "public.databasechangeloglock" does not exist at character 22
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:49.134 UTC [84] STATEMENT:  select count(*) from public.databasechangeloglock
docker-compose-jboss-keycloak-1             | 13:43:49,181 INFO  [org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory] (ServerService Thread Pool -- 67) Database info: {databaseUrl=jdbc:postgresql://jboss-keycloak-postgresql:5432/keycloak, databaseUser=keycloak, databaseProduct=PostgreSQL 12.9 (Debian 12.9-1.pgdg110+1), databaseDriver=PostgreSQL JDBC Driver 42.2.5}
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:49.937 UTC [85] ERROR:  relation "public.databasechangelog" does not exist at character 22
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:49.937 UTC [85] STATEMENT:  select count(*) from public.databasechangelog
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:50.654 UTC [85] ERROR:  relation "public.databasechangelog" does not exist at character 22
docker-compose-jboss-keycloak-postgresql-1  | 2022-09-11 13:43:50.654 UTC [85] STATEMENT:  select count(*) from public.databasechangelog
docker-compose-jboss-keycloak-1             | 13:43:50,869 INFO  [org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider] (ServerService Thread Pool -- 67) Initializing database schema. Using changelog META-INF/jpa-changelog-master.xml
docker-compose-jboss-keycloak-1             | 13:43:53,207 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 67) HHH000204: Processing PersistenceUnitInfo [
docker-compose-jboss-keycloak-1             | 	name: keycloak-default
docker-compose-jboss-keycloak-1             | 	...]
docker-compose-jboss-keycloak-1             | 13:43:53,258 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 67) HHH000412: Hibernate Core {5.3.24.Final}
docker-compose-jboss-keycloak-1             | 13:43:53,260 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 67) HHH000206: hibernate.properties not found
docker-compose-jboss-keycloak-1             | 13:43:53,396 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 67) HCANN000001: Hibernate Commons Annotations {5.0.5.Final}
docker-compose-jboss-keycloak-1             | 13:43:53,536 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 67) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL95Dialect
docker-compose-jboss-keycloak-1             | 13:43:53,703 INFO  [org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl] (ServerService Thread Pool -- 67) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
docker-compose-jboss-keycloak-1             | 13:43:53,706 INFO  [org.hibernate.type.BasicTypeRegistry] (ServerService Thread Pool -- 67) HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@9294800
docker-compose-jboss-keycloak-1             | 13:43:53,709 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 67) Envers integration enabled? : true
docker-compose-jboss-keycloak-1             | 13:43:53,928 INFO  [org.hibernate.orm.beans] (ServerService Thread Pool -- 67) HHH10005002: No explicit CDI BeanManager reference was passed to Hibernate, but CDI is available on the Hibernate ClassLoader.
docker-compose-jboss-keycloak-1             | 13:43:54,153 INFO  [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 67) HV000001: Hibernate Validator 6.0.22.Final
docker-compose-jboss-keycloak-1             | 13:43:55,021 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 67) HHH000397: Using ASTQueryTranslatorFactory
docker-compose-jboss-keycloak-1             | 13:43:55,424 INFO  [org.keycloak.services] (ServerService Thread Pool -- 67) KC-SERVICES0050: Initializing master realm
docker-compose-jboss-keycloak-1             | 13:43:58,748 INFO  [org.keycloak.services] (ServerService Thread Pool -- 67) KC-SERVICES0004: Imported realm apicurio from file /microcks-keycloak-config/apicurio-realm.json.
docker-compose-jboss-keycloak-1             | 13:43:59,548 INFO  [org.keycloak.services] (ServerService Thread Pool -- 67) KC-SERVICES0004: Imported realm microcks from file /microcks-keycloak-config/microcks-realm.json.
docker-compose-jboss-keycloak-1             | 13:43:59,599 INFO  [org.keycloak.services] (ServerService Thread Pool -- 67) KC-SERVICES0006: Importing users from '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json'
docker-compose-jboss-keycloak-1             | 13:43:59,635 INFO  [org.keycloak.services] (ServerService Thread Pool -- 67) KC-SERVICES0009: Added user 'admin' to realm 'master'
docker-compose-jboss-keycloak-1             | 13:43:59,830 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.keycloak.services.resources.KeycloakApplication
docker-compose-jboss-keycloak-1             | 13:43:59,832 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002200: Adding class resource org.keycloak.services.resources.JsResource from Application class org.keycloak.services.resources.KeycloakApplication
docker-compose-jboss-keycloak-1             | 13:43:59,832 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002200: Adding class resource org.keycloak.services.resources.ThemeResource from Application class org.keycloak.services.resources.KeycloakApplication
docker-compose-jboss-keycloak-1             | 13:43:59,833 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002205: Adding provider class org.keycloak.services.filters.KeycloakSecurityHeadersFilter from Application class org.keycloak.services.resources.KeycloakApplication
docker-compose-jboss-keycloak-1             | 13:43:59,833 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002205: Adding provider class org.keycloak.services.error.KeycloakErrorHandler from Application class org.keycloak.services.resources.KeycloakApplication
docker-compose-jboss-keycloak-1             | 13:43:59,834 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002210: Adding provider singleton org.keycloak.services.util.ObjectMapperResolver from Application class org.keycloak.services.resources.KeycloakApplication
docker-compose-jboss-keycloak-1             | 13:43:59,834 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.RealmsResource from Application class org.keycloak.services.resources.KeycloakApplication
docker-compose-jboss-keycloak-1             | 13:43:59,834 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.RobotsResource from Application class org.keycloak.services.resources.KeycloakApplication
docker-compose-jboss-keycloak-1             | 13:43:59,834 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.WelcomeResource from Application class org.keycloak.services.resources.KeycloakApplication
docker-compose-jboss-keycloak-1             | 13:43:59,835 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 67) RESTEASY002220: Adding singleton resource org.keycloak.services.resources.admin.AdminRoot from Application class org.keycloak.services.resources.KeycloakApplication
docker-compose-jboss-keycloak-1             | 13:43:59,911 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 67) WFLYUT0021: Registered web context: '/auth' for server 'default-server'
docker-compose-jboss-keycloak-1             | 13:44:00,021 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name : "keycloak-server.war")
docker-compose-jboss-keycloak-1             | 13:44:00,105 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
docker-compose-jboss-keycloak-1             | 13:44:00,109 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 16.1.0 (WildFly Core 18.0.0.Final) started in 20205ms - Started 675 of 976 services (696 services are lazy, passive or on-demand)
docker-compose-jboss-keycloak-1             | 13:44:00,113 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
docker-compose-jboss-keycloak-1             | 13:44:00,113 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990


microcks                                    | 13:56:13.605 DEBUG 1 --- [080-exec-4] i.g.m.web.KeycloakConfigController       : Returning 'microcks' realm config, for http://192.168.43.187:8090/auth
microcks                                    | 13:56:22.486 DEBUG 1 --- [80-exec-10] i.g.m.web.KeycloakConfigController       : Returning 'microcks' realm config, for http://192.168.43.187:8090/auth
microcks                                    | 13:56:23.335 DEBUG 1 --- [080-exec-6] i.g.m.web.VersionInfoController          : Returning '1.4.2-SNAPSHOT' version information
microcks                                    | 13:56:23.423 DEBUG 1 --- [080-exec-3] i.g.m.web.InvocationController           : Getting invocations stats for last 20 days
microcks                                    | 13:56:23.429 DEBUG 1 --- [080-exec-8] i.g.m.web.InvocationController           : Getting top 20 invocations stats for day 20220911
microcks-mongo                              | 2022-09-11T13:56:23.610+0000 I NETWORK  [thread1] connection accepted from 172.19.0.9:46612 #3 (3 connections now open)
microcks-mongo                              | 2022-09-11T13:56:23.610+0000 I NETWORK  [thread1] connection accepted from 172.19.0.9:46610 #4 (4 connections now open)
microcks-mongo                              | 2022-09-11T13:56:23.611+0000 I NETWORK  [conn3] received client metadata from 172.19.0.9:46612 conn3: { driver: { name: "mongo-java-driver|sync|spring-boot", version: "4.1.2" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "5.10.124-linuxkit" }, platform: "Java/Red Hat, Inc./11.0.13+8-LTS" }
microcks-mongo                              | 2022-09-11T13:56:23.612+0000 I NETWORK  [conn4] received client metadata from 172.19.0.9:46610 conn4: { driver: { name: "mongo-java-driver|sync|spring-boot", version: "4.1.2" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "5.10.124-linuxkit" }, platform: "Java/Red Hat, Inc./11.0.13+8-LTS" }
microcks                                    | 13:56:23.615  INFO 1 --- [080-exec-8] org.mongodb.driver.connection            : Opened connection [connectionId{localValue:3, serverValue:4}] to mongo:27017
microcks                                    | 13:56:23.616  INFO 1 --- [080-exec-3] org.mongodb.driver.connection            : Opened connection [connectionId{localValue:4, serverValue:3}] to mongo:27017
microcks                                    | 13:56:24.072  INFO 1 --- [080-exec-5] o.k.adapters.KeycloakDeployment          : Loaded URLs from http://192.168.43.187:8090/auth/realms/microcks/.well-known/openid-configuration
microcks                                    | 13:56:24.163 DEBUG 1 --- [080-exec-5] i.g.m.s.UserInfoInContextInterceptor     : Intercepting and pre-handling request to check @EnableUserInfoInContext
microcks                                    | 13:56:24.164 DEBUG 1 --- [080-exec-5] i.g.microcks.web.ServiceController       : Counting services by type...


docker-compose-apicurio-studio-ui-1         | 2022-09-11 13:57:45,125 INFO  [io.qua.oid.com.run.OidcCommonUtils] (executor-thread-0) Connecting to OpenId Connect Provider for up to 30 times every 2 seconds
docker-compose-jboss-keycloak-1             | 13:57:45,404 WARN  [org.keycloak.events] (default task-6) type=LOGIN_ERROR, realmId=apicurio, clientId=apicurio-studio, userId=null, ipAddress=172.19.0.1, error=invalid_redirect_uri, redirect_uri=**https**://192.168.43.187:8093/
@roy-mdsol
Copy link
Author

roy-mdsol commented Sep 11, 2022

Additional Info if it helps

http://192.168.43.187:8093 -- redirects to --> http://192.168.43.187:8090/auth/realms/apicurio/protocol/openid-connect/auth?response_type=code&client_id=apicurio-studio&scope=openid&redirect_uri=https%3A%2F%2F192.168.43.187%3A8093%2F&state=0cf12bf4-45da-44d4-8387-88d54e0b2173

If change redirect_uri in the URL from https to http and try in a new browser
http://192.168.43.187:8090/auth/realms/apicurio/protocol/openid-connect/auth?response_type=code&client_id=apicurio-studio&scope=openid&redirect_uri=http%3A%2F%2F192.168.43.187%3A8093%2F&state=0cf12bf4-45da-44d4-8387-88d54e0b2173 --> Opens up login page --> entered Correct Credentials -- Redirects to --> http://192.168.43.187:8093/?state=0cf12bf4-45da-44d4-8387-88d54e0b2173&session_state=42287f15-0c30-4ce9-9670-4e434784974a&code=9ec6f863-46af-4310-9f19-10d36a012f04.42287f15-0c30-4ce9-9670-4e434784974a.0ca69b5c-7f5b-4f16-b8ba-cdca66eca9e1 and fails with 401 Unauthorized access.

I've turned on Keycloak event logging and it shows CODE_TO_TOKEN_ERROR. But my Access Type is set to Public
Screenshot 2022-09-11 at 3 36 58 pm

@felipebraga
Copy link

Same error here.

I think the env property APICURIO_UI_VALIDATION_CHANNELNAME_REGEXP could be removed, since it has a default value at the code StudioUiConfiguration.java#L129, but it seems this regex is slightly different from that located in .env file

@EricWittmann
Copy link
Member

Sorry this GH issue slipped through unnoticed until today. The reason for invalid redirect_uri is, I think, typically when the application URL is not configured as a valid redirect URI in the Keycloak client. But you've included a screenshot that seems to indicate that it's configured correctly.

We'll need to try and reproduce locally.

@roy-mdsol
Copy link
Author

Thank you for your reply @EricWittmann. If any additional Screenshots or details are needed kindly let me know.

@carlesarnal
Copy link
Member

@roy-mdsol do you mind sharing the environment variables configuration?

@roy-mdsol
Copy link
Author

#APICURIO VERSION
APICURIO_API_VERSION=latest-release
APICURIO_WS_VERSION=latest-release
APICURIO_UI_VERSION=latest-release

#APICURIO VARIANT
APICURIO_API_VARIANT=
APICURIO_WS_VARIANT=

#HOSTNAME OR IP ADDRESS
HOST=10.98.30.101

#KEYCLOAK

KC_SQL_DATABASE=keycloak
KC_SQL_ROOT_PASSWORD=5ovOid
KC_SQL_USER=keycloak
KC_SQL_PASSWORD=TSdgiy

KEYCLOAK_USER=admin
KEYCLOAK_PASSWORD=V6q3Rg

DB_VENDOR=postgres
DB_ADDR=jboss-keycloak-postgresql
DB_USER=keycloak
DB_PASSWORD=TSdgiy

#MICROCKS

MR_SPRING_PROFILES_ACTIVE=prod
MR_SPRING_DATA_MONGODB_URI=mongodb://mongo:27017
MR_SPRING_DATA_MONGODB_DATABASE=microcks
MR_POSTMAN_RUNNER_URL=http://postman:3000
MR_TEST_CALLBACK_URL=http://10.98.30.101:8090
MR_KEYCLOAK_URL=http://10.98.30.101:8090/auth

#APICURIO-STUDIO

AS_DATABASE=apicuriodb
AS_MYSQL_ROOT_PASSWORD=9pRc1y
AS_DB_USER=apicurio
AS_DB_PASSWORD=6BvHM6

APICURIO_KC_AUTH_URL=http://10.98.30.101:8090/auth
APICURIO_KC_REALM=apicurio

APICURIO_DB_TYPE=postgresql9
APICURIO_DB_DRIVER_NAME=postgresql
APICURIO_DB_CONNECTION_URL=jdbc:postgresql://apicurio-studio-db/apicuriodb
APICURIO_DB_USER_NAME=apicurio
APICURIO_DB_PASSWORD=6BvHM6
WS_APICURIO_DB_INITIALIZE=false

API_APICURIO_DB_INITIALIZE=true
API_APICURIO_KC_CLIENT_ID=apicurio-api

APICURIO_MICROCKS_API_URL=http://10.98.30.101:8900/api
APICURIO_MICROCKS_CLIENT_ID=microcks-serviceaccount
APICURIO_MICROCKS_CLIENT_SECRET=f5235b9c-e5c2-4a92-994e-bf3c0068e963

APICURIO_GITHUB_API_URL=
APICURIO_GITLAB_API_URL=
APICURIO_BITBUCKET_API_URL=

APICURIO_UI_KC_CLIENT_ID=apicurio-studio
APICURIO_UI_HUB_API_URL=http://10.98.30.101:8091
APICURIO_UI_EDITING_URL=ws://10.98.30.101:8092
APICURIO_UI_FEATURE_MICROCKS=true

APICURIO_SHARE_FOR_EVERYONE=false
APICURIO_UI_FEATURE_SHARE_WITH_EVERYONE=false

APICURIO_UI_VALIDATION_CHANNELNAME_REGEXP=''
#APICURIO_UI_VALIDATION_CHANNELNAME_REGEXP='([^\x00-\x20\x7f"'\''%<>\\^`{|}]|%[0-9A-Fa-f]{2}|{[+#./;?&=,!@|]?((\w|%[0-9A-Fa-f]{2})(.?(\w|%[0-9A-Fa-f]{2}))
(:[1-9]\d{0,3}|*)?)(,((\w|%[0-9A-Fa-f]{2})(.?(\w|%[0-9A-Fa-f]{2}))(:[1-9]\d{0,3}|*)?))})*'

@carlesarnal
Copy link
Member

Ok, your configuration should explain why you're getting invalid redirect errors. You're using 10.98.30.101 for your host but a different address is configured as the valid redirect direction.

@Jaylenwa
Copy link

I'm sorry to bother you. Have you solved this problem? I have the same situation as you

@roy-mdsol
Copy link
Author

Ok, your configuration should explain why you're getting invalid redirect errors. You're using 10.98.30.101 for your host but a different address is configured as the valid redirect direction.

So my IP address keeps changing when I switch between my work and home network. But when I runt he server every time i cleanup old settings and run against the "current" IP. The discrepancy you see in IP addresses is because the snapshots are from 2 different points in time.

in reality my redirect IP address and server IP address are the same.

@adel-chouchane
Copy link

Same problem with me. The UI component returns a 302 with a location that has a redirect_uri variable with https.

@roy-mdsol
Copy link
Author

Yes. And I believe @jscheytt is right. The problem is with Mixed HTTP and HTTPS.

@EricWittmann
Copy link
Member

Should we close this in light of #2040 ?

@roy-mdsol
Copy link
Author

Sure @EricWittmann. Thanks for tracking so far.

@EricWittmann
Copy link
Member

Not fair responding to my question in less than 5 minutes after it took me 12 days to respond to yours. :)

@roy-mdsol
Copy link
Author

:)

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

No branches or pull requests

6 participants