Unauthorized error in peerjs server #1212
-
I have hosted this peerjs server to heroku and I'm facing this error when I tried to connect https://myapp.herokuapp.com/peerjs/6ba28c1d-8761-457e-ace4-31bcdbe4d32d/k1kpjuwftfr/id?i=0 and in my client code I have added const peer = new Peer({
key: 'peerjs',
host: 'myapp.herokuapp.com',
secure: true,
port: 443,
generateClientId:id,
config
}); instead of this
and I have deployed my client code in apache web server and peerjs server is deployed in heroku. Can anyone please help me on this? Why its happening? @ afrokick @ kidandcat or anyone else? |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 5 replies
-
What error you see? |
Beta Was this translation helpful? Give feedback.
-
Facing the same error. Can someone help on this? |
Beta Was this translation helpful? Give feedback.
-
Hey did you find anything on this? |
Beta Was this translation helpful? Give feedback.
-
Still waiting for updates |
Beta Was this translation helpful? Give feedback.
-
I don't think there is a generateClientId in client side options... That's a serverside config option to have a custom id generator in case the default doesn't serve for clients connecting without id in the constructor. |
Beta Was this translation helpful? Give feedback.
I don't think there is a generateClientId in client side options... That's a serverside config option to have a custom id generator in case the default doesn't serve for clients connecting without id in the constructor.