You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WakuLightPushClient.publish fails with "dial failure" when peer is PeerId.
Impact
...
To reproduce
Instantiate two Switch, one will act as serverSwitch and the other as clientSwitch.
Instantiate a WakuLightPush and a WakuLightPushClient, using the respective switches.
Send a publish request using serverSwitch.peerInfo.toRemotePeerInfo().peerId.
The response will be a "dial failure".
In step 3, if using serverSwitch.peerInfo.toRemotePeerInfo(), it will be successful.
Expected behavior
The method works fine when sending a RemotePeerId instead of PeerId. That is weird given RemotePeerId contains PeerId, hence I expected the method to behave exactly the same.
Problem
WakuLightPushClient.publish
fails with "dial failure" whenpeer
isPeerId
.Impact
...
To reproduce
Switch
, one will act asserverSwitch
and the other asclientSwitch
.WakuLightPush
and aWakuLightPushClient
, using the respective switches.publish
request usingserverSwitch.peerInfo.toRemotePeerInfo().peerId
.In step 3, if using
serverSwitch.peerInfo.toRemotePeerInfo()
, it will be successful.Expected behavior
The method works fine when sending a
RemotePeerId
instead ofPeerId
. That is weird givenRemotePeerId
containsPeerId
, hence I expected the method to behave exactly the same.nwaku version/commit hash
The text was updated successfully, but these errors were encountered: