hiddify / Hiddify-Manager

Multi-user anti-filtering panel, with an effortless installation and supporting more than 20 protocols to circumvent filtering plus the telegram proxy.
https://hiddify.com
GNU General Public License v3.0
6.15k stars 721 forks source link

ربات هیدیفای #3610

Closed mehrdadtopme closed 6 months ago

mehrdadtopme commented 7 months ago

سلام مدتی هست که ربات پنل به تلگرام من وصل نمیشه و اینکه بک اپ ارسال نمیکنه

ali5752Ja commented 7 months ago

bash <(curl -fsSL https://raw.githubusercontent.com/Ptechgithub/warp/main/endip/install.sh)

hoseinnikkhah commented 7 months ago

bash <(curl -fsSL https://raw.githubusercontent.com/Ptechgithub/warp/main/endip/install.sh)

with all respect to original user who's made warp script you shared, this is not a fix for telegram bot, so your reply is considered as spam.

سلام مدتی هست که ربات پنل به تلگرام من وصل نمیشه و اینکه بک اپ ارسال نمیکنه

Same issue has happened to me, have you checked your python libraries? you can easily use pip list to check your installed packages, note that you must be using python telegram bot

Walk-through

Use this step by step and check if there are conflicting packages. Run following command

pip list

You'll see a list of packages on your linux machine, here is an an example of what you should see:

Package                   Version
------------------------- ------------
albumentations            1.3.1
altgraph                  0.17.3
anyio                     4.2.0
appopener                 1.6
async-timeout             4.0.3
attrs                     22.2.0
beautifulsoup4            4.12.3
CacheControl              0.12.11
cachetools                5.3.0
certifi                   2022.12.7
cffi                      1.16.0
charset-normalizer        3.0.1
cleo                      2.0.1
colorama                  0.4.6
crashtest                 0.4.1
distlib                   0.3.6
dulwich                   0.20.50
einops                    0.7.0
entmax                    1.1
filelock                  3.9.0
fsspec                    2023.10.0
google-images-download    2.8.0
h11                       0.14.0
html5lib                  1.1
httpcore                  1.0.2
httpx                     0.25.2
huggingface-hub           0.19.4
idna                      3.4
imageio                   2.33.0
importlib-metadata        6.0.0
jaraco.classes            3.2.3
Jinja2                    3.1.2
joblib                    1.3.2
jsonschema                4.17.3
keyring                   23.13.1
lazy_loader               0.3
lockfile                  0.12.2
MarkupSafe                2.1.3
more-itertools            9.0.0
mpmath                    1.3.0
msgpack                   1.0.4
munch                     4.0.0
networkx                  3.2.1
numpy                     1.24.2
opencv-python-headless    4.8.1.78
outcome                   1.3.0.post0
packaging                 23.0
pandas                    2.1.3
pefile                    2023.2.7
pexpect                   4.8.0
Pillow                    10.1.0
pip                       23.0.1
pix2tex                   0.1.2
pkginfo                   1.9.6
platformdirs              2.6.2
poetry                    1.3.2
poetry-core               1.4.0
poetry-plugin-export      1.3.0
psutil                    5.9.4
ptyprocess                0.7.0
py2exe                    0.13.0.0
pycparser                 2.21
pyinstaller               5.8.0
pyinstaller-hooks-contrib 2023.0
pynput                    1.7.6
PyQt6                     6.6.0
PyQt6-Qt6                 6.6.0
PyQt6-sip                 13.6.0
PyQt6-WebEngine           6.6.0
PyQt6-WebEngine-Qt6       6.6.0
pyreadline3               3.4.1
pyrsistent                0.19.3
PySide6                   6.6.0
PySide6-Addons            6.6.0
PySide6-Essentials        6.6.0
PySocks                   1.7.1
python-dateutil           2.8.2
python-telegram-bot       20.7
pytz                      2023.3.post1
pywin32-ctypes            0.2.0
PyYAML                    6.0.1
qudida                    0.0.4
rapidfuzz                 2.13.7
redis                     5.0.1
regex                     2023.10.3
requests                  2.28.2
requests-toolbelt         0.10.1
safetensors               0.4.0
scikit-image              0.22.0
scikit-learn              1.3.2
scipy                     1.11.4
screeninfo                0.8.1
selenium                  4.17.2
setuptools                65.5.0
shellingham               1.5.0.post1
shiboken6                 6.6.0
six                       1.16.0
sniffio                   1.3.0
sortedcontainers          2.4.0
soupsieve                 2.5
spotipy                   2.23.0
sympy                     1.12
threadpoolctl             3.2.0
tifffile                  2023.9.26
timm                      0.5.4
tokenizers                0.15.0
tomlkit                   0.11.6
torch                     2.1.1
torchaudio                2.1.1
torchvision               0.16.1
tqdm                      4.66.1
transformers              4.35.2
trio                      0.24.0
trio-websocket            0.11.1
trove-classifiers         2023.2.20
typing_extensions         4.9.0
tzdata                    2023.3
urllib3                   1.26.14
vboxapi                   1.0
vboxapi                   1.0
vboxapi                   1.0
virtualenv                20.19.0
webencodings              0.5.1
wheel                     0.38.4
wsproto                   1.2.0
x-transformers            0.15.0
zipp                      3.14.0

You will see a package called python-telegram-bot there might be also python-telegram-bot-raw, these two shouldn't be installed at same time and upon my experience you need to delete python-telegram-bot-raw if you have both of them installed, if you should be ok if only python-telegram-bot is installed but if python-telegram-bot-raw is installed only then you have to uninstall it and install python-telegram-bot

In order to do so you have to first run following command:

pip install python-telegram-bot

and if you want to uninstall confliciting package you must run:

pip uninstall <package-name> 

This should fix the issue, however in latest release telegram bot is not working properly which might be due to an error in telegram bot code

akonil commented 6 months ago

@hoseinnikkhah I'm afraid that's not the problem. Here is the problem I'm aware of:

Screenshot 2024-03-05 at 2 46 24 PM

Previously, if we provided a telegram bot token in the settings by selecting the highlighted menu, we could manage the hiddify-server using the telegram bot; it had multiple features like account management, sending backup files every 6 hours, etc.

Iam54r1n4 commented 6 months ago

Thanks for your report. Fixed. Update your panel.

akonil commented 6 months ago

@Iam54r1n4 Issue still exist !

CleanShot 2024-03-06 at 15 04 00@2x

Iam54r1n4 commented 6 months ago

@Iam54r1n4 Issue still exist !

CleanShot 2024-03-06 at 15 04 00@2x

sorry, I think we haven't released the changes yet. could you please test it on the Develop version?

akonil commented 6 months ago

It's fixed now, thank you