smartfog / fogflow

FogFlow is a standard-based IoT fog computing framework that supports serverless computing and edge computing with advanced programming models
https://fogflow.readthedocs.io
BSD 3-Clause "New" or "Revised" License
123 stars 45 forks source link

connection error between designer and rabbitmq during helm setup #350

Closed BabutaAniket closed 2 years ago

BabutaAniket commented 2 years ago

Facing connection error between designer and rabbitmq during kubernetes and helm setup after recent changes that were made in rabbitmq.js

root@ss:~# kubectl get pods --namespace=fogflow
NAME                           READY   STATUS    RESTARTS   AGE
cloudbroker-7d664f8d57-29q7z   1/1     Running   0          6m7s
cloudworker-6f85c7b797-zk2fn   1/1     Running   0          5m21s
designer-85594cfbd8-ksbtj      1/1     Running   0          5m11s
dgraph-74fdf68696-jfp6q        1/1     Running   0          6m7s
discovery-7bd56d6d86-jlvbt     1/1     Running   0          6m18s
master-86469d5f76-9f2tj        1/1     Running   0          5m31s
nginx-fcfcf557f-fmmrm          1/1     Running   0          5m1s
rabbitmq-776fc9df97-hnr86      1/1     Running   0          6m7s
root@ss:~#
root@ss:~#
root@ss:~# kubectl logs designer-85594cfbd8-ksbtj --namespace=fogflow
./config.json
{ webSrvPort: 8080,
  agentPort: 1030,
  ldAgentPort: 1090,
  grpcPort: 9080,
  HostIp: '172.30.48.24',
  brokerIp: '172.30.48.24',
  brokerPort: 8070,
  agentIP: '172.30.48.24',
  discoveryURL: './ngsi9',
  brokerURL: './ngsi10',
  LdbrokerURL: './ngsi-ld' }
{"time":"2022-01-21T11:20:06.863Z","lvl":"INFO","msg":"Starting NGSI Agent listening on port [1030]"}
{"time":"2022-01-21T11:20:06.864Z","lvl":"INFO","msg":"Starting NGSILD Agent listening on port [1090]"}
HTTP-based web server is listening on port  8080
Connection Error : Retrying to connect RabbitMQ in 10 seconds
init schema
all data----  { contextElements: [] }
load entity
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
Connection Error : Retrying to connect RabbitMQ in 10 seconds
naveennec commented 2 years ago

This issue has been fixed in the PR https://github.com/smartfog/fogflow/pull/352