**********************************************************************************
**********************************************************************************

YOU ARE USING AN OLD AND BUGGED VERSION OF PHP, PLEASE UPDATE TO PHP 7.3
PHP 5/7.0 USERS WILL NOT RECEIVE PHP UPDATES AND BUGFIXES: https://www.php.net/eol.php
PHP 5/7.0 USERS WILL NOT RECEIVE MADELINEPROTO UPDATES AND BUGFIXES

SUPPORTED VERSIONS: PHP 7.1, 7.2, 7.3+
RECOMMENDED VERSION: PHP 7.3

**********************************************************************************
**********************************************************************************
exception 'Amp\Uri\InvalidDnsNameException' with message 'Name '2001:067c:04e8:f002:0000:0000:0000:000a' is not a valid hostname.' in phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/amphp/uri/src/functions.php:44 Stack trace: #0 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/amphp/uri/src/Uri.php(48): Amp\Uri\normalizeDnsName('2001:067c:04e8:...') #1 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/ConnectionContext.php(125): Amp\Uri\Uri->__construct('tcp://2001:067c...') #2 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(534): danog\MadelineProto\Stream\ConnectionContext->setUri('tcp://2001:067c...') #3 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(308): danog\MadelineProto\DataCenter->generateContexts(2) #4 [internal function]: danog\MadelineProto\DataCenter::dcConnectAsync(2) #5 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(91): Generator->current() #6 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(228): danog\MadelineProto\Coroutine->__construct(Object(Generator)) #7 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(196): danog\MadelineProto\MTProto::call(Object(Generator)) #8 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProto.php(873): danog\MadelineProto\MTProto::all(Array) #9 [internal function]: danog\MadelineProto\MTProto::connect_to_all_dcs_async() #10 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(91): Generator->current() #11 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(156): danog\MadelineProto\Coroutine->__construct(Object(Generator)) #12 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/amphp/amp/lib/Internal/Placeholder.php(37): danog\MadelineProto\Coroutine->danog\MadelineProto\{closure}(NULL, Object(danog\MadelineProto\RSA)) #13 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(176): danog\MadelineProto\Coroutine->onResolve(Object(Closure)) #14 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(107): danog\MadelineProto\Coroutine->__construct(Object(Generator)) #15 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(249): danog\MadelineProto\Coroutine->__construct(Object(Generator)) #16 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Async/AsyncConstruct.php(47): danog\MadelineProto\MTProto::callFork(Object(Generator)) #17 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProto.php(284): danog\MadelineProto\Async\AsyncConstruct->setInitPromise(Object(Generator)) #18 [internal function]: danog\MadelineProto\MTProto->__wakeup() #19 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/API.php(76): unserialize('O:23:"danog\\Mad...') #20 [internal function]: danog\MadelineProto\API::__construct_async('session.madelin...', Array, Object(Amp\Deferred)) #21 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(91): Generator->current() #22 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(249): danog\MadelineProto\Coroutine->__construct(Object(Generator)) #23 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Async/AsyncConstruct.php(47): danog\MadelineProto\APIFactory::callFork(Object(Generator)) #24 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/API.php(43): danog\MadelineProto\Async\AsyncConstruct->setInitPromise(Object(Generator)) #25 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/magicalserializer/src/danog/Serializable.php(34): danog\MadelineProto\API->__magic_construct('session.madelin...') #26 /home/grecords/epicsoftware.ru/docs/index.php(7): danog\MadelineProto\API->__construct('session.madelin...') #27 {main} Next exception 'Amp\Uri\InvalidUriException' with message 'Invalid URI: Invalid host: 2001:067c:04e8:f002:0000:0000:0000:000a' in phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/amphp/uri/src/Uri.php:50 Stack trace: #0 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/ConnectionContext.php(125): Amp\Uri\Uri->__construct('tcp://2001:067c...') #1 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(534): danog\MadelineProto\Stream\ConnectionContext->setUri('tcp://2001:067c...') #2 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(308): danog\MadelineProto\DataCenter->generateContexts(2) #3 [internal function]: danog\MadelineProto\DataCenter::dcConnectAsync(2) #4 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(91): Generator->current() #5 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(228): danog\MadelineProto\Coroutine->__construct(Object(Generator)) #6 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(196): danog\MadelineProto\MTProto::call(Object(Generator)) #7 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProto.php(873): danog\MadelineProto\MTProto::all(Array) #8 [internal function]: danog\MadelineProto\MTProto::connect_to_all_dcs_async() #9 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(91): Generator->current() #10 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(156): danog\MadelineProto\Coroutine->__construct(Object(Generator)) #11 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/amphp/amp/lib/Internal/Placeholder.php(37): danog\MadelineProto\Coroutine->danog\MadelineProto\{closure}(NULL, Object(danog\MadelineProto\RSA)) #12 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(176): danog\MadelineProto\Coroutine->onResolve(Object(Closure)) #13 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(107): danog\MadelineProto\Coroutine->__construct(Object(Generator)) #14 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(249): danog\MadelineProto\Coroutine->__construct(Object(Generator)) #15 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Async/AsyncConstruct.php(47): danog\MadelineProto\MTProto::callFork(Object(Generator)) #16 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProto.php(284): danog\MadelineProto\Async\AsyncConstruct->setInitPromise(Object(Generator)) #17 [internal function]: danog\MadelineProto\MTProto->__wakeup() #18 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/API.php(76): unserialize('O:23:"danog\\Mad...') #19 [internal function]: danog\MadelineProto\API::__construct_async('session.madelin...', Array, Object(Amp\Deferred)) #20 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(91): Generator->current() #21 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(249): danog\MadelineProto\Coroutine->__construct(Object(Generator)) #22 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Async/AsyncConstruct.php(47): danog\MadelineProto\APIFactory::callFork(Object(Generator)) #23 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/API.php(43): danog\MadelineProto\Async\AsyncConstruct->setInitPromise(Object(Generator)) #24 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/magicalserializer/src/danog/Serializable.php(34): danog\MadelineProto\API->__magic_construct('session.madelin...') #25 /home/grecords/epicsoftware.ru/docs/index.php(7): danog\MadelineProto\API->__construct('session.madelin...') #26 {main} Next exception 'Error' with message 'Loop exceptionally stopped without resolving the promise' in phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php:183 Stack trace: #0 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/APIFactory.php(141): danog\MadelineProto\APIFactory::wait(Object(danog\MadelineProto\Coroutine)) #1 /home/grecords/epicsoftware.ru/docs/index.php(8): danog\MadelineProto\APIFactory->__call('start', Array) #2 /home/grecords/epicsoftware.ru/docs/index.php(8): danog\MadelineProto\API->start() #3 {main}
Fatal error: Uncaught exception 'Amp\Uri\InvalidDnsNameException' with message 'Name '2001:067c:04e8:f002:0000:0000:0000:000a' is not a valid hostname.' in phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/amphp/uri/src/functions.php:44 Stack trace: #0 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/amphp/uri/src/Uri.php(48): Amp\Uri\normalizeDnsName('2001:067c:04e8:...') #1 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/ConnectionContext.php(125): Amp\Uri\Uri->__construct('tcp://2001:067c...') #2 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(534): danog\MadelineProto\Stream\ConnectionContext->setUri('tcp://2001:067c...') #3 phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(308): danog\MadelineProto\DataCenter->generateContexts(2) #4 [internal function]: danog\MadelineProto\Data in phar:///home/grecords/epicsoftware.ru/docs/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php on line 183