Developer Challenge - Day 21 - Web sockets - Couldnt connect req

Hello Sir,

I am not able to connect request to Web socket. As per Developer challenge Day 21.

I added request and selected option of socket as socket.io. It does get added but it doesnt connect to url if I execute the request.
It displays as
Error: connect ETIMEDOUT 44.196.9.124:443
It displays Could not connect to https://postman-echo.com/collections/{{collectionUid}}
Attached is the scrrenshot for the same.

Can you please let me know which is the appropriate option to be selected for the request which is to be added as per Challenge Day 21- Web socket.
I need to complete Developer challenge asap.

Thanks,
Kinjal

Hey @kinjal04 :wave:t2:

Welcome to the Postman Community :postman:

I would recommend looking through that task again and look at what it’s telling you to do in the instructions.

You should be create a new websocket Collection and then using that id in the HTTP submit request. It’s not all done in the same Collection.

Hello Sir,

I followed the instructions.
Firstly,

  1. Websocket is altogether a different connection and a collection which is indepedant to my main collection which kinjal04 Fork.
  2. Now what I did is I added a Submit a solution as a different id but it doesnt display any http request in Web socket.
  3. I tried to copy/ duplicate the same from other collection it doesnt allow to do anything once we are in WEB SOCKET
    Attached are the screenshots for whatever I explained here in my concern.
    If it doesnt allow any request as http we cannot have it in WEB SOCKET. Hence I created request as SOCKET.IO

I assume it as a limitation for WEB SOCKET and did the above needful for adding SOCKET.IO to a web socket collection.


newcollection_websocket

Thanks,
Kinjal

You’re not following the information in the instructions. It doesn’t mention doing everything with that Collection.

You need to create a brand new Websocket Collection with those requests and then get the id from that. That id will be used in the submit request in the original Collection.

There is no need to change after in that original Collection, apart from adding the Websocket Collection’s id to check your solution.