mrinner
Member
Задача показать broadcaster'у текущее состояние стрима - fps, rate, size, audio/video codec, с обновлением 2 раза в 1 сек.
Установлен WCS 5.2.296, OAM 1.151, Postgresql 11, Timescale DB.
При установке OAM возникла небольшая проблемка - пришлось дописать #!/bin/bash в init_tsdb.sh.
Таблицы создались в db "wcsoam", "wcsstat"
После перезапуска WCS ожидалось увидеть node в OAM, но этого не происходит.
В лог oam сыпется ошибка периодически
Настройки
Установлен WCS 5.2.296, OAM 1.151, Postgresql 11, Timescale DB.
При установке OAM возникла небольшая проблемка - пришлось дописать #!/bin/bash в init_tsdb.sh.
Таблицы создались в db "wcsoam", "wcsstat"
После перезапуска WCS ожидалось увидеть node в OAM, но этого не происходит.
В лог oam сыпется ошибка периодически
xjava.lang.NullPointerException: null x
x at com.flashphoner.oam.logflow.BinFlowServerService.checkSignature(BinFlowServerService.java:177) ~[classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processConnection(BinFlowServerService.java:150) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processSelectionEvent(BinFlowServerService.java:121) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.run(BinFlowServerService.java:76) [classes/:?] x
x x
x2019-08-14 10:17:13.120 ERROR 975 --- [Thread-5] c.f.o.l.BinFlowServerService : Can process client connection x
x x
xjava.lang.NullPointerException: null x
x at com.flashphoner.oam.logflow.BinFlowServerService.checkSignature(BinFlowServerService.java:177) ~[classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processConnection(BinFlowServerService.java:150) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processSelectionEvent(BinFlowServerService.java:121) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.run(BinFlowServerService.java:76) [classes/:?] x
x x
x2019-08-14 10:17:15.620 ERROR 975 --- [Thread-5] c.f.o.l.BinFlowServerService : Can process client connection x
x x
xjava.lang.NullPointerException: null x
x at com.flashphoner.oam.logflow.BinFlowServerService.checkSignature(BinFlowServerService.java:177) ~[classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processConnection(BinFlowServerService.java:150) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processSelectionEvent(BinFlowServerService.java:121) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.run(BinFlowServerService.java:76) [classes/:?]
x at com.flashphoner.oam.logflow.BinFlowServerService.checkSignature(BinFlowServerService.java:177) ~[classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processConnection(BinFlowServerService.java:150) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processSelectionEvent(BinFlowServerService.java:121) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.run(BinFlowServerService.java:76) [classes/:?] x
x x
x2019-08-14 10:17:13.120 ERROR 975 --- [Thread-5] c.f.o.l.BinFlowServerService : Can process client connection x
x x
xjava.lang.NullPointerException: null x
x at com.flashphoner.oam.logflow.BinFlowServerService.checkSignature(BinFlowServerService.java:177) ~[classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processConnection(BinFlowServerService.java:150) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processSelectionEvent(BinFlowServerService.java:121) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.run(BinFlowServerService.java:76) [classes/:?] x
x x
x2019-08-14 10:17:15.620 ERROR 975 --- [Thread-5] c.f.o.l.BinFlowServerService : Can process client connection x
x x
xjava.lang.NullPointerException: null x
x at com.flashphoner.oam.logflow.BinFlowServerService.checkSignature(BinFlowServerService.java:177) ~[classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processConnection(BinFlowServerService.java:150) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.processSelectionEvent(BinFlowServerService.java:121) [classes/:?] x
x at com.flashphoner.oam.logflow.BinFlowServerService.run(BinFlowServerService.java:76) [classes/:?]
Настройки
stats=true
wcsoam_ip=192.168.88.201
wcsoam_port=7777
wcsoam_sha_salt=123456789
wcsoam_reconnect_interval=5000
wcsoam_chunk_size=64
wcsoam_buffer_size=20000
wcsoam_ip=192.168.88.201
wcsoam_port=7777
wcsoam_sha_salt=123456789
wcsoam_reconnect_interval=5000
wcsoam_chunk_size=64
wcsoam_buffer_size=20000
server.port=8090
influxdb_enabled=false
influxdb_udp=true
influxdb_udp_port=8089
influxdb_url=http://127.0.0.1:8086
influxdb_user=root
influxdb_password=root
influxdb_database=wcs_oam
historydb_enabled=true
listening_port=7777
stomp_max_metrics=10
stomp_max_timeout=1000
wcs_rest_port=8081
stream_cache_final_status_lifetime_ms=3000
access_control_allow_origin=*
security_key=123456789
server.ssl.key-store-type=JKS
server.ssl.key-store=file:${OAM_APP_HOME}/conf/wss.jks
server.ssl.key-store-password=password
server.ssl.key-alias=selfsigned
spring.datasource.url=jdbcostgresql://127.0.0.1:5432/wcsoam
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.username=wcsoam
spring.datasource.password=wcsoam
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.show-sql=false
spring.jpa.hibernate.ddl-auto=create
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
logging.file = ${OAM_APP_HOME}/logs/oam.log
timescale.url=jdbcostgresql://127.0.0.1:5432/wcsstat
timescale.username=wcsoam
timescale.password=wcsoam
metric_store=timescale
timescale_batch_size=1000
influxdb_enabled=false
influxdb_udp=true
influxdb_udp_port=8089
influxdb_url=http://127.0.0.1:8086
influxdb_user=root
influxdb_password=root
influxdb_database=wcs_oam
historydb_enabled=true
listening_port=7777
stomp_max_metrics=10
stomp_max_timeout=1000
wcs_rest_port=8081
stream_cache_final_status_lifetime_ms=3000
access_control_allow_origin=*
security_key=123456789
server.ssl.key-store-type=JKS
server.ssl.key-store=file:${OAM_APP_HOME}/conf/wss.jks
server.ssl.key-store-password=password
server.ssl.key-alias=selfsigned
spring.datasource.url=jdbcostgresql://127.0.0.1:5432/wcsoam
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.username=wcsoam
spring.datasource.password=wcsoam
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.show-sql=false
spring.jpa.hibernate.ddl-auto=create
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
logging.file = ${OAM_APP_HOME}/logs/oam.log
timescale.url=jdbcostgresql://127.0.0.1:5432/wcsstat
timescale.username=wcsoam
timescale.password=wcsoam
metric_store=timescale
timescale_batch_size=1000
Last edited: