Legacy Dev Forum Posts

 View Only

Sign Up

How to use WebSocket through proxy(with Auth) using NotificationHandler

  • 1.  How to use WebSocket through proxy(with Auth) using NotificationHandler

    Posted 06-05-2025 18:23

    mkoya | 2022-10-17 01:32:33 UTC | #1

    Hi,

    I checked below Topic. https://developer.genesys.cloud/forum/t/how-to-use-web-socket-through-proxy-using-notificationhandler/3980

    Similarly, I want to connect to websockets through a proxy (with authentication) using the java SDK. However, the NotificationHandler class doesn't seem to support it. my application use "platform-client-v2:134.0.0".

    Regards,


    anon14299330 | 2022-10-17 07:58:11 UTC | #2

    Hi,

    Please see this related dev forum forum post https://developer.genesys.cloud/forum/t/notificationhandler-suggestion/1598. The information here may be able to help you.

    Thanks,

    Mike


    mkoya | 2022-10-17 09:30:33 UTC | #3

    Hi,

    Thank you for the information. However, I know how to set the proxy host (use withProxyHost(string)), but there is no mention of how to set the proxy authentication id, password. In NotificationHandler, factory.getProxySettings().setServer(builder.proxyHost) is executed, but factory.getProxySettings().setCredentials("id","password") is not executed. Doesn't NotificationHandler support websocket connections via authentication proxy? . Please tell me how to set proxy authentication id and password in NotificationHandler.

    Regards


    mkoya | 2022-10-24 01:20:03 UTC | #4

    Hi,

    I request proxy connection authentication function of NotificationHandler.

    Regards


    system | 2022-11-24 01:20:15 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 16727