Giter Site home page Giter Site logo

Bug in deleting the client about x-ui HOT 19 CLOSED

alireza0 avatar alireza0 commented on September 1, 2024 1
Bug in deleting the client

from x-ui.

Comments (19)

alireza0 avatar alireza0 commented on September 1, 2024 1

Thank you for this report.
It seems a bug in modules or go 1.20 happened!
Only fingerprint enabled protocols (trojan/vmess) has this issue.
It is now fixed. I have updated the last version.
Please update it

from x-ui.

alireza0 avatar alireza0 commented on September 1, 2024 1

Please update and check.
DIFF

from x-ui.

alireza0 avatar alireza0 commented on September 1, 2024 1

Great!
Instead of removing sub-user (client) just edit the inbound and hit the Revise button to save the inbound in db correctly.

from x-ui.

alireza0 avatar alireza0 commented on September 1, 2024 1

It is normal!
So, I decided to revert back to version 0.2.4 as the last stable one, till fixing all these bugs.
I need time to work on new features.

Please re install it to have automatic downgrade.
Sorry for these problems

from x-ui.

alireza0 avatar alireza0 commented on September 1, 2024 1

Actually, I have fixed it here.
When it creates new inbound ( for ex. when you save the edited inbound ) then it will not use current decryption value and will change it to none by force.

from x-ui.

alireza0 avatar alireza0 commented on September 1, 2024 1

New release is ready with lots of fixes.
Please check and feedback.

Thanks again

from x-ui.

immortal25ir avatar immortal25ir commented on September 1, 2024 1

I tested and the problem is solved
thank you

@alireza0

from x-ui.

immortal25ir avatar immortal25ir commented on September 1, 2024

thank you

Based on the code changes, the problem seems to be solved, but it still exists
Xray 1.7.5 (Xray, Penetrates Everything.) Custom (go1.20 linux/amd64) A unified platform for anti-censorship. 2023/02/24 09:52:44 [Info] infra/conf/serial: Reading config: bin/config.json Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: VLESS settings: please add/set "decryption":"none" to every settings

p.s: I updated an hour ago and then restarted

from x-ui.

alireza0 avatar alireza0 commented on September 1, 2024

Unfortunately it has changed a static part of settings. I will edit this version to use Hard-Coded static value for decryption. Then you can fix it by edit and save the affected VLESS inbound once.

from x-ui.

immortal25ir avatar immortal25ir commented on September 1, 2024

Unfortunately, there is still a problem
On an active port that I tested now, it gave an error again and there was no solution except editing the database

from x-ui.

alireza0 avatar alireza0 commented on September 1, 2024

Sorry to here that!
Did you update the x-ui?
Did you open the edit modal and save it?
Could you please send me the details about this error?

from x-ui.

immortal25ir avatar immortal25ir commented on September 1, 2024

Yes, I had done the necessary updates

Xray 1.7.5 (Xray, Penetrates Everything.) Custom (go1.20 linux/amd64) A unified platform for anti-censorship. 2023/02/25 09:29:31 [Info] infra/conf/serial: Reading config: bin/config.json Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: VLESS settings: please add/set "decryption":"none" to every settings

The interesting point is that: i fixing the problem manually, but after creating the subcategory account, the error appeared again

from x-ui.

alireza0 avatar alireza0 commented on September 1, 2024

I did all these tests. But instead of new version, I removed the last version and replace fixed version.
Please use x-ui update again.

from x-ui.

immortal25ir avatar immortal25ir commented on September 1, 2024

I ran the following commands again :

x-ui update
x-ui restart

And I deleted a subUser

Result :
Untitled

from x-ui.

immortal25ir avatar immortal25ir commented on September 1, 2024

I did the same several times. Both before and after the problem. It did not work

from x-ui.

alireza0 avatar alireza0 commented on September 1, 2024

Something is wrong here.
Others tried and fixed the db by this way:
#25 (comment)

Please:

  1. Check if you do this edit-save process for all affected VLess inbounds.
  2. Check if you allow x-ui update to download and reinstall the package from github.
  3. Check manually in db if the problem is fixed by edit-save

If everything is okay then please send me the server details such as os release and sample config

from x-ui.

immortal25ir avatar immortal25ir commented on September 1, 2024

Thank you for your time

I had done all the steps before sending a message in issue.
Every 3 steps.

But unfortunately it didn't work for me.

Ubuntu 22
Finland ~ Hetzner
2 VCPU
2 GB RAM
40 GB DISK LOCAL

====
config:
Vless > 443 > WS > TLS

from x-ui.

immortal25ir avatar immortal25ir commented on September 1, 2024

thank you

does this line need to be changed?
web/assets/js/model/xray.js : 1427

from x-ui.

alireza0 avatar alireza0 commented on September 1, 2024

Thanks again for report and contributing @Nipoto

from x-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.