Closed ratik21 closed 2 years ago
Interestingly :: when i deploy using the heroku setup mentioned here, the server get's deployed, and the peer discovery works as well. But the local server mentioned above doesn't work. Trying to understand what's happening here :/
Interestingly :: when i deploy using the heroku setup mentioned here, the server get's deployed, and the peer discovery works as well. But the local server mentioned above doesn't work. Trying to understand what's happening here :/
I does not, it crashes while handling very first request.
@mateuszjarzewski there was a bug that caused a crash with the first request - it was fixed a week ago, could you please try again with the latest version?
@mateuszjarzewski : we're going to resolve since we believe we have fixed the issue per the comment above. Feel free to reopen if that's not the case.
Following up after this issue, i tried to follow this comment to setup a local signalling server :: https://github.com/libp2p/js-libp2p-webrtc-star/issues/238#issue-651546634. So using
nginx + certbox
to generate certs, and then using docker-compose file, i was able to deploy the server locally.Terminal log:
Browser:
So now i wanted to use it in an example (say peer discovery using
webrtc-star
transport). But i get the following error:NOTE: Using the public webrtc-star server works --
wrtc-star1.par.dwebops.pub
,wrtc-star2.sjc.dwebops.pub
.cc: @jjperezaguinaga