Comments (3)
[update]
I fixed this error:
{"op":"IoTAgentNGSI.DomainControl","time":"2022-10-08T09:15:31.479Z","lvl":"ERROR","msg":"/opt/iotaul/config.js:55\n ngsiVersion: 'v2'\n ^^^^^^^^^^^\n\nSyntaxError: Unexpected identifier\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1055:15)\n at Module._compile (node:internal/modules/cjs/loader:1090:27)\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)\n at Module.load (node:internal/modules/cjs/loader:1004:32)\n at Function.Module._load (node:internal/modules/cjs/loader:839:12)\n at Module.require (node:internal/modules/cjs/loader:1028:19)\n at require (node:internal/modules/cjs/helpers:102:18)\n at start (/opt/iotaul/bin/iotagent-ul:41:18)\n at Object.<anonymous> (/opt/iotaul/bin/iotagent-ul:56:1)\n at Module._compile (node:internal/modules/cjs/loader:1126:14)\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)\n at Module.load (node:internal/modules/cjs/loader:1004:32)\n at Function.Module._load (node:internal/modules/cjs/loader:839:12)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)\n at node:internal/main/run_main_module:17:47 {\n domainThrown: true\n}"}
I missed a ,
in configmap.yaml
contextBroker: {
/**
* Host where the Context Broker is located.
*/
host: '{{ .Values.iota.contextBroker.host }}',
/**
* Port where the Context Broker is listening.
*/
port: '{{ .Values.iota.contextBroker.port }}',
/**
* If you want to use NGSI v2.
*/
ngsiVersion: '{{ .Values.iota.contextBroker.ngsiVersion }}'
}
However, the error {"name":"BAD_REQUEST","message":"Request error connecting to the Context Broker: 501"}
persists, with the same log:
time=2022-10-08T09:48:21.184Z | lvl=DEBUG | corr=d11a8a9a-ff9a-4748-9f47-4fce66054360 | trans=d11a8a9a-ff9a-4748-9f47-4fce66054360 | op=IoTAgentNGSI.Request | from=n/a | srv=openiot | subsrv=/ | msg=Response {
"error": "NotImplemented",
"description": "Only NGSIv1-based forwarding supported at the present moment. Set explictely legacyForwarding to true"
}
from helm-charts.
[Update]
I have updated orion version to 3.7.0 from fiware/orion repository, previously I was using quay.io/fiware/orion-ld repository. The logging error is:
time=2022-10-08T18:17:24.614Z | lvl=ERROR | corr=841d2b61-463e-42ff-acd7-d0f4b867b7b3 | trans=841d2b61-463e-42ff-acd7-d0f4b867b7b3 | op=IoTAgentNGSI.DeviceService | srv=openiot | subsrv=/ | msg=Registration error connecting to the Context Broker: {"code":"400","reasonPhrase":"Bad Request","details":"missing isDomain value for registration attribute"} | comp=IoTAgent
from helm-charts.
I am trying to solve the issue on SOF (https://stackoverflow.com/questions/74003335/how-to-enable-ngsiv2-in-iotagent-ul-helmchart), so I will close the issue.
from helm-charts.
Related Issues (19)
- option '-lmtmp' not recognized HOT 2
- helm chart for orion HOT 1
- Error in installation of Orion broker helm chart HOT 2
- Keyrock PVC should allow configuration of the storage class HOT 1
- helm dependency build - can't get a valid version for repositories mongodb
- Allow to set ingressClassName
- Helm charts for IoT Agent JSON with more recent versions (e.g. >= 1.19) HOT 2
- Helm chart for Wilma PEP proxy HOT 1
- [api-umbrella] mongodb data persistence HOT 1
- regarding Deployment of helm charts HOT 13
- Unable to deploy Fiware Orion using helm chart HOT 4
- [keyrock] If themes are not enabled certificates' PVC is not mounted even if it is enabled in Values.yaml. HOT 1
- [iotagent-json]Cannot create new device in mongodb HOT 10
- [orion] Multitenacy config error HOT 1
- [orion] Replica Set only set with multihosts HOT 2
- Domibus HOT 4
- As an operator, I want to to deploy Canis Major via Helm Chart. HOT 2
- Misleading Orion-LD MongoDB Connection SSL-Config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.