Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--telemetry-url <URL VERBOSITY> ,Verbosity is configured but not taking effect in v1.18.0 #7806

Closed
2 tasks done
ioomie opened this issue Mar 5, 2025 · 6 comments
Closed
2 tasks done
Labels
I2-bug The node fails to follow expected behavior. I10-unconfirmed Issue might be valid, but it's not yet known.

Comments

@ioomie
Copy link

ioomie commented Mar 5, 2025

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

I updated the image version of my chain node on the Kubernetes cluster from parity/polkadot:v1.17.2 to the latest released Docker image: parity/polkadot:v1.18.0.

After I restarted it, my chain node encountered an error:

Starting binary polkadot  
error: invalid value 'wss://telemetry-backend.w3f.community/submit' for '--telemetry-url <URL VERBOSITY>': Verbosity level missing  

For more information, try '--help'.  

Image

After I rolled back to version v1.17.2, it recovered and no longer showed the above error. Everything is working normally again.

Below is a part of my startup configuration:

...
spec:
  containers:
  - args:
    - --base-path=/chain-data
    - --rpc-cors=all
    - --port=29252
    - --unsafe-rpc-external
    - --validator
    - --rpc-methods=Unsafe
    - --name=OnfValidator
    - --chain=kusama
    - --db-cache=512
    - --telemetry-url=wss://telemetry-backend.w3f.community/submit 1
    - --in-peers=100
    - --in-peers-light=0
...

Image

Steps to reproduce

All issues were reproduced in the Kubernetes environment:

  1. When starting, the --telemetry-url configuration was set in version v1.18.0.2
  2. After waiting for the startup, an error was reported: ERROR.
  3. After rolling back to v1.17.2 with the same --telemetry-url configuration, the startup proceeded normally.
@ioomie ioomie added I10-unconfirmed Issue might be valid, but it's not yet known. I2-bug The node fails to follow expected behavior. labels Mar 5, 2025
@bkchr
Copy link
Member

bkchr commented Mar 5, 2025

I'm surprised that this ever worked for you, if you change it to:

--telemetry-url=`wss://telemetry-backend.w3f.community/submit 1`

It should also work for the latest version. Maybe the library we are using for CLI changed something internally.

@ioomie
Copy link
Author

ioomie commented Mar 6, 2025

I'm surprised that this ever worked for you, if you change it to:

--telemetry-url=`wss://telemetry-backend.w3f.community/submit 1`

It should also work for the latest version. Maybe the library we are using for CLI changed something internally.

I configured this parameter, but it seems it is still not working properly 🫠

Image Image

@ioomie
Copy link
Author

ioomie commented Mar 6, 2025

If I use version v1.17.2 and add ``, it will also report an error, but the form of the error is different. It seems that in version v1.18.0, the number after the space is not being read.

Image

@bkchr
Copy link
Member

bkchr commented Mar 6, 2025

What are you using to launch the node? Is that systemd? Could you try to run the node manually?

@ioomie
Copy link
Author

ioomie commented Mar 7, 2025

I received a new message in this issue: #7819

So I cannot upgrade yet. I will roll back the version first.
Thank you for your help @bkchr

@ioomie ioomie closed this as completed Mar 7, 2025
@ioomie
Copy link
Author

ioomie commented Mar 7, 2025

By the way, we are running in a Kubernetes environment, and starting with docker run also results in the aforementioned issues. However, when I tested it, this version was no longer available and has been renamed to v1.18.0-rc1.

Image

This is my startup command. I have removed some sensitive information, and I hope this can help you with debugging:

docker run --rm \
  --name chain-node \
  parity/polkadot:v1.18.0-rc1 \
  --base-path=/chain-data \
  --rpc-cors=all \
  --port=29252 \
  --unsafe-rpc-external \
  --validator \
  --rpc-methods=Unsafe \
  --name=OnfValidator \
  --chain=kusama \
  --db-cache=512 \
  --telemetry-url='wss://telemetry-backend.w3f.community/submit/ 1' \
  --in-peers=100 \
  --in-peers-light=0 \
  --insecure-validator-i-know-what-i-do

@bkchr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I2-bug The node fails to follow expected behavior. I10-unconfirmed Issue might be valid, but it's not yet known.
Projects
None yet
Development

No branches or pull requests

2 participants