SSLException issue on springboot application

I have the following logback.xml configuration

    <configuration>
    <appender name="Console" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
        </encoder>
    </appender>

    <appender name="Sentry" class="io.sentry.logback.SentryAppender">
        <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
            <level>ERROR</level>
        </filter>
        <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
        </encoder>
    </appender>

    <root level="INFO">
        <appender-ref ref="Console"/>
        <appender-ref ref="Sentry"/>
    </root>
</configuration>

I am getting the following error while sending errors to Sentry

io.sentry.connection.ConnectionException: An exception occurred while submitting the event to the Sentry server.
aaaa-5ff6c9ff69-lnkgd service 	at io.sentry.connection.HttpConnection.doSend(HttpConnection.java:216)
aaaa-5ff6c9ff69-lnkgd service 	at io.sentry.connection.AbstractConnection.send(AbstractConnection.java:88)
aaaa-5ff6c9ff69-lnkgd service 	at io.sentry.connection.AsyncConnection$EventSubmitter.run(AsyncConnection.java:187)
aaaa-5ff6c9ff69-lnkgd service 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
aaaa-5ff6c9ff69-lnkgd service 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
aaaa-5ff6c9ff69-lnkgd service 	at java.lang.Thread.run(Thread.java:748)
aaaa-5ff6c9ff69-lnkgd service Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
aaaa-5ff6c9ff69-lnkgd service 	at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
aaaa-5ff6c9ff69-lnkgd service 	at sun.security.ssl.InputRecord.read(InputRecord.java:527)
aaaa-5ff6c9ff69-lnkgd service 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
aaaa-5ff6c9ff69-lnkgd service 	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
aaaa-5ff6c9ff69-lnkgd service 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
aaaa-5ff6c9ff69-lnkgd service 	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
aaaa-5ff6c9ff69-lnkgd service 	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)

hey @sridhar thanks for your message :slight_smile:

It looks very similar to https://github.com/getsentry/sentry-java/issues/765
Could you follow up there and share more context? thanks.