cyberark / conjur-spring-boot-sdk

Apache License 2.0
5 stars 7 forks source link

SpringBoot applications start at port 8181 if not port is defined #64

Closed bnasslahsen closed 2 years ago

bnasslahsen commented 2 years ago

Summary

If the application, does not declare server.port the default spring-boot port 8080 is changed to 8181 from theconjur-spring-boot-sdk

Steps to Reproduce

Follow the steps to Set up the Spring Boot Plugin with Conjur and see the logs of the application during startup

Expected Results

Application server port should not be changed after adding conjur-spring-boot-sdk dependency

Actual Results

Application starts at port 8181

image

Reproducible

Version/Tag number

Environment setup

Additional Information

To fix this issue, remove server.port=8181 from application.properties

asaraogi commented 2 years ago

Resolved this issue and created PR for the same which is mentioned below. Fixed patch of Spring boot app starts at 8181 port and error log for api key and authtoken https://github.com/cyberark/conjur-spring-boot-sdk/pull/68