NidukaAkalanka / x-ui-english

English Version of X-UI, A Multi-protocol & Multi-user Xray Panel with a Web UI and a TG Bot
GNU General Public License v3.0
727 stars 239 forks source link

Bug #126

Closed Angize closed 1 year ago

Angize commented 1 year ago

Welcome

Description of the problem,screencshot would be good

x-ui.service - x-ui Service Loaded: loaded (/etc/systemd/system/x-ui.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2023-01-24 15:31:41 +0330; 2h 19min ago Process: 1083929 ExecStart=/usr/local/x-ui/x-ui (code=exited, status=2) Main PID: 1083929 (code=exited, status=2)

Jan 24 15:31:40 ubuntu20 x-ui[1083929]: x-ui/web/job.processLogFile() Jan 24 15:31:40 ubuntu20 x-ui[1083929]: /home/runner/work/x-ui-english.dev/x-ui-english.dev/web/job/check_clinet_ip_job.go:100>Jan 24 15:31:40 ubuntu20 x-ui[1083929]: x-ui/web/job.(CheckClientIpJob).Run(0x0?) Jan 24 15:31:40 ubuntu20 x-ui[1083929]: /home/runner/work/x-ui-english.dev/x-ui-english.dev/web/job/check_clinet_ip_job.go:34 >Jan 24 15:31:40 ubuntu20 x-ui[1083929]: github.com/robfig/cron/v3.(Cron).startJob.func1() Jan 24 15:31:40 ubuntu20 x-ui[1083929]: /home/runner/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:312 +0x6a Jan 24 15:31:40 ubuntu20 x-ui[1083929]: created by github.com/robfig/cron/v3.(*Cron).startJob Jan 24 15:31:40 ubuntu20 x-ui[1083929]: /home/runner/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:310 +0xad Jan 24 15:31:40 ubuntu20 systemd[1]: x-ui.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jan 24 15:31:41 ubuntu20 systemd[1]: x-ui.service: Failed with result 'exit-code'.

I get this error every few hours and it crashes the whole x-ui automatically

Version of x-ui

```console $ x-ui version # Paste output here ```

x-ui log or xray log

```console # paste log here ```
Angize commented 1 year ago

Hello???

Angize commented 1 year ago

Are you ok? are you alive?

Angize commented 1 year ago

I'm worried about you, friend🥲🥲🥲

Angize commented 1 year ago

Do you not come to Telegram, friend? i have work with you

NidukaAkalanka commented 1 year ago

I get this error every few hours and it crashes the whole x-ui automatically

Seems like you have provided invalid arguments when creating clients or in panel settings. Maybe in telegram bot notification time or ip limit. Please check them out. If the issue exists contineously or if you think you have given everything correctly, please feel free to comment down with any other information if any.

NidukaAkalanka commented 1 year ago

Do you not come to Telegram, friend? i have work with you

I'm all fine and thanks for asking. Got busy with my academics. Once it is over, I'll be back on telegram and I'll be replying to all of your github issues ASAP.

Angize commented 1 year ago

I get this error every few hours and it crashes the whole x-ui automatically

Seems like you have provided invalid arguments when creating clients or in panel settings. Maybe in telegram bot notification time or ip limit. Please check them out. If the issue exists contineously or if you think you have given everything correctly, please feel free to comment down with any other information if any.

I use iplimit and I encounter this Please tell me the solution

Angize commented 1 year ago

Everything enters correctly And I use IP limit What should I do to solve my problem?

NidukaAkalanka commented 1 year ago

To limit IP, just enter the number of IPs you want to be connected simultaneously. Like.. 1, 2.. Just a number. To disable it, enter 0

Angize commented 1 year ago

I enter everything correctly but still after a few hours I get the error again