I want to get rid of APN signingKey related errors. I don't want to use APN.
Describe the issue that you face
I have followed all the steps in the Server 5.x guide, but I'm stuck on this APN signingKey error which is given in log.
Describe the step to reproduce the errors
Logs
INFO [2021-05-23 11:20:32,213] org.eclipse.jetty.util.log: Logging initialized @2828ms to org.eclipse.jetty.util.log.Slf4jLog
INFO [2021-05-23 11:20:32,372] io.dropwizard.server.DefaultServerFactory: Registering jersey handler with root path prefix: /
INFO [2021-05-23 11:20:32,375] io.dropwizard.server.DefaultServerFactory: Registering admin handler with root path prefix: /
INFO [2021-05-23 11:20:32,554] io.micrometer.core.instrument.push.PushMeterRegistry: publishing metrics for every 1m
WARN [2021-05-23 11:20:35,413] io.dropwizard.lifecycle.setup.ExecutorServiceBuilder: Parameter 'maximumPoolSize' is conflicting with unbounded work queues
WARN [2021-05-23 11:20:35,414] io.dropwizard.lifecycle.setup.ExecutorServiceBuilder: Parameter 'maximumPoolSize' is conflicting with unbounded work queues
INFO [2021-05-23 11:20:35,471] com.amazonaws.internal.DefaultServiceEndpointBuilder: {appconfig, us-east-2} was not found in region metadata, trying to construct an endpoint using the standard pattern for this region: 'appconfig.us-east-2.amazonaws.com'.
INFO [2021-05-23 11:20:38,033] org.whispersystems.textsecuregcm.storage.DynamicConfigurationManager: Received new config version: 1
java.io.IOException: Could not find private key header/footer
at com.eatthepath.pushy.apns.auth.ApnsSigningKey.loadFromInputStream(ApnsSigningKey.java:151)
at org.whispersystems.textsecuregcm.push.RetryingApnsClient.<init>(RetryingApnsClient.java:53)
at org.whispersystems.textsecuregcm.push.APNSender.<init>(APNSender.java:62)
at org.whispersystems.textsecuregcm.WhisperServerService.run(WhisperServerService.java:436)
at org.whispersystems.textsecuregcm.WhisperServerService.run(WhisperServerService.java:206)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:59)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
at io.dropwizard.cli.Cli.run(Cli.java:78)
at io.dropwizard.Application.run(Application.java:94)
at org.whispersystems.textsecuregcm.WhisperServerService.main(WhisperServerService.java:641)```
Screenshots
Attach screenshots of your error here
Additional context
My config:
apn:
sandbox: true
keyId: ABC123DEFG
teamId: test
bundleId: com.notused
signingKey: test
Server Version : (Server v5.xx)
Client Version : (Android vX.XX.XX / iOS vX.XX.XX / Desktop vX.XX.XX)
Dependencies : (Twilio / AWS / MinIO / Nginx / Apache / Self-Signed SSL Certificate / Docker / On Premise Redis / On Premise Postgresql / On Premise Minio / Turn / Localstack)
Describe what are you trying to achieve
I want to get rid of APN signingKey related errors. I don't want to use APN.
Describe the issue that you face
I have followed all the steps in the Server 5.x guide, but I'm stuck on this APN signingKey error which is given in log.
Describe the step to reproduce the errors
Logs
Screenshots
Attach screenshots of your error here
Additional context
My config: