Skip to content

[Bug]: The bridge binary does not support API calls #7317

@ponchik69

Description

@ponchik69

Contact Details

vladimir.m@p2p.org

Description

API calls are not supported for the bridge binary

Node version

v3.0.21

Host machine

Platform independent

Steps to reproduce

  • build bridge v3.0.21
  • run with --rest-api-interface=0.0.0.0:3000 and default API params (api.toml)
  • request any endpoints (/status, /status/list, /peerinfo)
netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:37374           0.0.0.0:*               LISTEN      1/bridge
tcp        0      0 :::3000                 :::*                    LISTEN      1/bridge
curl -s http://localhost:3000/status
404 page not found

curl -s http://localhost:3000/status/list
404 page not found

curl -s http://localhost:3000/status/peerinfo
404 page not found

On which network is the bug manifesting itself?

Mainnet

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions