Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traccar 5.4: Exception during pool initialization. - unable to find valid certification path to requested target #4953

Closed
oopiicaa opened this issue Oct 4, 2022 · 2 comments

Comments

@oopiicaa
Copy link

oopiicaa commented Oct 4, 2022

Describe the bug
After upgrading to Traccar 5.4, the server does not start.

To Reproduce
Steps to reproduce the behavior:
Start the traccar service and observe the logs.

Expected behavior
The server should start normally.

Desktop (please complete the following information):

  • Windows 10 Professional x64
  • Microsoft SQL Server

Additional context
Logs:

2022-10-04 08:22:02  INFO: Operating system name: Windows 10 version: 10.0 architecture: amd64
2022-10-04 08:22:02  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Eclipse Adoptium version: 17.0.4+8
2022-10-04 08:22:02  INFO: Memory limit heap: 4066mb non-heap: 0mb
2022-10-04 08:22:02  INFO: Character encoding: Cp1252 charset: windows-1252
2022-10-04 08:22:02  INFO: Version: 5.4
2022-10-04 08:22:02  INFO: Starting server...
2022-10-04 08:22:02  INFO: HikariPool-1 - Starting...
2022-10-04 08:22:04 ERROR: HikariPool-1 - Exception during pool initialization. - unable to find valid certification path to requested target - SunCertPathBuilderException (... < DatabaseModule:79 < <gener:-1 < *:-1 < ... < Main:126 < ...)
2022-10-04 08:22:04 ERROR: Main method error - unable to find valid certification path to requested target - SunCertPathBuilderException (... < DatabaseModule:79 < <gener:-1 < *:-1 < ... < Main:126 < ...)
2022-10-04 08:22:04  WARN: JNA: Callback org.traccar.WindowsService$ServiceMain@9573584 threw the following exception - unable to find valid certification path to requested target - SunCertPathBuilderException (... < DatabaseModule:79 < <gener:-1 < *:-1 < ... < Main:126 < ...)

Reverting to previous version (5.3) works okay.

@tananaev
Copy link
Member

tananaev commented Oct 4, 2022

Try one of the options here:

https://techcommunity.microsoft.com/t5/azure-database-support-blog/pkix-path-building-failed-unable-to-find-valid-certification/ba-p/2591304

@oopiicaa
Copy link
Author

oopiicaa commented Oct 4, 2022

Yeah... No.
I've made a smart move and migrated to MySQL. Too much trouble with Microsoft over time...
Thanks for pointing me to right direction though.

@oopiicaa oopiicaa closed this as completed Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants