wizwizxui-timebot icon indicating copy to clipboard operation
wizwizxui-timebot copied to clipboard

ست کردن path در پروتکل ws

Open MrSajjad1996 opened this issue 1 year ago • 5 comments
trafficstars

سلام بنده از پروتکل ws استفاده میکنم و ws pathسرور بنده /ws هست ، اما در تنظیمات ربات قسمتی برای مشخص کردن ws path نیست و خودکار اون رو خالی ایجاد میکنه که کانفیگ ها به مشکل میخورن مثلا

vless:/xxxxxx@xxxx:443?type=ws&security=none&path=/&host=#xxxxx که باید باشه

vless:/xxxxxx@xxxx:443?type=ws&security=none&path=/ws&host=#xxxxx

کسی میتونه کمک کنه

MrSajjad1996 avatar May 08 '24 09:05 MrSajjad1996

A temporary solution is to manually add it to the source code, for example to change it for the vless+ws+tls do the following steps (version 10.1.2):

  1. Open the config.php file and navigate to line 4248: nano -c +4248 /var/www/html/wizwizxui-timebot/config.php

  2. Add your desired values to the config uri, like ws path, alpn and utls: else $outputlink = "$protocol://$uniqid@$server_ip:$port?type=$netType&security=$tlsStatus&path=%2Fws&alpn=h2,http/1.1&fp=chrome&host=$host{$psting}#$remark";

As you see this part path=%2Fws&alpn=h2,http/1.1&fp=chrome is added to the original uri available in the source.

nickravesh avatar May 08 '24 13:05 nickravesh

کسی میتونه کمک کنه

فعلا از path نمیتونه پشتیبانی کنه ولی این دوستمون کدش اوکیه میتونید جایگزین کنید استفاده کنید

wizwizdev avatar May 08 '24 22:05 wizwizdev

A temporary solution is to manually add it to the source code, for example to change it for the vless+ws+tls do the following steps (version 10.1.2):

  1. Open the config.php file and navigate to line 4248: nano -c +4248 /var/www/html/wizwizxui-timebot/config.php

  2. Add your desired values to the config uri, like ws path, alpn and utls: else $outputlink = "$protocol://$uniqid@$server_ip:$port?type=$netType&security=$tlsStatus&path=%2Fws&alpn=h2,http/1.1&fp=chrome&host=$host{$psting}#$remark";

As you see this part path=%2Fws&alpn=h2,http/1.1&fp=chrome is added to the original uri available in the source.

I couldn't do it can you help me on telegram?

https://t.me/baini01

mioo-lnx avatar May 09 '24 12:05 mioo-lnx

A temporary solution is to manually add it to the source code, for example to change it for the vless+ws+tls do the following steps (version 10.1.2):

  1. Open the config.php file and navigate to line 4248: nano -c +4248 /var/www/html/wizwizxui-timebot/config.php
  2. Add your desired values to the config uri, like ws path, alpn and utls: else $outputlink = "$protocol://$uniqid@$server_ip:$port?type=$netType&security=$tlsStatus&path=%2Fws&alpn=h2,http/1.1&fp=chrome&host=$host{$psting}#$remark";

As you see this part path=%2Fws&alpn=h2,http/1.1&fp=chrome is added to the original uri available in the source.

This worked for me in sanaei v2.3.11 and wizwizbot v10.2.1 but the code line you have mentioned has been changed to 4048. I really apperciate your help.

Mahdij505 avatar Sep 10 '24 23:09 Mahdij505

Thank you very much for your help

On Wed, Sep 11, 2024 at 2:45 AM Mahdi Jabbary @.***> wrote:

A temporary solution is to manually add it to the source code, for example to change it for the vless+ws+tls do the following steps (version 10.1.2):

  1. Open the config.php file and navigate to line 4248: nano -c +4248 /var/www/html/wizwizxui-timebot/config.php
  2. Add your desired values to the config uri, like ws path, alpn and utls: else $outputlink = "$protocol://$uniqid@ $server_ip:$port?type=$netType&security=$tlsStatus&path=%2Fws&alpn=h2,http/1.1&fp=chrome&host=$host{$psting}#$remark";

As you see this part path=%2Fws&alpn=h2,http/1.1&fp=chrome is added to the original uri available in the source.

This worked for me in sanaei v2.3.11 and wizwizbot v10.2.1 but the code line you have mentioned has been changed to 4048. I really apperciate your help.

— Reply to this email directly, view it on GitHub https://github.com/wizwizdev/wizwizxui-timebot/issues/988#issuecomment-2342321130, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHCBRU7KVSIDDKBGBH46RVLZV54RNAVCNFSM6AAAAABHMRSBL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBSGMZDCMJTGA . You are receiving this because you commented.Message ID: @.***>

mioo-lnx avatar Sep 12 '24 02:09 mioo-lnx