🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Unable to connect with Solace Rest API with springboot

Shamsh
Shamsh Member Posts: 1

I have given host as "https://mrkly8kq4hu2y.messaging.solace.cloud:9443" along with Msg-VPN, username and password but when i start the springboot application i am getting error "Invalid scheme "https" in host "https://mrkly8kq4hu2y.messaging.solace.cloud:9443"

Tagged:

Comments

  • Tamimi
    Tamimi Member, Administrator, Employee Posts: 541 admin

    Hey @Shamsh ! Have you tried using websocket as your protocol? so basically wss://mrkly8kq4hu2y.messaging.solace.cloud:9443. Note wss for secure websocket and ws for insecure connections.

  • manzarul
    manzarul Member Posts: 20 ✭✭✭

    use port tcps:// or tcp:// , As i know spring cloud stream is working over tcps protocol only