Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Cannot publish to topic #3697

Closed
TheBojda opened this issue May 24, 2021 · 2 comments
Closed

Cannot publish to topic #3697

TheBojda opened this issue May 24, 2021 · 2 comments
Labels
need/triage Needs initial labeling and prioritization

Comments

@TheBojda
Copy link

TheBojda commented May 24, 2021

  • Version:
    js-ipfs version: 0.6.1-bdea5bc95073f568a3b0ff75ec5c26a64dd2bee0
    interface-ipfs-core version: ^0.145.1
    ipfs-http-client version: ^50.0.0
    Repo version: 10
    System version: x64/linux
    Node.js version: v14.17.0
    Commit: bdea5bc

  • Platform:
    Linux lacusi-Inspiron-3780 5.4.0-73-generic js-multiaddr support for uTP, WebSockets and IPFS #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Severity:

High

Description:

Cannot send message to pubsub topic.

I see this in the terminal if debug messages are enabled:
[1621873528422] ERROR (342444 on lacusi-Inspiron-3780): Invalid request query input
Error: Invalid request query input
at Object.internals.input (/usr/local/lib/node_modules/ipfs/node_modules/@hapi/hapi/lib/validation.js:148:74)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Request._lifecycle (/usr/local/lib/node_modules/ipfs/node_modules/@hapi/hapi/lib/request.js:372:32)
at async Request._execute (/usr/local/lib/node_modules/ipfs/node_modules/@hapi/hapi/lib/request.js:280:9)

Steps to reproduce the error:

jsipfs daemon
curl -X POST "http://127.0.0.1:5002/api/v0/pubsub/pub?arg=test&arg=hello"

response:
{"Message":"Invalid request query input","Code":1,"Type":"error"}

@TheBojda TheBojda added the need/triage Needs initial labeling and prioritization label May 24, 2021
@welcome
Copy link

welcome bot commented May 24, 2021

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@lidel
Copy link
Member

lidel commented Oct 8, 2021

Please update to the latest jsipfs (js-ipfs-core is 0.11.1 while you are on 0.6) and open a new issue if still happens.

@lidel lidel closed this as completed Oct 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

2 participants