Hi Andreas

Sorry for late reply but I am now assigned more to working with this issue 
again.

We will use the https://github.com/onap/dcaegen2-collectors-ves/tree/master 
only ( https://github.com/onap/dcaegen2-collectors-ves/tree/master )
for testing and cannot use OOM at this stage.

I have checked the instructions on github and did the following:

docker run -d -p 8080:8080/tcp -p 8443:8443/tcp -P -e DMAAPHOST='10.0.0.174'  
nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.12.4

docker ps

bd1a78f98988        
nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.12.4 
  "/bin/sh -c bin/dock…"   About a minute ago   Up About a minute   
0.0.0.0:8080->8080/tcp, 0.0.0.0:8443->8443/tcp   infallible_chaum

It seems to start ( check log below).

but when I do:

curl -k -u sample1:sample1 https://localhost:8443 ( https://localhost:8443 )

curl: (7) Failed to connect to localhost port 8443: Connection refuse

What am I missing here?

br,

//mikael

*collector.log content*

2024-03-20 05:37:10 INFO  parse ./etc/eventTransform.json file
2024-03-20 05:37:10 ERROR Environment Variable BOOTSTRAP_SERVERS is missing
2024-03-20 05:37:10 ERROR Environment Variable BOOTSTRAP_SERVERS is missing
2024-03-20 05:37:10 ERROR Error while creating the Message Router Publisher.
2024-03-20 05:37:10 ERROR Error while creating the Message Router Publisher.
2024-03-20 05:37:11 INFO  Starting VesApplication using Java 11.0.13 on 
8c62b9ac8221 with PID 26 (/opt/app/VESCollector/lib/VESCollector-1.12.4.jar 
started by vescollector in /opt/app/VESCollector)
2024-03-20 05:37:11 INFO  No active profile set, falling back to 1 default 
profile: "default"
2024-03-20 05:37:12 INFO  Application work in noAuth mode on 8080 port.
2024-03-20 05:37:12 INFO  Tomcat initialized with port(s): 8080 (http)
2024-03-20 05:37:12 INFO  Initializing ProtocolHandler ["http-nio-8080"]
2024-03-20 05:37:12 INFO  Starting service [Tomcat]
2024-03-20 05:37:12 INFO  Starting Servlet engine: [Apache Tomcat/9.0.65]
2024-03-20 05:37:12 INFO  Initializing Spring embedded WebApplicationContext
2024-03-20 05:37:12 INFO  Root WebApplicationContext: initialization completed 
in 1130 ms
2024-03-20 05:37:12 WARN  Domain: sipSignaling has active stream: 
ves-sipsignaling
Domain: pnfRegistration has active stream: ves-pnfRegistration
Domain: stateChange has active stream: ves-statechange
Domain: fault has active stream: ves-fault
Domain: 3GPP-Heartbeat has active stream: ves-3gpp-heartbeat
Domain: measurementsForVfScaling has active stream: ves-measurement
Domain: 3GPP-Provisioning has active stream: ves-3gpp-provisioning
Domain: notification has active stream: ves-notification
Domain: voiceQuality has active stream: ves-voicequality
Domain: thresholdCrossingAlert has active stream: ves-thresholdCrossingAlert
Domain: mobileFlow has active stream: ves-mobileflow
Domain: other has active stream: ves-other
Domain: 3GPP-PerformanceAssurance has active stream: 
ves-3gpp-performance-assurance
Domain: syslog has active stream: ves-syslog
Domain: 3GPP-FaultSupervision has active stream: ves-3gpp-fault-supervision
Domain: heartbeat has active stream: ves-heartbeat

2024-03-20 05:37:13 INFO  Starting ProtocolHandler ["http-nio-8080"]
2024-03-20 05:37:13 INFO  Tomcat started on port(s): 8080 (http) with context 
path ''
2024-03-20 05:37:13 INFO  Started VesApplication in 2.477 seconds (JVM running 
for 4.281)
2024-03-20 05:37:13 INFO  Start listening for configuration ...
2024-03-20 05:37:13 INFO  Configuration will be fetched in PT5M period.
2024-03-20 05:37:13 INFO  Configuration used for CBS Client: 
CbsClientConfiguration{appName=8c62b9ac8221, trustStoreKeys=null, 
configMapFilePath=/app-config/application_config.yaml, 
policySyncFilePath=/etc/policies/policies.json}
2024-03-20 05:37:13 INFO  Configuration used for CBS Client: 
CbsClientConfiguration{appName=8c62b9ac8221, trustStoreKeys=null, 
configMapFilePath=/app-config/application_config.yaml, 
policySyncFilePath=/etc/policies/policies.json}
2024-03-20 05:37:13 INFO  Switch to configuration handler thread. Active 
waiting for configuration.
2024-03-20 05:37:18 ERROR Error while reading file. Filename: 
/app-config/application_config.yaml
2024-03-20 05:37:18 ERROR Error while reading file. Filename: 
/app-config/application_config.yaml
2024-03-20 05:37:18 ERROR Unexpected error occurred during fetching 
configuration
com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but 
was com.google.gson.JsonNull
at com.google.gson.internal.bind.TypeAdapters$33$1.read(TypeAdapters.java:869) 
~[gson-2.8.9.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:963) ~[gson-2.8.9.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:928) ~[gson-2.8.9.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:877) ~[gson-2.8.9.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:848) ~[gson-2.8.9.jar:?]
at 
org.onap.dcaegen2.services.sdk.rest.services.cbs.client.impl.CbsClientConfigMap.loadConfigMapFile(CbsClientConfigMap.java:80)
 ~[cbs-client-1.9.4.jar:?]
at 
org.onap.dcaegen2.services.sdk.rest.services.cbs.client.impl.CbsClientConfigMap.get(CbsClientConfigMap.java:59)
 ~[cbs-client-1.9.4.jar:?]
at reactor.core.publisher.FluxFlatMap$FlatMapMain.onNext(FluxFlatMap.java:386) 
~[reactor-core-3.4.21.jar:3.4.21]
at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:122) 
~[reactor-core-3.4.21.jar:3.4.21]
at 
reactor.core.publisher.FluxInterval$IntervalRunnable.run(FluxInterval.java:125) 
~[reactor-core-3.4.21.jar:3.4.21]
at reactor.core.scheduler.PeriodicWorkerTask.call(PeriodicWorkerTask.java:59) 
~[reactor-core-3.4.21.jar:3.4.21]
at reactor.core.scheduler.PeriodicWorkerTask.run(PeriodicWorkerTask.java:73) 
~[reactor-core-3.4.21.jar:3.4.21]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
 Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24632): https://lists.onap.org/g/onap-discuss/message/24632
Mute This Topic: https://lists.onap.org/mt/103992338/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to