Giter Club home page Giter Club logo

fiware-big-bang's Introduction

FIWARE Big BangBanner NGSI v2 NGSI LD

FIWARE: Tools License: MIT GitHub Discussions
Lint Tests codecov
Ubuntu 20.04 Ubuntu 22.04 Ubuntu 24.04

The FIWARE Big Bang is a turnkey solution for setting up a FIWARE instance in the cloud.

📚 Documentation 🎯 Roadmap

このドキュメントは日本語でもご覧いただけます。

What is FIWARE Big Bang?

I am at all events convinced that He does not play dice.

— Albert Einstein

The FIWARE Big Bang allows you to install FIWARE Generic enablers easily into your virtual machine in the cloud. FI-BB stands for FIWARE Big Bang.

Supported FIWARE GEs and third-party open source software

Supported FIWARE GEs

  • Keyrock
  • Wilma
  • Orion
  • Orion-LD
  • Mintaka
  • Cygnus
  • Comet
  • Perseo
  • QuantumLeap
  • Draco
  • WireCloud
  • Ngsiproxy
  • IoT Agent for UltraLight (over HTTP and MQTT)
  • IoT Agent for JSON (over HTTP and MQTT)

Supported third-party open source software

  • Node-RED
  • Grafana
  • Apache Zeppelin (Experimental support)
  • Mosquitto
  • Elasticsearch (as a database for persitenting context data)

Requirements

Prerequisite

Before running the setup script, you need to register sub-domain names of FIWARE GEs in DNS using A records or CNAME records.

  • keyrock.example.com
  • orion.example.com

Getting Started

Download a tar.gz file for the FIWARE Big Bang.

curl -sL https://github.com/lets-fiware/FIWARE-Big-Bang/releases/download/v0.39.0/FIWARE-Big-Bang-0.39.0.tar.gz | tar zxf -

Move to the FIWARE-Big-Bang-0.39.0 directory.

cd FIWARE-Big-Bang-0.39.0/

Run the lets-fiware.sh script with your own domain name and a public IP address.

./lets-fiware.sh example.com XX.XX.XX.XX

See full documentation here for details.

Why is it named FIWARE Big Bang?

The name of this product comes from the Big Bang theory of the universe. Because most FIWARE generic enablers in the Core Context Management chapter have an astrology name and this product creates a FIWARE instance as your own universe in which different FIWARE GEs run.

Copyright and License

Copyright (c) 2021-2024 Kazuhito Suda
Licensed under the MIT License.

fiware-big-bang's People

Contributors

dkastl avatar fisuda avatar github-actions[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fiware-big-bang's Issues

make get-token fails with special characters in password

Checklist
Put an x in the boxes that apply

  • I have run the latest release.
  • I have inspeced the status of docker containers.
  • I have run the sanity check described in after-installation.md.
  • I have inspected all error messages.
  • I have inspected the log files in the /var/log/fiware directory.
  • I have run the make collect command.

Describe the bug

The make get-token command fails with the following error:

$ make get-token
./config/script/get_token.sh
parse error: Invalid numeric literal at line 1, column 59
make: *** [Makefile:30: get-token] Error 4

Your system environment

Date: Thu Jan 26 08:18:58 UTC 2023
Version: 0.20.0
Hash: 17816b305d1f5c9b1c87f06760780c86e233c27a44d0a53e8dc7f9a3b8ec98ba  lets-fiware.sh
git-hash: 
f6f3e2f81480d4e9b14c6a6681409a733ed49599
d938834fd90694140ebabdbb9e9591bae8263593
b16af4929dc3c0593b14996aa437c7ad8d266035
App list: KEYROCK CYGNUS WIRECLOUD NGSIPROXY IOTAGENT_JSON IOTAGENT_HTTP MOSQUITTO ELASTICSEARCH 
Install: completed
Docker containers: 
make[1]: Entering directory '/srv/fiware-big-bang'
sudo /usr/local/bin/docker-compose ps
               Name                             Command                   State                                                             Ports                                                      
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
fiware-big-bang_cygnus_1             /cygnus-entrypoint.sh            Up (unhealthy)   5050/tcp, 5080/tcp                                                                                              
fiware-big-bang_elasticsearch-db_1   /usr/local/bin/docker-entr ...   Restarting                                                                                                                       
fiware-big-bang_elasticsearch_1      /docker-entrypoint.sh elas ...   Up               9200/tcp, 9300/tcp                                                                                              
fiware-big-bang_iotagent-json_1      docker-entrypoint.sh node  ...   Up (healthy)     4041/tcp, 7896/tcp                                                                                              
fiware-big-bang_keyrock_1            docker-entrypoint.sh npm start   Up (healthy)     3000/tcp                                                                                                        
fiware-big-bang_memcached_1          docker-entrypoint.sh memca ...   Up               11211/tcp                                                                                                       
fiware-big-bang_mintaka_1            java -cp @/app/jib-classpa ...   Up               8080/tcp, 8443/tcp                                                                                              
fiware-big-bang_mongo_1              docker-entrypoint.sh --noj ...   Up               27017/tcp                                                                                                       
fiware-big-bang_mosquitto_1          /docker-entrypoint.sh /usr ...   Up               1883/tcp                                                                                                        
fiware-big-bang_nginx_1              /docker-entrypoint.sh ngin ...   Up               0.0.0.0:443->443/tcp,:::443->443/tcp, 0.0.0.0:80->80/tcp,:::80->80/tcp, 0.0.0.0:8883->8883/tcp,:::8883->8883/tcp
fiware-big-bang_ngsiproxy_1          docker/entrypoint.sh             Up                                                                                                                               
fiware-big-bang_orion-ld_1           orionld -fg -multiservice  ...   Restarting                                                                                                                       
fiware-big-bang_postgres_1           docker-entrypoint.sh postgres    Up               5432/tcp                                                                                                        
fiware-big-bang_timescale-db_1       docker-entrypoint.sh postg ...   Up (healthy)     5432/tcp                                                                                                        
fiware-big-bang_tokenproxy_1         docker-entrypoint.sh             Up               1029/tcp                                                                                                        
fiware-big-bang_wilma_1              docker-entrypoint.sh npm start   Up (unhealthy)   1027/tcp                                                                                                        
fiware-big-bang_wirecloud_1          /docker-entrypoint.sh            Up (healthy)     8000/tcp                                                                                                        
make[1]: Leaving directory '/srv/fiware-big-bang'
Keyrock: 
{"keyrock":{"version":"8.1.0","release_date":"2021-07-22","uptime":"00:05:49.4","git_hash":"https://github.com/ging/fiware-idm/releases/tag/8.1.0","doc":"https://fiware-idm.readthedocs.io/en/8.1.0/","api":{"version":"v1","link":"https://keyrock.xxxxxxxxx/v1"}}}

To Reproduce

Run the token request with:

curl -sS "https://keyrock.xxxxxxxxxxx/token" --data "username=admin@xxxxxxxxx" --data "password=%o6Go7nf64Lb%8Bp" | jq -r .access_token

This returns:

parse error: Invalid numeric literal at line 1, column 59

Expected behavior

Return an access token.

Server (please complete the following information):

  • OS and OS version: Ubuntu 22.04
  • Docker version: 20.10.23, build 7155243
  • Docker-compose version: 1.29.2, build 5becea4c

Additional context

It worked with a password consisting only of numbers and alphabet characters.

Error in obtaining Let's Encrypt certificate

Hello,

An error occurs when retrieving the certificate with Let's Encrypt.

Status: Downloaded newer image for certbot/certbot:v1.18.0
Enter email address (used for urgent renewal and security notices)
 (Enter 'c' to cancel): Saving debug log to /var/log/letsencrypt/letsencrypt.log
An unexpected error occurred:
EOFError
Ask for help or search for solutions at https://community.letsencrypt.org. 
See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

I added the following to the certbot options and it worked.

  • agree-tos
  • email

setup.sh

sudo docker run --rm -v \${CERT_DIR}/\$1:/var/www/html/\$1 -v /etc/letsencrypt:/etc/letsencrypt \${CERTBOT} certonly --agree-tos -m <email> --webroot -w /var/www/html/\$1 -d \$1

Cannot get a http root of a Node-RED instance deploying as multi-instance.

Cannot get a http root of a Node-RED instance deploying as multi-instance.

Cc: @kikuzo

Reproduce

To setup some Node-RED instances using multi-instance feature, set the following values in config.sh.

NODE_RED=node-red
NODE_RED_INSTANCE_NUMBER=2

Then deploy the wordlmap node.

node-1

Open at https://node-red.example.com/node-red001/worldmap. The Cannot GET /node-red001/worldmap error will occur.

node-2

Unable to log out of Zeppelin.

Checklist

Put an x in the boxes that apply

  • I have run the latest release.
  • I have inspeced the status of docker containers.
  • I have run the sanity check described in after-installation.md.
  • I have inspected all error messages.
  • I have inspected the log files in the /var/log/fiware directory.
  • I have run the make collect command.

Describe the bug

Unable to log out of Apache Zeppelin.

Your system environment

Run make collect in a directory where you ran the lets-fiware.sh script and paste the results here.

Date: Sun Feb 13 14:24:25 JST 2022
Version: 0.12.0
Hash: 4291ceaacab4a66b5c6c1c109a2f4d9462cc8d274aaaa185b7dc635167297055  lets-fiware.sh
git-hash:
21ba0e10daf79d2cb798763c9dd78390c2f6a705
18b4434d40557e89d1d5ac25661973e30909b158
824b4f8354f68c63b35a026b60f7c3201f8f0142
App list: KEYROCK ORION
Install: completed
Docker containers:
make[1]: Entering directory '/home/ksmainte/FIWARE-Big-Bang'
sudo /usr/local/bin/docker-compose ps
            Name                          Command                       State                                      Ports
----------------------------------------------------------------------------------------------------------------------------------------------------
fiware-big-bang_keyrock_1      docker-entrypoint.sh npm start   Up (healthy)            3000/tcp
fiware-big-bang_mongo_1        docker-entrypoint.sh --noj ...   Up                      27017/tcp
fiware-big-bang_mysql_1        docker-entrypoint.sh mysqld      Up                      3306/tcp, 33060/tcp
fiware-big-bang_nginx_1        /docker-entrypoint.sh ngin ...   Up                      0.0.0.0:443->443/tcp,:::443->443/tcp,
                                                                                        0.0.0.0:80->80/tcp,:::80->80/tcp
fiware-big-bang_orion_1        sh -c rm /tmp/contextBroke ...   Up                      1026/tcp
fiware-big-bang_tokenproxy_1   docker-entrypoint.sh             Up                      1029/tcp
fiware-big-bang_wilma_1        docker-entrypoint.sh npm start   Up (health: starting)   1027/tcp
fiware-big-bang_zeppelin_1     /usr/bin/tini -- bin/zeppe ...   Up                      8080/tcp
make[1]: Leaving directory '/home/ksmainte/FIWARE-Big-Bang'
Keyrock:
{"keyrock":{"version":"8.1.0","release_date":"2021-07-22","uptime":"00:01:12.3","git_hash":"https://github.com/ging/fiware-idm/releases/tag/8.1.0","doc":"https://fiware-idm.readthedocs.io/en/8.1.0/","api":{"version":"v1","link":"https://keyrock.big-bang.letsfiware.jp/v1"}}}

To Reproduce

Steps to reproduce the behavior:

  1. Log in Zeppelin
  2. Select Log out from top-right side menu.

Expected behavior

Logout is complete and the session ends.

Screenshots

If applicable, add screenshots to help explain your problem.

image

Server (please complete the following information):

  • OS and OS version: Ubuntu 20.04
  • Docker version: 20.10.8
  • Docker-compose version: 1.29.2

Additional context

Add any other context about the problem here.

Unable to login to Grafana as GRAFANA_CLIENT_ID is not generated.

Checklist
Put an x in the boxes that apply

  • I have run the latest release.
  • I have inspeced the status of docker containers.
  • I have run the sanity check described in after-installation.md.
  • I have inspected all error messages.
  • I have inspected the log files in the /var/log/fiware directory.
  • I have run the make collect command.

Describe the bug

I added Grafana in config.sh and ran lets-fiware.sh.
But ngsi returns Internal Server error on generating GRAFANA_CLIENT_ID.
An error occurs when --openid is specified in the ngsi option.
That's why I can't login to Grafana.

/usr/local/bin/ngsi --batch --configDir /home/suda/FIWARE-Big-Bang-0.29.0/.work/ngsi-go applications --host keyrock-20230728_09-37-09 create --name Grafana --description 'Grafana application (fiware-test)' --url https://grafana.air-compass.info/ --redirectUri https://grafana.air-compass.info/login/generic_oauth --openid
applicationsCreate003 error 500 Internal Server Error {"error":{"message":"Internal error","code":500,"title":"Internal error"}}
GRAFANA_CLIENT_ID=
jq -r .application.secret
/usr/local/bin/ngsi --batch --configDir /home/suda/FIWARE-Big-Bang-0.29.0/.work/ngsi-go applications --host keyrock-20230728_09-37-09 get --aid ''
checkEmpty001 --aid: value is empty

Your system environment
Run make collect in a directory where you ran the lets-fiware.sh script and paste the results here.
`./config/script/collect.sh

Date: Fri Jul 28 10:25:06 UTC 2023
Version: 0.29.0
Hash: e98f36dbc64b99b4191438979635bbfa55935f7dd84a02490ca3032eebd36210  lets-fiware.sh
App list: KEYROCK ORION WIRECLOUD NGSIPROXY NODE_RED GRAFANA IOTAGENT_UL IOTAGENT_JSON IOTAGENT_HTTP MOSQUITTO
Install: completed
Docker containers:
make[1]: Entering directory '/home/suda/FIWARE-Big-Bang-0.29.0'
sudo ./setup/ps.sh
NAME                                   IMAGE                                COMMAND                  SERVICE             CREATED             STATUS                      PORTS
fiware-big-bang-0290-elasticsearch-1   elasticsearch:2.4                    "/docker-entrypoint.…"   elasticsearch       13 minutes ago      Up 13 minutes               9200/tcp, 9300/tcp
fiware-big-bang-0290-grafana-1         grafana/grafana:6.1.6                "/run.sh"                grafana             13 minutes ago      Up 13 minutes               3000/tcp
fiware-big-bang-0290-iotagent-json-1   telefonicaiot/iotagent-json:1.25.0   "docker-entrypoint.s…"   iotagent-json       13 minutes ago      Up 13 minutes (healthy)     4041/tcp, 7896/tcp
fiware-big-bang-0290-iotagent-ul-1     telefonicaiot/iotagent-ul:1.24.0     "docker-entrypoint.s…"   iotagent-ul         13 minutes ago      Up 13 minutes (healthy)     4061/tcp, 7896/tcp
fiware-big-bang-0290-keyrock-1         letsfiware/idm:8.1.0                 "docker-entrypoint.s…"   keyrock             13 minutes ago      Up 13 minutes (healthy)     3000/tcp
fiware-big-bang-0290-memcached-1       memcached:1                          "docker-entrypoint.s…"   memcached           13 minutes ago      Up 13 minutes               11211/tcp
fiware-big-bang-0290-mongo-1           mongo:4.4                            "docker-entrypoint.s…"   mongo               13 minutes ago      Up 13 minutes               27017/tcp
fiware-big-bang-0290-mosquitto-1       eclipse-mosquitto:1.6                "/docker-entrypoint.…"   mosquitto           13 minutes ago      Up 13 minutes               1883/tcp
fiware-big-bang-0290-mysql-1           mysql:5.7                            "docker-entrypoint.s…"   mysql               13 minutes ago      Up 13 minutes               3306/tcp, 33060/tcp
fiware-big-bang-0290-nginx-1           nginx:1.25                           "/docker-entrypoint.…"   nginx               13 minutes ago      Up 12 minutes               0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:8883->8883/tcp, :::8883->8883/tcp
fiware-big-bang-0290-ngsiproxy-1       fiware/ngsiproxy:1.2.2               "docker/entrypoint.sh"   ngsiproxy           13 minutes ago      Up 13 minutes
fiware-big-bang-0290-node-red-1        letsfiware/node-red:0.29.0           "./entrypoint.sh"        node-red            13 minutes ago      Up 13 minutes (healthy)     1880/tcp
fiware-big-bang-0290-orion-1           telefonicaiot/fiware-orion:3.10.1    "sh -c 'rm /tmp/cont…"   orion               13 minutes ago      Up 13 minutes (healthy)     1026/tcp
fiware-big-bang-0290-postgres-1        postgres:15                          "docker-entrypoint.s…"   postgres            13 minutes ago      Up 13 minutes               5432/tcp
fiware-big-bang-0290-tokenproxy-1      letsfiware/tokenproxy:0.29.0         "docker-entrypoint.sh"   tokenproxy          13 minutes ago      Up 13 minutes               1029/tcp
fiware-big-bang-0290-wilma-1           letsfiware/pep-proxy:8.1.0           "docker-entrypoint.s…"   wilma               13 minutes ago      Up 13 minutes (unhealthy)   1027/tcp
fiware-big-bang-0290-wirecloud-1       fiware/wirecloud:1.3.1               "/docker-entrypoint.…"   wirecloud           13 minutes ago      Up 12 minutes (healthy)     8000/tcp
make[1]: Leaving directory '/home/suda/FIWARE-Big-Bang-0.29.0'
Keyrock:
{"keyrock":{"version":"8.1.0","release_date":"2021-07-22","uptime":"00:12:48.6","git_hash":"https://github.com/ging/fiware-idm/releases/tag/8.1.0","doc":"https://fiware-idm.readthedocs.io/en/8.1.0/","api":{"version":"v1","link":"https://keyrock.air-compass.info/v1"}}}

`
To Reproduce
Steps to reproduce the behavior:

  1. Add grafana to config.sh
    GRAFANA=grafana
  2. Run lets-fiware.sh

Expected behavior
Login to Grafana succeeds.

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

Server (please complete the following information):

  • OS and OS version: Ubuntu 22.04.2 LTS
  • Docker version: Docker version 24.0.5, build ced0996
  • Docker-compose version: Docker Compose version v2.20.2

Additional context
Add any other context about the problem here.

lets-fiware.sh script deletes data directory

Running the lets-fiware.sh command again on an existing installation deletes the /data directory, which (in my understanding) is supposed to store persistent data:
https://github.com/lets-fiware/FIWARE-Big-Bang/blob/main/lets-fiware.sh#L3511-L3513

From a user perspective it's slightly unexpected that running lets-fiware.sh creates a fresh installation and also removes the data directory. I'm not sure it's necessary to delete all the data, but here are a few suggestions how to improve this:

  1. Add some context to the documentation that all data will be deleted and that lets-fiware.sh should only be used for the initial setup
  2. Add an optional command line parameter that needs to be set in order to delete the data
  3. Ask/confirm to delete the data when running the script

I thought it would be nice if lets-fiware.sh could be also run to update an existing setup.

Domain validation fails when a subdomain name contains an IP address

The domain validation fails when a subdomain name contains an IP address. e.g.: ip-192.168.0.1

Cc: @kikuzo

$ host -4 orion.example.com
orion.example.com is an alias for ip-192.168.0.1.example.com.
ip-192.168.0.1.example.com has address 192.168.0.1
$ host -4 orion.example.com | awk 'match($0,/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/) { print substr($0, RSTART, RLENGTH) }'
192.168.0.1
192.168.0.1

IP=$(${HOST_CMD} -4 ${val} | awk 'match($0,/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/) { print substr($0, RSTART, RLENGTH) }' || true)

Sanity check for Cygnus returns 502 Bad Gateway

Checklist
Put an x in the boxes that apply

  • I have run the latest release.
  • I have inspeced the status of docker containers.
  • I have run the sanity check described in after-installation.md.
  • I have inspected all error messages.
  • I have inspected the log files in the /var/log/fiware directory.
  • I have run the make collect command.
  • I have provided a Github Star to this repository.

Not sure I inspected all errors and logs, but unfortunately I already deleted my previous setup.

Describe the bug

When I run the sanity check for Cygnus I get a "502 Bad Gateway" response like

sudo ngsi version --host cygnus.mydomain.com --pretty
cbVersion002 error 502 Bad Gateway <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>

This happens, when only 1 sink is set to true. When 2 or more sinks are enabled, it seems to be working.

Eventually there is a problem when CYGNUS_MULTIAGENT is not set true, see:
https://github.com/lets-fiware/FIWARE-Big-Bang/blob/main/lets-fiware.sh#L2248-L2250

Your system environment
Run make collect in a directory where you ran the lets-fiware.sh script and paste the results here.

Date: Tue May 21 15:54:24 UTC 2024
Version: 0.37.0
OS: Ubuntu 2404
Docker: Docker version 26.1.3, build b72abbb
Docker compose: Docker Compose version v2.27.0
uid=0(root) gid=0(root) groups=0(root)
Hash: 53423c9f29f4242ffa8131ec9a722288259b01e3787850763a26cb89e4cebdb2  lets-fiware.sh
git-hash: 
a849b38e7f164b8556e21721e175ce928b06f0a3
b4cf3f3e124b0d64d6aebd0853f30575962d2905
04c575519e1f47aa1491403b1ca927883ab2aa4d
App list: KEYROCK ORION CYGNUS COMET NODE_RED GRAFANA QUANTUMLEAP IOTAGENT_UL IOTAGENT_JSON IOTAGENT_HTTP MOSQUITTO 
Install: completed
WILMA_AUTH_ENABLED: true
Docker containers: 
make[1]: Entering directory '/srv/fiware-big-bang'
sudo ./setup/ps.sh
WARN[0000] /srv/fiware-big-bang/docker-compose.yml: `version` is obsolete 
NAME                                    IMAGE                                   COMMAND                  SERVICE               CREATED          STATUS                      PORTS
fiware-big-bang-comet-1                 telefonicaiot/fiware-sth-comet:2.10.0   "docker/entrypoint.s…"   comet                 12 minutes ago   Up 12 minutes (healthy)     8666/tcp
fiware-big-bang-comet-wilma-1           letsfiware/fiware-pep-proxy:8.4.0       "docker-entrypoint.s…"   comet-wilma           12 minutes ago   Up 12 minutes (unhealthy)   1027/tcp
fiware-big-bang-crate-1                 crate:4.6.6                             "/docker-entrypoint.…"   crate                 12 minutes ago   Up 12 minutes               4300/tcp, 127.0.0.1:4200->4200/tcp, 5432/tcp
fiware-big-bang-cygnus-1                telefonicaiot/fiware-cygnus:3.2.0       "/cygnus-entrypoint.…"   cygnus                12 minutes ago   Up 12 minutes (healthy)     5050/tcp, 5080/tcp
fiware-big-bang-cygnus-wilma-1          letsfiware/fiware-pep-proxy:8.4.0       "docker-entrypoint.s…"   cygnus-wilma          12 minutes ago   Up 12 minutes (unhealthy)   1027/tcp
fiware-big-bang-grafana-1               grafana/grafana:6.1.6                   "/run.sh"                grafana               12 minutes ago   Up 12 minutes               3000/tcp
fiware-big-bang-iotagent-http-wilma-1   letsfiware/fiware-pep-proxy:8.4.0       "docker-entrypoint.s…"   iotagent-http-wilma   12 minutes ago   Up 12 minutes (unhealthy)   1027/tcp
fiware-big-bang-iotagent-json-1         telefonicaiot/iotagent-json:2.4.2       "docker-entrypoint.s…"   iotagent-json         12 minutes ago   Up 12 minutes (healthy)     4041/tcp, 7896/tcp
fiware-big-bang-iotagent-json-wilma-1   letsfiware/fiware-pep-proxy:8.4.0       "docker-entrypoint.s…"   iotagent-json-wilma   12 minutes ago   Up 12 minutes (unhealthy)   1027/tcp
fiware-big-bang-iotagent-ul-1           telefonicaiot/iotagent-ul:2.4.2         "docker-entrypoint.s…"   iotagent-ul           12 minutes ago   Up 12 minutes (healthy)     4061/tcp, 7896/tcp
fiware-big-bang-iotagent-ul-wilma-1     letsfiware/fiware-pep-proxy:8.4.0       "docker-entrypoint.s…"   iotagent-ul-wilma     12 minutes ago   Up 12 minutes (unhealthy)   1027/tcp
fiware-big-bang-keyrock-1               letsfiware/fiware-idm:8.4.0             "docker-entrypoint.s…"   keyrock               12 minutes ago   Up 12 minutes (healthy)     3000/tcp
fiware-big-bang-mongo-1                 mongo:4.4                               "docker-entrypoint.s…"   mongo                 12 minutes ago   Up 12 minutes               27017/tcp
fiware-big-bang-mosquitto-1             eclipse-mosquitto:1.6                   "/docker-entrypoint.…"   mosquitto             12 minutes ago   Up 12 minutes               1883/tcp
fiware-big-bang-mysql-1                 mysql:8.1                               "docker-entrypoint.s…"   mysql                 12 minutes ago   Up 12 minutes               3306/tcp, 33060/tcp
fiware-big-bang-nginx-1                 nginx:1.25                              "/docker-entrypoint.…"   nginx                 12 minutes ago   Up 12 minutes               0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:8883->8883/tcp, :::8883->8883/tcp
fiware-big-bang-node-red001-1           letsfiware/node-red:0.37.0              "./entrypoint.sh"        node-red001           12 minutes ago   Up 12 minutes (healthy)     1880/tcp
fiware-big-bang-node-red002-1           letsfiware/node-red:0.37.0              "./entrypoint.sh"        node-red002           12 minutes ago   Up 12 minutes (healthy)     1880/tcp
fiware-big-bang-node-red003-1           letsfiware/node-red:0.37.0              "./entrypoint.sh"        node-red003           12 minutes ago   Up 12 minutes (healthy)     1880/tcp
fiware-big-bang-orion-1                 telefonicaiot/fiware-orion:3.10.1       "sh -c 'rm /tmp/cont…"   orion                 12 minutes ago   Up 12 minutes (healthy)     1026/tcp
fiware-big-bang-orion-wilma-1           letsfiware/fiware-pep-proxy:8.4.0       "docker-entrypoint.s…"   orion-wilma           12 minutes ago   Up 12 minutes (unhealthy)   1027/tcp
fiware-big-bang-perseo-core-1           telefonicaiot/perseo-core:1.13.0        "/code/perseo_core-e…"   perseo-core           12 minutes ago   Up 12 minutes (healthy)     8080/tcp
fiware-big-bang-perseo-fe-1             telefonicaiot/perseo-fe:1.27.0          "docker-entrypoint.s…"   perseo-fe             12 minutes ago   Up 12 minutes (healthy)     9090/tcp
fiware-big-bang-perseo-fe-wilma-1       letsfiware/fiware-pep-proxy:8.4.0       "docker-entrypoint.s…"   perseo-fe-wilma       12 minutes ago   Up 12 minutes (unhealthy)   1027/tcp
fiware-big-bang-postfix-1               letsfiware/postfix:0.37.0               "docker-entrypoint.sh"   postfix               12 minutes ago   Up 12 minutes               25/tcp
fiware-big-bang-postgres-1              postgres:15                             "docker-entrypoint.s…"   postgres              12 minutes ago   Up 12 minutes               5432/tcp
fiware-big-bang-quantumleap-1           orchestracities/quantumleap:0.8.3       "python app.py"          quantumleap           12 minutes ago   Up 12 minutes (healthy)     8668/tcp
fiware-big-bang-quantumleap-wilma-1     letsfiware/fiware-pep-proxy:8.4.0       "docker-entrypoint.s…"   quantumleap-wilma     12 minutes ago   Up 12 minutes (unhealthy)   1027/tcp
fiware-big-bang-redis-1                 redis:6                                 "docker-entrypoint.s…"   redis                 12 minutes ago   Up 12 minutes               6379/tcp
fiware-big-bang-tokenproxy-1            letsfiware/tokenproxy:0.37.0            "docker-entrypoint.sh"   tokenproxy            12 minutes ago   Up 12 minutes               1029/tcp
make[1]: Leaving directory '/srv/fiware-big-bang'
Keyrock: 
{"keyrock":{"version":"8.4.0","release_date":"2023-06-09T13:19:25.000Z","uptime":"00:11:49.9","doc":"https://keyrock-fiware.github.io/","api":{"version":"v1","link":"https://keyrock.mydomain.com/v1"}}}

To Reproduce
Steps to reproduce the behavior:

  1. Configure Cygnus with only one sink set to true. -> 502 Bad Gateway
  2. Configure Cygnus with more than one sink set to true. -> it works

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

As descibed in the documentation it should return something like

{
  "success": "true",
  "version": "3.2.0.9b21eae9095e3250ba8799e61411905d1c756191"
}

Server (please complete the following information):

  • OS: Ubuntu 2404
  • Docker: Docker version 26.1.3, build b72abbb
  • Docker compose: Docker Compose version v2.27.0

NODE_RED_INSTANCE_NUMBER out of range with `1`

Checklist
Put an x in the boxes that apply

  • I have run the latest release.
  • I have inspeced the status of docker containers.
  • I have run the sanity check described in after-installation.md.
  • I have inspected all error messages.
  • I have inspected the log files in the /var/log/fiware directory.
  • I have run the make collect command.
  • I have provided a Github Star to this repository.

Describe the bug

When I specify

NODE_RED_INSTANCE_NUMBER=1

an error is thrown like

error: NODE_RED_INSTANCE_NUMBER out of range (2-20)

However, if the setting is without explicit value

NODE_RED_INSTANCE_NUMBER=

Then 1 instance is created as the default value claims: https://github.com/lets-fiware/FIWARE-Big-Bang/blob/main/config.sh#L314

Your system environment

This is independent from the system environment.

To Reproduce

See above.

Expected behavior

Probably specifying 1 for NODE_RED_INSTANCE_NUMBER should not produce an error and create a single Nodered instance as the default does.

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

Server (please complete the following information):

  • OS and OS version:
  • Docker version:
  • Docker Compose version:

Additional context
Add any other context about the problem here.
To resolve this issue, you need to provide complete information about your scenario.

pwgen command not found

Hello,
Error occurs because pwgen is run before installing yum package.

  • OS: CentOS7
$ ./lets-fiware.sh example.com xx.xx.xx.xx
./lets-fiware.sh: line 54: pwgen: command not found

I wrote the following and it worked.

lets-fiware.sh

SETUP_DIR=./setup
${SETUP_DIR}/prepare.sh

IDM_ADMIN_EMAIL_NAME=admin
IDM_ADMIN_PASS=$(pwgen -s 16 1)

DATA_DIR=./data
CERT_DIR=$(pwd)/data/cert
CONFIG_DIR=./config

Also, pwgen and jq are dependent on epel.
I rewrote prepare.sh as follows.

install_commands_centos() {
  sudo yum install -y epel-release
  sudo yum install -y curl pwgen jq
}

setup_ngsi_go.sh script builder bug.

Checklist
Put an x in the boxes that apply

  • I have run the latest release.
  • I have inspeced the status of docker containers.
  • I have run the sanity check described in after-installation.md.
  • [x ] I have inspected all error messages.
  • I have inspected the log files in the /var/log/fiware directory.
  • I have run the make collect command.

Describe the bug
A clear and concise description of what the bug is.
You need to show why you think this issue is a bug.

"setup_ngsi_go.sh" script is not work collectly.
I copied that script to other machine(raspberry pi host) and tried to setup ngsi command on that host.
But ngsi command was not work well. Command output is following.

pi@raspberrypi:~ $ ngsi version
Run001 error 401 Unauthorized <html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx</center>
</body>
</html>
pi@raspberrypi:~ $

The configuration of ngsi go command on that host(raspberry pi) is like following.

pi@raspberrypi:~ $ ngsi broker list --host orion.fiware-test.org
brokerHost https://orion.fiware-test.org
ngsiType v2
IdmType tokenproxy
IdmHost ttps://keyrock.fiware-test.org/token
Username [email protected]
Password ****************

So, I checked setup_ngsi_go.sh generation script in FIWARE Big-Bang source codes, then found following.

          "ORION" )  echo "ngsi broker add --host ${VAL} --ngsiType v2 --brokerHost https://${VAL} --idmType tokenproxy --idmHost ttps://${KEYROCK}/token --username \"\${IDM_ADMIN_EMAIL}\" --password \"\${IDM_ADMIN_PASS}\" --overWrite" >> "${SCRIPT_FILE}" ;;

it's looks like a bug.

Your system environment
Run make collect in a directory where you ran the lets-fiware.sh script and paste the results here.

ubuntu@orion:~/FIWARE-Big-Bang-0.23.0$ make collect
./config/script/collect.sh

Date: Mon Mar 27 16:47:02 JST 2023
Version: 0.23.0
Hash: 2d968c6830db7e9fc851dce69c026fca905c3b9287b92d450a346ac06e163909  lets-fiware.sh
App list: KEYROCK ORION NODE_RED
Install: completed
Docker containers:
make[1]: Entering directory '/home/ubuntu/FIWARE-Big-Bang-0.23.0'
sudo ./setup/ps.sh
NAME                                IMAGE                              COMMAND                  SERVICE             CREATED             STATUS                   PORTS
fiware-big-bang-0230-keyrock-1      letsfiware/idm:8.1.0               "docker-entrypoint.s…"   keyrock             2 weeks ago         Up 2 weeks (healthy)     3000/tcp
fiware-big-bang-0230-mongo-1        mongo:4.4                          "docker-entrypoint.s…"   mongo               2 weeks ago         Up 2 weeks               27017/tcp
fiware-big-bang-0230-mysql-1        mysql:5.7                          "docker-entrypoint.s…"   mysql               2 weeks ago         Up 2 weeks               3306/tcp, 33060/tcp
fiware-big-bang-0230-nginx-1        nginx:1.21                         "/docker-entrypoint.…"   nginx               2 weeks ago         Up 2 weeks               0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp
fiware-big-bang-0230-node-red-1     letsfiware/node-red:0.23.0         "npm --no-update-not…"   node-red            2 weeks ago         Up 2 weeks (healthy)     1880/tcp
fiware-big-bang-0230-orion-1        telefonicaiot/fiware-orion:3.8.0   "sh -c 'rm /tmp/cont…"   orion               2 weeks ago         Up 2 weeks (healthy)     1026/tcp
fiware-big-bang-0230-tokenproxy-1   letsfiware/tokenproxy:0.23.0       "docker-entrypoint.sh"   tokenproxy          2 weeks ago         Up 2 weeks               1029/tcp
fiware-big-bang-0230-wilma-1        letsfiware/pep-proxy:8.1.0         "docker-entrypoint.s…"   wilma               2 weeks ago         Up 2 weeks (unhealthy)   1027/tcp
make[1]: Leaving directory '/home/ubuntu/FIWARE-Big-Bang-0.23.0'
Keyrock:
{"keyrock":{"version":"8.1.0","release_date":"2021-07-22","uptime":"05:00:30.9","git_hash":"https://github.com/ging/fiware-idm/releases/tag/8.1.0","doc":"https://fiware-idm.readthedocs.io/en/8.1.0/","api":{"version":"v1","link":"https://keyrock.fiware-test.org/v1"}}}

ubuntu@orion:~/FIWARE-Big-Bang-0.23.0$

To Reproduce
Steps to reproduce the behavior:

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

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

Server (please complete the following information):

  • OS and OS version: Rasbian OS, version 11(bullseye)
  • Docker version:
  • Docker-compose version:

Additional context
Add any other context about the problem here.

401 Unauthorized Error to orion access.

Checklist
Put an x in the boxes that apply

  • I have run the latest release.
  • I have inspeced the status of docker containers.
  • I have run the sanity check described in after-installation.md.
  • I have inspected all error messages.
  • I have inspected the log files in the /var/log/fiware directory.
  • I have run the make collect command.

Describe the bug
A clear and concise description of what the bug is.
You need to show why you think this issue is a bug.

I made clean installation, but ngsi version --host orion.xxxx.org return 401 unauthorized error.
I can not find any trouble in configuration...

Your system environment
Run make collect in a directory where you ran the lets-fiware.sh script and paste the results here.

ubuntu@localhost:~/FIWARE-Big-Bang-0.18.0$ make collect
./config/script/collect.sh

Date: Wed Dec 21 21:04:18 JST 2022
Version: 0.18.0
Hash: 93cdc01a21641c0f8a1533c58b5000616ce402a0c43ab1ed49145104bdc8e11a  lets-fiware.sh
App list: KEYROCK ORION CYGNUS
Install: completed
Docker containers:
make[1]: Entering directory '/home/ubuntu/FIWARE-Big-Bang-0.18.0'
sudo /usr/local/bin/docker-compose ps
              Name                             Command                   State                        Ports
----------------------------------------------------------------------------------------------------------------------------
fiware-big-bang-0180_cygnus_1       /cygnus-entrypoint.sh            Restarting
fiware-big-bang-0180_keyrock_1      docker-entrypoint.sh npm start   Up (healthy)     3000/tcp
fiware-big-bang-0180_mongo_1        docker-entrypoint.sh --noj ...   Up               27017/tcp
fiware-big-bang-0180_mysql_1        docker-entrypoint.sh mysqld      Up               3306/tcp, 33060/tcp
fiware-big-bang-0180_nginx_1        /docker-entrypoint.sh ngin ...   Up               0.0.0.0:443->443/tcp,:::443->443/tcp,
                                                                                      0.0.0.0:80->80/tcp,:::80->80/tcp
fiware-big-bang-0180_orion_1        sh -c rm /tmp/contextBroke ...   Up (healthy)     1026/tcp
fiware-big-bang-0180_tokenproxy_1   docker-entrypoint.sh             Up               1029/tcp
fiware-big-bang-0180_wilma_1        docker-entrypoint.sh npm start   Up (unhealthy)   1027/tcp
make[1]: Leaving directory '/home/ubuntu/FIWARE-Big-Bang-0.18.0'
Keyrock:
{"keyrock":{"version":"8.1.0","release_date":"2021-07-22","uptime":"00:06:18.2","git_hash":"https://github.com/ging/fiware-idm/releases/tag/8.1.0","doc":"https://fiware-idm.readthedocs.io/en/8.1.0/","api":{"version":"v1","link":"https://keyrock.fiware-test.org/v1"}}}

ubuntu@localhost:~/FIWARE-Big-Bang-0.18.0$

To Reproduce
Steps to reproduce the behavior:

  1. create clean Ubuntu(22.04) VM in Sakura cloud,
  2. register keyrock, orion, cygnus A record entry in DNS service, (and confirm ping is ok.),
  3. download fiware-bb. package to vm,
  4. configure config.sh, modify only CYGNUS entry,
ubuntu@localhost:~/FIWARE-Big-Bang-0.18.0$ diff config.sh config.sh.ORG
90c90
< CYGNUS=cygnus
---
> CYGNUS=
93c93
< CYGNUS_MONGO=true
---
> CYGNUS_MONGO=
  1. start fiware-bb script, $ ./lets-fiware.sh xxxx.org and finish with no error.
  2. use ngsi command
$ ubuntu@localhost:~/FIWARE-Big-Bang-0.18.0$ ngsi version --host orion.xxxx.org
cbVersion002 error 401 Unauthorized <html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx</center>
</body>
</html>
ubuntu@localhost:~/FIWARE-Big-Bang-0.18.0$

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

get version info with no 401 error.

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

Server (please complete the following information):

  • OS and OS version: Ubuntu 22.04.1 LTS
  • Docker version: Docker version 20.10.22, build 3a2c30b
  • Docker-compose version: docker-compose version 1.29.2, build 5becea4c

Additional context
Add any other context about the problem here.

/var/log/fiware/pep-proxy.log looks like strange.

Dec 21 21:16:38 localhost [pep-proxy][700]: #033[0mGET /iot/about #033[33m401#033[0m 0.455 ms - 141#033[0m
Dec 21 21:17:08 localhost [pep-proxy][700]: #033[0mGET /iot/about #033[33m401#033[0m 0.462 ms - 141#033[0m
Dec 21 21:17:39 localhost [pep-proxy][700]: #033[0mGET /iot/about #033[33m401#033[0m 0.458 ms - 141#033[0m
Dec 21 21:18:09 localhost [pep-proxy][700]: #033[0mGET /iot/about #033[33m401#033[0m 0.454 ms - 141#033[0m
Dec 21 21:18:39 localhost [pep-proxy][700]: #033[0mGET /iot/about #033[33m401#033[0m 0.512 ms - 141#033[0m
Dec 21 21:19:10 localhost [pep-proxy][700]: #033[0mGET /iot/about #033[33m401#033[0m 0.448 ms - 141#033[0m
Dec 21 21:19:40 localhost [pep-proxy][700]: #033[0mGET /iot/about #033[33m401#033[0m 0.485 ms - 141#033[0m
Dec 21 21:19:58 localhost [pep-proxy][700]: #033[0mGET /version #033[33m401#033[0m 180.307 ms - 120#033[0m

"Entity could not be retrieved: HTTP status code: 401" from local-installed Node-Red

I want to access to orion context broker (installed by FIWARE B.B.) from locally installed Node-Red.

I could access to orion from Node-Red which was installed by FIWARE B.B.

スクリーンショット 2022-02-08 1 18 10

I installed Node-Red to my local-PC and configured as same, but could not access.

スクリーンショット 2022-02-08 1 20 11

I could not find what's wrong. I suppose something bad when passing through the authentication.
Do you have any ideas ?

Cannot create user with "ngsi users create"

Checklist

  • I have run the latest release.
  • I have inspeced the status of docker containers.
  • I have run the sanity check described in after-installation.md.
  • I have inspected all error messages.
  • I have inspected the log files in the /var/log/fiware directory.
  • I have run the make collect command.

Describe the bug

I'm trying to create a user as described in https://fi-bb.letsfiware.jp/examples/keyrock/ , which returns an error:

ngsi users create --host keyrock --username user001 --email [email protected] --password 1234
usersCreate003 error 400 Bad Request {"error":{"message":"Invalid email","code":400,"title":"Bad Request"}}

However, the following works:

  • Create a user through the Keyrock web UI
  • List, update and delete a user with NSGI GO

So the only command that does not work is create and the email address doesn't appear to be wrong.

Your system environment

Date: Fri Jan 27 05:36:08 UTC 2023
Version: 0.20.0
Hash: 17816b305d1f5c9b1c87f06760780c86e233c27a44d0a53e8dc7f9a3b8ec98ba  lets-fiware.sh
git-hash: 
0bf725a6696c627377e746ed3b47021e21b298ab
f52e9e04dc63511f5dd8fe96540ef488d0b722b9
949d81e25ef0308e6e31391faec642ba08f8e3f9
App list: KEYROCK CYGNUS WIRECLOUD NGSIPROXY NODE_RED IOTAGENT_JSON IOTAGENT_HTTP MOSQUITTO 
Install: completed
Docker containers: 
make[1]: Entering directory '/srv/fiware-big-bang'
sudo /usr/local/bin/docker-compose ps
             Name                            Command                   State                                                        Ports                                                
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
fiware-big-bang_cygnus_1          /cygnus-entrypoint.sh            Up (healthy)     5050/tcp, 5080/tcp                                                                                   
fiware-big-bang_elasticsearch_1   /docker-entrypoint.sh elas ...   Up               9200/tcp, 9300/tcp                                                                                   
fiware-big-bang_iotagent-json_1   docker-entrypoint.sh node  ...   Up (healthy)     4041/tcp, 7896/tcp                                                                                   
fiware-big-bang_keyrock_1         docker-entrypoint.sh npm start   Up (healthy)     3000/tcp                                                                                             
fiware-big-bang_memcached_1       docker-entrypoint.sh memca ...   Up               11211/tcp                                                                                            
fiware-big-bang_mintaka_1         java -cp @/app/jib-classpa ...   Up               8080/tcp, 8443/tcp                                                                                   
fiware-big-bang_mongo_1           docker-entrypoint.sh --noj ...   Up               27017/tcp                                                                                            
fiware-big-bang_mosquitto_1       /docker-entrypoint.sh /usr ...   Up               1883/tcp                                                                                             
fiware-big-bang_nginx_1           /docker-entrypoint.sh ngin ...   Up               0.0.0.0:443->443/tcp,:::443->443/tcp, 0.0.0.0:80->80/tcp,:::80->80/tcp,                              
                                                                                    0.0.0.0:8883->8883/tcp,:::8883->8883/tcp                                                             
fiware-big-bang_ngsiproxy_1       docker/entrypoint.sh             Up                                                                                                                    
fiware-big-bang_node-red001_1     npm --no-update-notifier - ...   Up (healthy)     1880/tcp                                                                                             
fiware-big-bang_node-red002_1     npm --no-update-notifier - ...   Up (healthy)     1880/tcp                                                                                             
fiware-big-bang_node-red003_1     npm --no-update-notifier - ...   Up (healthy)     1880/tcp                                                                                             
fiware-big-bang_orion-ld_1        orionld -fg -multiservice  ...   Up               1026/tcp                                                                                             
fiware-big-bang_postfix_1         docker-entrypoint.sh             Up               25/tcp                                                                                               
fiware-big-bang_postgres_1        docker-entrypoint.sh postgres    Up               5432/tcp                                                                                             
fiware-big-bang_timescale-db_1    docker-entrypoint.sh postg ...   Up (healthy)     5432/tcp                                                                                             
fiware-big-bang_tokenproxy_1      docker-entrypoint.sh             Up               1029/tcp                                                                                             
fiware-big-bang_wilma_1           docker-entrypoint.sh npm start   Up (unhealthy)   1027/tcp                                                                                             
fiware-big-bang_wirecloud_1       /docker-entrypoint.sh            Up (healthy)     8000/tcp                                                                                             
make[1]: Leaving directory '/srv/fiware-big-bang'
Keyrock: 
{"keyrock":{"version":"8.1.0","release_date":"2021-07-22","uptime":"14:27:42.5","git_hash":"https://github.com/ging/fiware-idm/releases/tag/8.1.0","doc":"https://fiware-idm.readthedocs.io/en/8.1.0/","api":{"version":"v1","link":"https://keyrock.xxxxxxxx/v1"}}}

To Reproduce
Steps to reproduce the behavior:

  1. Configure the server host
  2. List existing users
  3. Create a new user

Expected behavior

A new user is created.

Server (please complete the following information):

  • OS and OS version: Ubuntu 22.04
  • Docker version: 20.10.23, build 7155243
  • Docker-compose version: 1.29.2, build 5becea4c

Additional context

There was no log output in /var/log/fiware/keyrock.log when making the request.

ngsi version --host keyrock --pretty
{
  "keyrock": {
    "version": "8.1.0",
    "release_date": "2021-07-22",
    "uptime": "14:34:07.4",
    "git_hash": "https://github.com/ging/fiware-idm/releases/tag/8.1.0",
    "doc": "https://fiware-idm.readthedocs.io/en/8.1.0/",
    "api": {
      "version": "v1",
      "link": "https://keyrock.xxxxxxxxxxxxxxxx/v1"
    }
  }
}

Platform Upgrade and Domain Migration from Version 0.17 to 0.27

Checklist
Put an x in the boxes that apply

  • I have run the latest release.
  • I have inspeced the status of docker containers.
  • I have run the sanity check described in after-installation.md.
  • I have inspected all error messages.
  • I have inspected the log files in the /var/log/fiware directory.
  • I have run the make collect command.

Describe the bug
I want to update the platform from version 0.17 to 0.27 while preserving the existing information. Additionally, I want to migrate to a new domain first in a test environment to ensure everything functions correctly before migrating in my primary domain.

My intended steps are as follows:

  1. Change the domain in version 0.17 while keeping the existing container information for the primary domain.
  2. Once completed, update the version in the test domain, verify that everything works correctly, and then replicate the steps in my primary domain.

I have identified that the draco service is not working, it gives a 502 Bad Gateway from Nginx.
I'm not entirely sure if anything else has gone wrong. I would like to know if there is an established procedure for updating the platform and if my steps are correct.

Your system environment
Run make collect in a directory where you ran the lets-fiware.sh script and paste the results here.
./config/script/collect.sh

Date: Tue May 16 09:15:21 UTC 2023
Version: 0.17.0
Hash: d2317c9e5f49f2def5663ad7de2d79f63f49c7563b27b4101746af498327b382  lets-fiware.sh
git-hash: 
8151bea89502b48e4f2c1142d5c600e13c0df11c
App list: KEYROCK ORION COMET WIRECLOUD NGSIPROXY NODE_RED GRAFANA QUANTUMLEAP IOTAGENT_UL IOTAGENT_JSON IOTAGENT_HTTP MOSQUITTO 
Install: completed
Docker containers: 
make[1]: Entering directory '/home/ubuntu/FIWARE-Big-Bang'
sudo /usr/local/bin/docker-compose ps
           Name                       Command                     State                     Ports           
------------------------------------------------------------------------------------------------------------
fiware-big-bang-             npm --no-update-notifier -   Up (healthy)            1880/tcp                  
agrinodered001-1             ...                                                                            
fiware-big-bang-             npm --no-update-notifier -   Up (healthy)            1880/tcp                  
agrinodered002-1             ...                                                                            
fiware-big-bang-             npm --no-update-notifier -   Up (healthy)            1880/tcp                  
agrinodered003-1             ...                                                                            
fiware-big-bang-comet-1      docker/entrypoint.sh --  c   Up (healthy)            127.0.0.1:8666->8666/tcp  
                             ...                                                                            
fiware-big-bang-crate-1      /docker-entrypoint.sh crat   Up                      127.0.0.1:4200->4200/tcp, 
                             ...                                                  4300/tcp, 5432/tcp        
fiware-big-bang-draco-1      ../scripts/start.sh          Up (health: starting)   10000/tcp,                
                                                                                  127.0.0.1:5050->5050/tcp, 
                                                                                  8000/tcp, 8080/tcp,       
                                                                                  8443/tcp                  
fiware-big-bang-             /docker-entrypoint.sh elas   Up                      9200/tcp, 9300/tcp        
elasticsearch-1              ...                                                                            
fiware-big-bang-grafana-1    /run.sh                      Up                      3000/tcp                  
fiware-big-bang-iotagent-    docker-entrypoint.sh node    Up (healthy)            4041/tcp, 7896/tcp        
json-1                       ...                                                                            
fiware-big-bang-iotagent-    docker-entrypoint.sh node    Up (healthy)            4061/tcp, 7896/tcp        
ul-1                         ...                                                                            
fiware-big-bang-keyrock-1    docker-entrypoint.sh npm     Up (healthy)            3000/tcp                  
                             start                                                                          
fiware-big-bang-             docker-entrypoint.sh memca   Up                      11211/tcp                 
memcached-1                  ...                                                                            
fiware-big-bang-mongo-1      docker-entrypoint.sh --noj   Up                      127.0.0.1:27017->27017/tcp
                             ...                                                                            
fiware-big-bang-             /docker-entrypoint.sh /usr   Up                      1883/tcp                  
mosquitto-1                  ...                                                                            
fiware-big-bang-mysql-1      docker-entrypoint.sh         Up                      127.0.0.1:3306->3306/tcp, 
                             mysqld                                               33060/tcp                 
fiware-big-bang-nginx-1      /docker-entrypoint.sh ngin   Up                      0.0.0.0:443->443/tcp,:::44
                             ...                                                  3->443/tcp, 0.0.0.0:80->80
                                                                                  /tcp,:::80->80/tcp, 0.0.0.
                                                                                  0:8883->8883/tcp,:::8883->
                                                                                  8883/tcp                  
fiware-big-bang-             docker/entrypoint.sh         Up                                                
ngsiproxy-1                                                                                                 
fiware-big-bang-orion-1      sh -c rm /tmp/contextBroke   Up (healthy)            127.0.0.1:1026->1026/tcp  
                             ...                                                                            
fiware-big-bang-perseo-      /code/perseo_core-entrypoi   Up (healthy)            8080/tcp                  
core-1                       ...                                                                            
fiware-big-bang-perseo-      docker-entrypoint.sh node    Up (healthy)            9090/tcp                  
fe-1                         ...                                                                            
fiware-big-bang-postgres-1   docker-entrypoint.sh         Up                      127.0.0.1:5432->5432/tcp  
                             postgres                                                                       
fiware-big-bang-             python app.py                Up (healthy)            127.0.0.1:8668->8668/tcp  
quantumleap-1                                                                                               
fiware-big-bang-             docker-entrypoint.sh         Up                      1030/tcp                  
queryproxy-1                                                                                                
fiware-big-bang-redis-1      docker-entrypoint.sh redis   Up                      6379/tcp                  
                             ...                                                                            
fiware-big-bang-regproxy-1   docker-entrypoint.sh         Restarting                                        
fiware-big-bang-             docker-entrypoint.sh         Up                      1029/tcp                  
tokenproxy-1                                                                                                
fiware-big-bang-wilma-1      docker-entrypoint.sh npm     Up (health: starting)   1027/tcp                  
                             start                                                                          
fiware-big-bang-             /docker-entrypoint.sh        Up (healthy)            8000/tcp                  
wirecloud-1                                                                                                 
fiware-big-bang-zeppelin-1   /usr/bin/tini -- bin/zeppe   Up                      8080/tcp                  
                             ...                                                                            
make[1]: Leaving directory '/home/ubuntu/FIWARE-Big-Bang'
Keyrock: 
{"keyrock":{"version":"8.1.0","release_date":"2021-07-22","uptime":"00:13:25.7","git_hash":"https://github.com/ging/fiware-idm/releases/tag/8.1.0","doc":"https://fiware-idm.readthedocs.io/en/8.1.0/","api":{"version":"v1","link":"https://keyrock.xxxxx.com/v1"}}}

To Reproduce
My steps so far have been:

  1. Backed up the "data" folder.
  2. Saved the configuration of the .env file.
  3. Ran make clean.
  4. Modified the config.sh file by replacing the variables referring to the old domain with those of the test domain.
  5. Executed ./lets-fiware.sh for installation.
  6. Replaced the .env file and the "data" folder with those from the primary domain.

Expected behavior
Change the domain and keep the information of the installation with the old domain.

Screenshots
screenshot

Server (please complete the following information):

  • OS and OS version: 20.04.5
  • Docker version: 20.10.22
  • Docker compose version: 2.6.1

Additional context
Running sanity checks:

make get-token
./config/script/get_token.sh
jq: error (at <stdin>:0): Cannot index string with string "access_token"
make: *** [Makefile:30: get-token] Error 5
ngsi version --host orion.xxxx.com
Run001 error 401 Unauthorized "Invalid client: client is invalid
curl https://keyrock.xxxx.com/version
{"keyrock":{"version":"8.1.0","release_date":"2021-07-22","uptime":"00:28:44.9","git_hash":"https://github.com/ging/fiware-idm/releases/tag/8.1.0","doc":"https://fiware-idm.readthedocs.io/en/8.1.0/","api":{"version":"v1","link":"https://keyrock.xxxxx.com/v1"}}}

I am able to access the Keyrock interface.

ngsi version --host cygnus.xxxxxx.com --pretty
Run001 error host: cygnus.xxxxxxx.com
ngsi version --host comet.xxxxxx.com
Run001 error 401 Unauthorized "Invalid client: client is invalid"
ngsi version --host perseo.xxxx.com --pretty
Run001 error 401 Unauthorized "Invalid client: client is invalid"
ngsi version --host quantumleap.xxxxxxx.com
Run001 error 401 Unauthorized "Invalid client: client is invalid"

Accessing the draco interface gives a 502 Bad Gateway from Nginx.

Node-red is also not working properly as shown in the screenshot.

The other services seem to be working as they should.

I send also the errors of the containers in case it can help:

docker compose logs | grep -e "Error" -e "error"
fiware-big-bang-mysql-1     | 2023-05-16T09:01:51.410485Z 4 [Note] Aborted connection 4 to db: 'unconnected' user: 'idm' host: '172.20.0.21' (Got an error reading communication packets)
fiware-big-bang-keyrock-1         | Unable to create database:  Error: Command failed: npm run create_db --silent
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:01:51.137Z | lvl=ERROR | corr=n/a | trans=n/a | op=initialRefresh | comp=perseo-fe | srv=n/a | subsrv=n/a | msg=error put to http://perseo-core:8080/perseo-core/rules connect ECONNREFUSED 172.20.0.18:8080
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:02:14.865Z | lvl=INFO | corr=18c76c99-069a-4f01-9ca4-ecc3c1473451; node=VVFq0-6xog; perseocep=0 | trans=18c76c99-069a-4f01-9ca4-ecc3c1473451 | op=/version | path=/version | comp=perseo-fe | srv=unknownt | subsrv=/ | from=::ffff:127.0.0.1 | msg=sending response: 200 {"error":null,"data":{"name":"perseo","description":"IOT CEP front End","version":"1.24.0"}}
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:02:45.388Z | lvl=INFO | corr=be1e6f5b-f56d-430d-8016-f53a51849958; node=VVFq0-6xog; perseocep=1 | trans=be1e6f5b-f56d-430d-8016-f53a51849958 | op=/version | path=/version | comp=perseo-fe | srv=unknownt | subsrv=/ | from=::ffff:127.0.0.1 | msg=sending response: 200 {"error":null,"data":{"name":"perseo","description":"IOT CEP front End","version":"1.24.0"}}
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:03:15.958Z | lvl=INFO | corr=f913c748-4250-4028-8909-09f8f020bf83; node=VVFq0-6xog; perseocep=2 | trans=f913c748-4250-4028-8909-09f8f020bf83 | op=/version | path=/version | comp=perseo-fe | srv=unknownt | subsrv=/ | from=::ffff:127.0.0.1 | msg=sending response: 200 {"error":null,"data":{"name":"perseo","description":"IOT CEP front End","version":"1.24.0"}}
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:03:46.531Z | lvl=INFO | corr=e50ab6d4-3512-4954-8b97-330f22457f61; node=VVFq0-6xog; perseocep=3 | trans=e50ab6d4-3512-4954-8b97-330f22457f61 | op=/version | path=/version | comp=perseo-fe | srv=unknownt | subsrv=/ | from=::ffff:127.0.0.1 | msg=sending response: 200 {"error":null,"data":{"name":"perseo","description":"IOT CEP front End","version":"1.24.0"}}
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:04:17.078Z | lvl=INFO | corr=f181c000-3ba7-4d88-8ecb-6b17b6d95f01; node=VVFq0-6xog; perseocep=4 | trans=f181c000-3ba7-4d88-8ecb-6b17b6d95f01 | op=/version | path=/version | comp=perseo-fe | srv=unknownt | subsrv=/ | from=::ffff:127.0.0.1 | msg=sending response: 200 {"error":null,"data":{"name":"perseo","description":"IOT CEP front End","version":"1.24.0"}}
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:04:47.675Z | lvl=INFO | corr=a59d812a-36c8-4cd2-94bc-2ac83c2364b1; node=VVFq0-6xog; perseocep=5 | trans=a59d812a-36c8-4cd2-94bc-2ac83c2364b1 | op=/version | path=/version | comp=perseo-fe | srv=unknownt | subsrv=/ | from=::ffff:127.0.0.1 | msg=sending response: 200 {"error":null,"data":{"name":"perseo","description":"IOT CEP front End","version":"1.24.0"}}
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:05:18.257Z | lvl=INFO | corr=8bc20e0e-ed83-4a49-964d-3456e1a1aa2c; node=VVFq0-6xog; perseocep=6 | trans=8bc20e0e-ed83-4a49-964d-3456e1a1aa2c | op=/version | path=/version | comp=perseo-fe | srv=unknownt | subsrv=/ | from=::ffff:127.0.0.1 | msg=sending response: 200 {"error":null,"data":{"name":"perseo","description":"IOT CEP front End","version":"1.24.0"}}
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:05:48.838Z | lvl=INFO | corr=4ec6b682-58a6-4e78-a9f7-d98e85fae4d4; node=VVFq0-6xog; perseocep=7 | trans=4ec6b682-58a6-4e78-a9f7-d98e85fae4d4 | op=/version | path=/version | comp=perseo-fe | srv=unknownt | subsrv=/ | from=::ffff:127.0.0.1 | msg=sending response: 200 {"error":null,"data":{"name":"perseo","description":"IOT CEP front End","version":"1.24.0"}}
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:06:19.503Z | lvl=INFO | corr=83163164-7be6-4cb1-b37b-73f6de53ed9c; node=VVFq0-6xog; perseocep=8 | trans=83163164-7be6-4cb1-b37b-73f6de53ed9c | op=/version | path=/version | comp=perseo-fe | srv=unknownt | subsrv=/ | from=::ffff:127.0.0.1 | msg=sending response: 200 {"error":null,"data":{"name":"perseo","description":"IOT CEP front End","version":"1.24.0"}}
fiware-big-bang-perseo-fe-1       | time=2023-05-16T09:06:50.197Z | lvl=INFO | corr=df52357f-e97a-4de8-b65f-f79a3bcc921a; node=VVFq0-6xog; perseocep=9 | trans=df52357f-e97a-4de8-b65f-f79a3bcc921a | op=/version | path=/version | comp=perseo-fe | srv=unknownt | subsrv=/ | from=::ffff:127.0.0.1 | msg=sending response: 200 {"error":null,"data":{"name":"perseo","description":"IOT CEP front End","version":"1.24.0"}}
fiware-big-bang-mongo-1           | {"t":{"$date":"2023-05-16T09:01:41.110+00:00"},"s":"I",  "c":"FTDC",     "id":20631,   "ctx":"ftdc","msg":"Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost","attr":{"error":{"code":0,"codeName":"OK"}}}
fiware-big-bang-draco-1           | 2023-05-16 09:01:50,714 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/local/openjdk-8/bin/java -classpath /opt/nifi/nifi-current/./conf:/opt/nifi/nifi-current/./lib/nifi-runtime-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-nar-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/javax.servlet-api-3.1.0.jar:/opt/nifi/nifi-current/./lib/nifi-properties-1.15.3.jar:/opt/nifi/nifi-current/./lib/jul-to-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-server-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-framework-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/logback-classic-1.2.10.jar:/opt/nifi/nifi-current/./lib/log4j-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-property-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/slf4j-api-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-bootstrap-1.15.3.jar:/opt/nifi/nifi-current/./lib/jcl-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/logback-core-1.2.10.jar:/opt/nifi/nifi-current/./lib/jetty-schemas-3.1.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=/opt/nifi/nifi-current/./conf/nifi.properties -Dnifi.bootstrap.listen.port=41867 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/opt/nifi/nifi-current/logs org.apache.nifi.NiFi 
fiware-big-bang-draco-1           | 2023-05-16 09:01:50,714 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/local/openjdk-8/bin/java -classpath /opt/nifi/nifi-current/./conf:/opt/nifi/nifi-current/./lib/nifi-runtime-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-nar-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/javax.servlet-api-3.1.0.jar:/opt/nifi/nifi-current/./lib/nifi-properties-1.15.3.jar:/opt/nifi/nifi-current/./lib/jul-to-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-server-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-framework-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/logback-classic-1.2.10.jar:/opt/nifi/nifi-current/./lib/log4j-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-property-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/slf4j-api-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-bootstrap-1.15.3.jar:/opt/nifi/nifi-current/./lib/jcl-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/logback-core-1.2.10.jar:/opt/nifi/nifi-current/./lib/jetty-schemas-3.1.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=/opt/nifi/nifi-current/./conf/nifi.properties -Dnifi.bootstrap.listen.port=41867 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/opt/nifi/nifi-current/logs org.apache.nifi.NiFi 
fiware-big-bang-draco-1           | 2023-05-16 09:02:30,058 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:02:30,058 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /opt/nifi/nifi-current/./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war with context path set to /
fiware-big-bang-draco-1           | 2023-05-16 09:02:48,493 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:02:49,075 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:02:49,074 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@68d8eb4f{nifi-error,/,file:///opt/nifi/nifi-current/work/jetty/nifi-web-error-1.15.3.war/webapp/,AVAILABLE}{./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war}
fiware-big-bang-draco-1           | 2023-05-16 09:02:49,119 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:02:49,120 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:03:21,191 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:03:21,204 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:03:21,916 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:03:21,915 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:03:52,249 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:03:52,938 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:03:52,937 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@290d10ef{nifi-error,/,file:///opt/nifi/nifi-current/work/jetty/nifi-web-error-1.15.3.war/webapp/,AVAILABLE}{./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war}
fiware-big-bang-draco-1           | 2023-05-16 09:03:53,014 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:03:53,012 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:04:12,489 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:04:12,489 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /opt/nifi/nifi-current/./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war with context path set to /
fiware-big-bang-draco-1           | 2023-05-16 09:04:23,419 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:04:26,941 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/local/openjdk-8/bin/java -classpath /opt/nifi/nifi-current/./conf:/opt/nifi/nifi-current/./lib/nifi-runtime-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-nar-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/javax.servlet-api-3.1.0.jar:/opt/nifi/nifi-current/./lib/nifi-properties-1.15.3.jar:/opt/nifi/nifi-current/./lib/jul-to-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-server-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-framework-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/logback-classic-1.2.10.jar:/opt/nifi/nifi-current/./lib/log4j-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-property-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/slf4j-api-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-bootstrap-1.15.3.jar:/opt/nifi/nifi-current/./lib/jcl-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/logback-core-1.2.10.jar:/opt/nifi/nifi-current/./lib/jetty-schemas-3.1.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=/opt/nifi/nifi-current/./conf/nifi.properties -Dnifi.bootstrap.listen.port=36521 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/opt/nifi/nifi-current/logs org.apache.nifi.NiFi 
fiware-big-bang-draco-1           | 2023-05-16 09:04:26,941 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/local/openjdk-8/bin/java -classpath /opt/nifi/nifi-current/./conf:/opt/nifi/nifi-current/./lib/nifi-runtime-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-nar-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/javax.servlet-api-3.1.0.jar:/opt/nifi/nifi-current/./lib/nifi-properties-1.15.3.jar:/opt/nifi/nifi-current/./lib/jul-to-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-server-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-framework-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/logback-classic-1.2.10.jar:/opt/nifi/nifi-current/./lib/log4j-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-property-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/slf4j-api-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-bootstrap-1.15.3.jar:/opt/nifi/nifi-current/./lib/jcl-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/logback-core-1.2.10.jar:/opt/nifi/nifi-current/./lib/jetty-schemas-3.1.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=/opt/nifi/nifi-current/./conf/nifi.properties -Dnifi.bootstrap.listen.port=36521 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/opt/nifi/nifi-current/logs org.apache.nifi.NiFi 
fiware-big-bang-draco-1           | 2023-05-16 09:04:42,993 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:04:42,992 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /opt/nifi/nifi-current/./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war with context path set to /
fiware-big-bang-draco-1           | 2023-05-16 09:04:53,749 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:04:54,437 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:04:57,152 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/local/openjdk-8/bin/java -classpath /opt/nifi/nifi-current/./conf:/opt/nifi/nifi-current/./lib/nifi-runtime-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-nar-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/javax.servlet-api-3.1.0.jar:/opt/nifi/nifi-current/./lib/nifi-properties-1.15.3.jar:/opt/nifi/nifi-current/./lib/jul-to-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-server-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-framework-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/logback-classic-1.2.10.jar:/opt/nifi/nifi-current/./lib/log4j-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-property-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/slf4j-api-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-bootstrap-1.15.3.jar:/opt/nifi/nifi-current/./lib/jcl-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/logback-core-1.2.10.jar:/opt/nifi/nifi-current/./lib/jetty-schemas-3.1.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=/opt/nifi/nifi-current/./conf/nifi.properties -Dnifi.bootstrap.listen.port=36105 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/opt/nifi/nifi-current/logs org.apache.nifi.NiFi 
fiware-big-bang-draco-1           | 2023-05-16 09:04:57,152 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/local/openjdk-8/bin/java -classpath /opt/nifi/nifi-current/./conf:/opt/nifi/nifi-current/./lib/nifi-runtime-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-nar-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/javax.servlet-api-3.1.0.jar:/opt/nifi/nifi-current/./lib/nifi-properties-1.15.3.jar:/opt/nifi/nifi-current/./lib/jul-to-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-server-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-framework-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/logback-classic-1.2.10.jar:/opt/nifi/nifi-current/./lib/log4j-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-property-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/slf4j-api-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-bootstrap-1.15.3.jar:/opt/nifi/nifi-current/./lib/jcl-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/logback-core-1.2.10.jar:/opt/nifi/nifi-current/./lib/jetty-schemas-3.1.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=/opt/nifi/nifi-current/./conf/nifi.properties -Dnifi.bootstrap.listen.port=36105 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/opt/nifi/nifi-current/logs org.apache.nifi.NiFi 
fiware-big-bang-draco-1           | 2023-05-16 09:05:23,770 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:05:23,790 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:05:24,361 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:05:24,360 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@290d10ef{nifi-error,/,file:///opt/nifi/nifi-current/work/jetty/nifi-web-error-1.15.3.war/webapp/,AVAILABLE}{./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war}
fiware-big-bang-draco-1           | 2023-05-16 09:05:44,409 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:05:44,409 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /opt/nifi/nifi-current/./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war with context path set to /
fiware-big-bang-draco-1           | 2023-05-16 09:05:55,180 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:05:55,187 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:05:55,770 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:05:55,769 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@290d10ef{nifi-error,/,file:///opt/nifi/nifi-current/work/jetty/nifi-web-error-1.15.3.war/webapp/,AVAILABLE}{./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war}
fiware-big-bang-draco-1           | 2023-05-16 09:05:55,800 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:06:15,019 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:06:15,019 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /opt/nifi/nifi-current/./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war with context path set to /
fiware-big-bang-draco-1           | 2023-05-16 09:06:25,338 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:06:25,376 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:06:25,971 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:06:28,912 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/local/openjdk-8/bin/java -classpath /opt/nifi/nifi-current/./conf:/opt/nifi/nifi-current/./lib/nifi-runtime-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-nar-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/javax.servlet-api-3.1.0.jar:/opt/nifi/nifi-current/./lib/nifi-properties-1.15.3.jar:/opt/nifi/nifi-current/./lib/jul-to-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-server-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-framework-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/logback-classic-1.2.10.jar:/opt/nifi/nifi-current/./lib/log4j-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-property-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/slf4j-api-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-bootstrap-1.15.3.jar:/opt/nifi/nifi-current/./lib/jcl-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/logback-core-1.2.10.jar:/opt/nifi/nifi-current/./lib/jetty-schemas-3.1.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=/opt/nifi/nifi-current/./conf/nifi.properties -Dnifi.bootstrap.listen.port=33479 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/opt/nifi/nifi-current/logs org.apache.nifi.NiFi 
fiware-big-bang-draco-1           | 2023-05-16 09:06:28,912 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/local/openjdk-8/bin/java -classpath /opt/nifi/nifi-current/./conf:/opt/nifi/nifi-current/./lib/nifi-runtime-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-nar-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/javax.servlet-api-3.1.0.jar:/opt/nifi/nifi-current/./lib/nifi-properties-1.15.3.jar:/opt/nifi/nifi-current/./lib/jul-to-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-server-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/nifi-framework-api-1.15.3.jar:/opt/nifi/nifi-current/./lib/logback-classic-1.2.10.jar:/opt/nifi/nifi-current/./lib/log4j-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-property-utils-1.15.3.jar:/opt/nifi/nifi-current/./lib/slf4j-api-1.7.32.jar:/opt/nifi/nifi-current/./lib/nifi-stateless-bootstrap-1.15.3.jar:/opt/nifi/nifi-current/./lib/jcl-over-slf4j-1.7.32.jar:/opt/nifi/nifi-current/./lib/logback-core-1.2.10.jar:/opt/nifi/nifi-current/./lib/jetty-schemas-3.1.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=/opt/nifi/nifi-current/./conf/nifi.properties -Dnifi.bootstrap.listen.port=33479 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/opt/nifi/nifi-current/logs org.apache.nifi.NiFi 
fiware-big-bang-draco-1           | 2023-05-16 09:06:46,029 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:06:46,029 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR: /opt/nifi/nifi-current/./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war with context path set to /
fiware-big-bang-draco-1           | 2023-05-16 09:06:57,066 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:06:57,082 INFO [NiFi logging handler] org.apache.nifi.StdOut org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oidcService' defined in org.apache.nifi.web.security.configuration.OidcAuthenticationSecurityConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.web.security.oidc.OidcService]: Factory method 'oidcService' threw exception; nested exception is java.lang.RuntimeException: Unable to retrieve OpenId Connect Provider metadata from: https://keyrock.xxxxx.com/idm/applications/c544e46f-2d92-473c-96ef-aee88ab8d066/.well-known/openid-configuration
fiware-big-bang-draco-1           | 2023-05-16 09:06:57,772 INFO [NiFi logging handler] org.apache.nifi.StdOut 2023-05-16 09:06:57,772 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@290d10ef{nifi-error,/,file:///opt/nifi/nifi-current/work/jetty/nifi-web-error-1.15.3.war/webapp/,AVAILABLE}{./work/nar/extensions/nifi-server-nar-1.15.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.15.3.war}

Login to Grafana with Keyrock fails

  • Error information
    login.OAuthLogin(NewTransportWithCode)

image

Sep  2 14:49:49 FIWARE [grafana][1421]: t=2021-09-02T05:49:49+0000 lvl=eror msg=login.OAuthLogin(NewTransportWithCode) logger=context userId=0 orgId=0 uname= error="oauth2: cannot fetch token: 400 Bad Request\nResponse: \"Invalid scope: Requested scope is invalid\""
Sep  2 14:49:49 FIWARE [grafana][1421]: t=2021-09-02T05:49:49+0000 lvl=eror msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/login/generic_oauth status=500 remote_addr=192.168.0.1 time_ms=18 size=1743 referer=
  • Workaround
    Enable Open ID Connect Authentication on Grafana Application in Keyrock.

image

Can't get token from Keyrock

Hi, thank you for your great example of FIWARE GEs.
I've tried to use this sample but I have a problem.

After installation with an own domain and a global ip address and confirmed an admin user via keyrock UI, I try to get a token from Keyrock like below,

curl -iXs POST \
  'https://keyrock.<own domain>/oauth2/token' \
  -H 'Accept: application/json' \
  -H 'Authorization: Basic <base64 encoded id and secret>' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data "username=XXXX@YYYY&password=ZZZZ&grant_type=password"

I got a 400 Bad request below,

curl: (6) Could not resolve host: POST
HTTP/2 400 
server: nginx
date: Wed, 10 Nov 2021 07:29:40 GMT
content-type: text/html
content-length: 150

<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>

I would be very happy if you give me some advice to deal with it and how to test this solution.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.