Skip to content

[Bug] WsNodeServer doesn't work properly (no proper logging) #146

@al-onyxprotocol

Description

@al-onyxprotocol

Summary

It seems that WsNodeServer does not work as expected

Steps to reproduce

  1. Run two ADAMANT nodes (local + remote)
  2. Enable WsNode logging
  3. Observe logs during peer connections

Expected behavior

When a WebSocket peer connects, WsNodeServer should output a log message, e.g.:

[WsNodeServer] WebSocket peer ${peerIp} is connecting…

Actual behavior

No such messages are present in logs. Appears that WsNodeServer is not functioning correctly.

Possible Causes

  • Logging not properly initialized for WsNodeServer
  • WsNodeServer not actually accepting/handling connections

Environment

  • Tried running two nodes: one local and one remote
  • Logs checked on both, no WsNodeServer messages appear

Metadata

Metadata

Assignees

Labels

BlockchainRelated to blockchain functionality, consensus, and ledger mechanicsNodeJSBackend logic, APIs, and Node.js environmentbugSomething isn't working

Type

Projects

Status

Planned

Relationships

None yet

Development

No branches or pull requests

Issue actions