neuron icon indicating copy to clipboard operation
neuron copied to clipboard

[Feature Request] Set proxy for internal full node or light client.

Open chaoticlonghair opened this issue 1 year ago • 1 comments

Due to the poor Internet in some countries, both the internal full node and the internal light client are really slow with the default configuration.

So, I used the parameter --proxy-server="socks5://localhost:8888" to start Neuron. It's a common parameter for all Applications based on Electron.

But I found it didn't work for the internal node or the internal light client, it only worked for the Neuron itself. Because I only found logs to query github.com and githubassets.com from my proxy server.

As the developers of Neuron said in #3098:

Self-hosted Light client is not allowed to be connected to Neuron

I think an official setting for set proxy for the internal node and the internal light client is required.

chaoticlonghair avatar Apr 02 '24 04:04 chaoticlonghair

Good point, it should be available in the following releases

Keith-CY avatar Apr 02 '24 05:04 Keith-CY

Mark this issue stale because no activity for 60 days

github-actions[bot] avatar Jun 02 '24 05:06 github-actions[bot]

Close this issue because it's inactive since marked stale

github-actions[bot] avatar Jun 09 '24 05:06 github-actions[bot]

WIP

Keith-CY avatar Jun 09 '24 05:06 Keith-CY

Sorry, we can't support this suggestion at this time. @yangby-cryptape

After our technical team tried to develop it, we realized that node support was needed, but after evaluation by the ckb core team, it was not considered a high-priority task.

So we suggest you try global proxy or adjust proxy rules to add node proxy, because if only Neuron uses proxy can't control the node.

Danie0918 avatar Jun 25 '24 07:06 Danie0918

Ref: https://github.com/nervosnetwork/ckb/issues/4473#issuecomment-2201815921.

ping @Danie0918

chaoticlonghair avatar Jul 02 '24 03:07 chaoticlonghair

Hi @yangby-cryptape [email protected](https://github.com/nervosnetwork/neuron/releases/tag/v0.117.0) has supported external light clients, please have a try.

Keith-CY avatar Aug 13 '24 03:08 Keith-CY