FireEdge Service cannot be up and running

Hi,

When fireedge service configured regulat and listen 0.0.0.0 port but when it restarted fireedge service
it throw an error and service stopped
error at below

usr/lib/one/fireedge/node_modules/yaml/dist/index.js:57
if (doc.errors.length > 0) throw doc.errors[0];
^

YAMLSyntaxError: All collection items must start at the same column
at Collection.parse (/usr/lib/one/fireedge/node_modules/yaml/dist/parse-cst.js:331:24)
at /usr/lib/one/fireedge/node_modules/yaml/dist/parse-cst.js:1605:29
at Document.parseContents (/usr/lib/one/fireedge/node_modules/yaml/dist/parse-cst.js:622:26)
at Document.parse (/usr/lib/one/fireedge/node_modules/yaml/dist/parse-cst.js:685:19)
at Object.parse (/usr/lib/one/fireedge/node_modules/yaml/dist/parse-cst.js:1723:18)
at parseDocument (/usr/lib/one/fireedge/node_modules/yaml/dist/index.js:43:24)
at parse (/usr/lib/one/fireedge/node_modules/yaml/dist/index.js:55:15)
at t.color (/usr/lib/one/fireedge/dist/index.js:1:166098)
at P (/usr/lib/one/fireedge/dist/index.js:1:146797)
at getConfig (/usr/lib/one/fireedge/dist/index.js:1:166088) {
source: Collection {
error: [Circular],
range: Range { start: 220, end: 925 },
valueRange: Range { start: 220, end: 925 },
props: [],
type: ‘MAP’,
value: null,
items: [
PlainValue {
error: null,
range: Range { start: 220, end: 223 },
valueRange: Range { start: 220, end: 223 },
props: [],
type: ‘PLAIN’,
value: null,
resolved: Scalar {
value: ‘log’,
range: [ 220, 223 ],
type: ‘PLAIN’,
commentBefore: ’ System log (Morgan) prod or dev’
}
},
CollectionItem {
error: null,
range: Range { start: 223, end: 228 },
valueRange: Range { start: 223, end: 228 },
props: [],
type: ‘MAP_VALUE’,
value: null,
node: PlainValue {
error: null,
range: Range { start: 225, end: 228 },
valueRange: Range { start: 225, end: 228 },
props: [],
type: ‘PLAIN’,
value: null,
resolved: Scalar { value: ‘dev’, range: [Array], type: ‘PLAIN’ }
}
},
BlankLine {
error: null,
range: Range { start: 229, end: 230 },
valueRange: null,
props: [],
type: ‘BLANK_LINE’,
value: null
},
Comment {
error: null,
range: Range { start: 230, end: 275 },
valueRange: null,
props: [ Range { start: 230, end: 275 } ],
type: ‘COMMENT’,
value: null
},
PlainValue {
error: null,
range: Range { start: 276, end: 280 },
valueRange: Range { start: 276, end: 280 },
props: [],
type: ‘PLAIN’,
value: null,
resolved: Scalar {
value: ‘cors’,
range: [ 276, 280 ],
type: ‘PLAIN’,
commentBefore: ’ Enable cors (cross-origin resource sharing)’
}
},
CollectionItem {
error: null,
range: Range { start: 280, end: 286 },
valueRange: Range { start: 280, end: 286 },
props: [],
type: ‘MAP_VALUE’,
value: null,
node: PlainValue {
error: null,
range: Range { start: 282, end: 286 },
valueRange: Range { start: 282, end: 286 },
props: [],
type: ‘PLAIN’,
value: null,
resolved: Scalar { value: true, range: [Array], type: ‘PLAIN’ }
}
},
BlankLine {
error: null,
range: Range { start: 287, end: 288 },
valueRange: null,
props: [],
type: ‘BLANK_LINE’,
value: null
},
Comment {
error: null,
range: Range { start: 288, end: 310 },
valueRange: null,
props: [ Range { start: 288, end: 310 } ],
type: ‘COMMENT’,
value: null
},
PlainValue {
error: null,
range: Range { start: 311, end: 315 },
valueRange: Range { start: 311, end: 315 },
props: [],
type: ‘PLAIN’,
value: null,
resolved: Scalar {
value: ‘host’,
range: [ 311, 315 ],
type: ‘PLAIN’,
commentBefore: ’ FireEdge server host’
}

Can you show me the configuration? is that it seems that the yaml is badly formed and the reading of it fails.

here is the config files

[root@onecloud one]# cat fireedge-server.conf
################################################################################

Server Configuration

################################################################################

System log (Morgan) prod or dev

log: dev

Enable cors (cross-origin resource sharing)

cors: true

FireEdge server host

host: 0.0.0.0

FireEdge server port

port: 2616

OpenNebula: use it if you have oned and fireedge on different servers

one_xmlrpc: ‘http://localhost:2633/RPC2

Flow Server: use it if you have flow-server and fireedge on different servers

oneflow_server: ‘http://localhost:2472

JWT life time (days)

limit_token:
min: 1
max: 3

Prepend for oneprovision command

oneprovision_prepend_command: ‘’

Optional param for oneprovision command create

oneprovision_optional_create_command: ‘’

Guacamole: use it if you have the Guacd in other server or port

guacd:
port: 4822
host: 0.0.0.0

Translations: use it if you want to use certain languages on the client.

Check that the language exists in client/assets/languages

langs:

bg_BG: ‘Bulgarian (Bulgaria)’

bg: ‘Bulgarian’

ca: ‘Catalan’

cs_CZ: ‘Czech’

da: ‘Danish’

de_CH: ‘German (Switzerland)’

de: ‘German’

el_GR: ‘Greek (Greece)’

en: ‘English’

es_ES: ‘Spanish’

et_EE: ‘Estonian’

fa_IR: ‘Persian (Iran)’

fa: ‘Persian’

fr_CA: ‘French (Canada)’

fr_FR: ‘French’

hu_HU: ‘Hungary’

it_IT: ‘Italian’

ja: ‘Japanese’

ka: ‘Georgian’

lt_LT: ‘Lithuanian’

nl_NL: ‘Dutch’

pl: Polish

pt_PT: ‘Portuguese’

ro_RO: ‘Romanian’

ru_RU: ‘Russian’

ru: ‘Russian’

si: ‘Sinhala’

sk_SK: ‘Slavak’

sr_RS: ‘Serbian’

sv: ‘Swedish’

th_TH: ‘Thai (Thailand)’

th: ‘Thai’

tr_TR: ‘Turkish (Turkey)’

tr: ‘Turkish’

uk_UA: ‘Ukrainian (Ukraine)’

uk: ‘Ukrainian’

vi: ‘Vietnamese’

zh_CN: ‘Chinese (China)’

zh_TW: ‘Chinese (Taiwan)’

sunstone-serevr.conf
:private_fireedge_endpoint: http://onecloud.xx.local:2616
:public_fireedge_endpoint: http://onecloud.xxx.local:2616

Hi;

I’ve just corrected those yaml file an yes it was started, but new problem rises it could not be connect throught vmrc console when i hit the vmrc console button it shows always disconnected.

regards

At error log the data shown at below, and vmrc console did not up

[root@onecloud one]# tail -f /var/log/one/fireedge.log
[HPM] Proxy created: /fireedge/vmrc → http://localhost:2616
[HPM] Subscribed to http-proxy events: [ ‘error’, ‘close’ ]
Server listen in 0.0.0.0:2616
Subscribed to http-proxy events: [ ‘error’, ‘close’ ]