pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] pruthvivrp opened a new issue #3375: Websocket example not working - Throwing Unexpected server response: 500
Date Wed, 16 Jan 2019 11:11:46 GMT
pruthvivrp opened a new issue #3375: Websocket example not working - Throwing Unexpected server
response: 500
URL: https://github.com/apache/pulsar/issues/3375
 
 
   **Describe the bug**
   Since there's no client available for Node.js, I tried to using WebSocket API for creating
producers/consumers. When I tried the example given in the documentation, it throws me the
"Unexpected server response: 500" error.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Run "Pulsar standalone" in docker container(WebSocket service is enabled by default
in standalone mode)
   2. Check the service is working fine by checking the admin REST APIs
   3. Run the Websocket (node.js) examples given [here](https://pulsar.apache.org/docs/en/client-libraries-websocket/#nodejs-producer).
   4. You will be able to see the error.
   
   **Expected behavior**
   Should be able produce/consume messages using Websocket clients.
   
   **Screenshots**
   ![pulsar-websocket-error](https://user-images.githubusercontent.com/29608822/51245380-800ec900-19ad-11e9-8a58-3fbc7dd61fac.png)
   
   
   **Desktop (please complete the following information):**
    - OS: Windows 10(but running pulsar in docker container)
   
   **Additional context**
   No

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message