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

Node connection problem after changing the node's address #1313

Open
mdjvd opened this issue Sep 9, 2024 · 1 comment
Open

Node connection problem after changing the node's address #1313

mdjvd opened this issue Sep 9, 2024 · 1 comment
Labels

Comments

@mdjvd
Copy link

mdjvd commented Sep 9, 2024

Describe the bug
Suppose you have a marzban-node on your dashboard's nodes list (active, disabled, or connecting status) and you change the address of that node in order to connect it to a different server (which has marzban-node already set up on it). In that case, marzban cannot connect to that new server.

I am not using marzban-node default ports (service and xray api)
I am using rest protocol on marzban-node (also tried it on rpyc and it was the same)

Sometimes restarting marzban and marzban-node will solve this problem. Sometimes I need to do it multiple times and sometimes it will be only fixed when I reboot the servers.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'node's list on dashboard'
  2. Click on 'address' and change the address to a different IP that has marzban-node set up on it.
  3. You can see marzban cannot connect to it and some ssl-cert-verify errors appear in marzban logs and also, CPU usage of the Master server will be kept at 100% when this happens

Expected behavior
marzban should be able to accept a new address for a node to connect to it.

Screenshots
image
image

@mdjvd
Copy link
Author

mdjvd commented Sep 10, 2024

I have noticed that when this happens, the xray inbound ports are usually being listened to on the node's server, even though the node is not connected. So it makes sense that restarting marzban and marzban-node will fix the issue, but it happens a lot and it is a bummer.

@M03ED M03ED added T: Bug Something isn't working C: Backend P2 S: Need Fix labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants