【发布时间】:2019-02-09 03:08:59
【问题描述】:
我需要消除在桌面上设置 Signal 服务器时出现的错误 ___Topic - 在 Windows 上设置 Signal Server。 已关注帖子 -
- Run custom TextSecure (Signal) server
- http://debabhishek.com/writes/Installing-and-Running-TextSecure-Signal-Server-on-Windows/
我正在使用来自 github 资源的 ref .yml 文件模板作为信号。
当试图 - 运行时
java -jar target/TextSecureServer-1.88.jar accountdb migrate config/textsecure.yml
我得到错误->
io.dropwizard.configuration.ConfigurationParsingException: config/textsecure.yml 有错误:* 无法解析配置 在:turn.uris.[0];无法反序列化
java.lang.String的实例 [来源:未知;行:-1,列:-1] (通过参考链: org.whispersystems.textsecuregcm.WhisperServerConfiguration["turn"]->org.whispersystems.textsecuregcm.configuration.TurnConfiguration["uris"]->java.util.ArrayList[0])在 io.dropwizard.configuration.ConfigurationParsingException$Builder.build(ConfigurationParsingException.java:279) 在io
...
我的 textsecure.yml 文件是 -
twilio: # Twilio gateway configuration
accountId: MYID
accountToken: MYTOKEN
numbers: # Numbers allocated in Twilio
-
+MYNO
messagingServicesId:
localDomain: http://localhost/
# Domain Twilio can connect back to for calls. Should be domain of your service.
push:
queueSize: 10000
# Size of push pending queue
turn: # TURN server configuration
secret: # TURN server secret
uris:
- stun: http://localhost:80
- stun: http://localhost:443
- turn: http://localhost:443?transport=udp
- turn: http://localturn4signal:80?transport=udp
cache: # Redis server configuration for cache cluster
url: redis://12.12.12.1:6379/1
replicaUrls: redis://12.12.12.1:6379/2
directory: # Redis server configuration for directory cluster
url: redis://12.12.12.1:6379/3
replicaUrls: redis://12.12.12.1:6379/4
messageCache: # Redis server configuration for message store cache
url: redis://12.12.12.1:6379/5
replicaUrls: redis://12.12.12.1:6379/6
messageStore: # Postgresql database configuration for message store
driverClass: org.postgresql.Driver
user: postgres
password: ""
url: "jdbc:postgresql://localhost:5432/messagedb"
attachments: # AWS S3 configuration
accessKey: MyKey
accessSecret: MySecret
bucket: MuBucket1
profiles: # AWS S3 configuration
accessKey: MYKEY2
accessSecret: MySectret2
bucket: MyBucket2
#region:
database: # Postgresql database configuration
driverClass: org.postgresql.Driver
user: "postgres"
password: ""
url: "jdbc:postgresql://localhost:5432/accountsdb"
apn: # Apple Push Notifications configuration
bundleId:
pushCertificate:
pushKey:
gcm: # GCM Configuration
senderId: MYID
apiKey: MYKEY
谁能帮忙解决一下这个错误
【问题讨论】:
标签: java signals dropwizard instant-messaging