Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Subscription requests are failing with 401

    Posted 11-14-2023 07:33
    No replies, thread closed.

    for some of the subscriptions its able to connect but for some its throwing 401 and saying WWW-Authenticate is missing from header, as you can see in below example.

     

    [DEBUG] [main] [Plugin_ContinuousExtender25] <##[{user=verintservice}]##> - PUT to https://api.usw2.pure.cloud/api/v2/notifications/channels/streaming-1-mjql6tibifu798kris0pc7ccji/subscriptions

    [DEBUG] [main] [Plugin_ContinuousExtender25] <##[{user=verintservice}]##> - Header name: Authorization  Header value: Bearer WUEBHSTOdD7x0QAO48W3Ncm8V4H4wUNTe4AYB-DOVaHBTW6FWxdqVeou5J2emgicWNyW0LiRL90H69Q4gs_V5w

    [DEBUG] [main] [org.springframework.web.reactive.function.client.ExchangeFunctions] <##[{user=verintservice}]##> - [fd0e5b6] HTTP PUT https://api.usw2.pure.cloud/api/v2/notifications/channels/streaming-1-mjql6tibifu798kris0pc7ccji/subscriptions

    [ERROR] [SimpleAsyncTaskExecutor-1] [Plugin_ContinuousExtender25] <##[{user=verintservice}]##> - Could not connect to websocket channel. Reason: javax.websocket.DeploymentException: Failed to handle HTTP response code [401]. Missing [WWW-Authenticate] header in response

    [ERROR] [SimpleAsyncTaskExecutor-1] [Plugin_ContinuousExtender25] <##[{user=verintservice}]##> - Could not establish connection with websocket channel. Client exception: javax.websocket.DeploymentException: Failed to handle HTTP response code [401]. Missing [WWW-Authenticate] header in response

    [INFO] [SimpleAsyncTaskExecutor-1] [Plugin_ContinuousExtender25] <##[{user=verintservice}]##> - Websocket channel with id : streaming-1-m2omk6ualq0dk6l5qa2rgscrfr is connected

    [INFO] [SimpleAsyncTaskExecutor-1] [Plugin_ContinuousExtender25] <##[{user=verintservice}]##> - Websocket channel with id : streaming-1-h2rl53gu6h6rteeqvqnkv6mr1p is connected


    #ArchitectureandDesign
    #Implementation
    #Integrations

    ------------------------------
    NIKHIL naicker
    Verint Systems Inc.
    ------------------------------


  • 2.  RE: Subscription requests are failing with 401

    Posted 11-15-2023 10:24
    No replies, thread closed.

    Hi Nikhil, 

    You should post development related questions like this to the Genesys Cloud Developer Center Forum at https://developer.genesys.cloud/forum.



    ------------------------------
    Jim Crespino
    Senior Director, Developer Evangelism
    Genesys
    https://developer.genesys.com
    ------------------------------



  • 3.  RE: Subscription requests are failing with 401

    Posted 11-15-2023 11:07
    No replies, thread closed.
    Sure will do the same


    This electronic message may contain proprietary and confidential information of Verint Systems Inc., its affiliates and/or subsidiaries. The information is intended to be for the use of the individual(s) or entity(ies) named above. If you are not the intended recipient (or authorized to receive this e-mail for the intended recipient), you may not use, copy, disclose or distribute to anyone this message or any information contained in this message. If you have received this electronic message in error, please notify us by replying to this e-mail.





  • 4.  RE: Subscription requests are failing with 401

    Posted 11-16-2023 16:22
    No replies, thread closed.
    Seems issue might be happening due to number of channels exceeding 20 which is a limitation documented. We are already applying suggestion to combine topic per user. They have 30K user, hence creating 30 channels as each channel can have 1000 topics at most. So we need to find out how to handle this when we have more than 20 K users https://developer.genesys.cloud/notificationsalerts/notifications/#combine-related-topics

    Any suggestions

    Regards
    Nikhil naicker
    Verint