Open jeffersantoss opened 7 years ago
I have this same problem. Did you solve it in what way?
Me too has this Issue !
Me too, I already reinstalled my server about six times, but the problem is not solved.
But I do not know if this will help anyone in any way, but there it goes: If you followed GLPi setup guide probably you put as database password something like that something@something. I found on Internet a tip to edit manually the file config_db.php, verify the password, I don't know why, into file config_db.php the "at" appears something like that "%40", I've changed the "%40" for "@", to me the error on GLPi is solved, in my case I've configured to receive a message as a new ticket is open, but this function isn't work yet. I'm still looking for any tip to solve this problem.
Regards
I also have that problem, I'm new to the tool, and this is solved?
Hi All!
I have the same error that @jeffersantoss I try with some differents bots, usernames and tokens, but the issue persits
:(
¡Solved!
In Windows clients, you need to modify ...\plugins\telegrambot\vendor\longman\telegram-bot\src\Request.php
You must add 'verify' ==> false, at line 215
Like this: self::setClient(new Client(['base_uri' => self::$api_base_uri,'verify' => false,]));
Hi, any advance about this? i still have the same issue "Error. Telegram returned an invalid response! Please review your bot name and API key." I put the correct API key, and bot name. i try to modify the "Request.php" but the problem continue.
This is my enviroment:
Ubuntu Server 16.04 php 7.0 mariaDB 10
any suggestion will be great.
Thanks and Regards!
Hello. We have same problem. tried all the above, the problem remains
+++ Please help us!
try this! its solved for me
.... 'base_uri' => 'https://api.telegram.org', 'proxy' => 'socks5://218.248.73.193:1080', 'verify' => false,
The tip of our friend Drumhazzard solved it for me.
In Windows clients, you need to modify ... \ plugins \ telegrambot \ vendor \ longman \ telegram-bot \ src \ Request.php
You must add 'verify' ==> false, at line 215
Like this: self :: setClient (new Client (['base_uri' => self :: $ api_base_uri, 'verify' => false,]));
This doesn't help too self::setClient(new Client(['base_uri' => ' https://api.telegram.org ', 'proxy' => 'socks5: //218.248.73.193: 1080', 'verify' => false]));
Try this. Its worked for me
self::setClient(new Client(['base_uri' => self::$api_base_uri,'proxy'=>'socks5://yahaha.us:yahaha.us@socks5-a.yahaha.win:2019']));
if no ssl, then add 'verify' => false
Description in log: Action completed, no processing required Details inside item log Running status: Error. Telegram returned an invalid response! Please review your bot name and API key.
I tried with two different bot names and I'm totally sure that token and username are correct but I still the error.