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
And deploy it by Docker.
And then i wrote a client to connect to it, but it did not work. The server does not receive anything.
And client get an error code 1006
here is client code: const peers = ParamUtils.getPeers( peers ); const gun = Gun( { peers : peers } ); gun.get( 'sync' ).put( data, ( ack ) => { });
The text was updated successfully, but these errors were encountered:
I wrote the gun server:
` const port = ParamUtils.getPort();
const host = ParamUtils.getHost();
const peers = ParamUtils.getPeers();
And deploy it by Docker.
And then i wrote a client to connect to it, but it did not work. The server does not receive anything.
And client get an error code 1006
here is client code:
const peers = ParamUtils.getPeers( peers ); const gun = Gun( { peers : peers } ); gun.get( 'sync' ).put( data, ( ack ) => { });
The text was updated successfully, but these errors were encountered: