amphp / dns

Async DNS resolution for PHP based on Amp.
https://amphp.org/dns
MIT License
159 stars 32 forks source link

CreateProcess failed, error 193 #91

Closed Knocks83 closed 1 year ago

Knocks83 commented 5 years ago

Hi! OS: Windows 10 Pro 18362 PHP Version: 7.3.8 Thread Safe

I'm sorry but I cannot give you a lot of infos since the program I'm using wasn't made by me, the person who made it is @danog and the program is MadelineProto

Full output:

#0 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/process/lib/Process.php(108): Amp\Process\Internal\Windows\Runner->start('reg query "HKEY...', '', Array, Array)
#1 [internal function]: Amp\Process\Process->Amp\Process\{closure}()
#2 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#3 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#4 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/process/lib/Process.php(110): Amp\call(Object(Closure))
#5 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/windows-registry/lib/WindowsRegistry.php(65): Amp\Process\Process->start()
#6 [internal function]: Amp\WindowsRegistry\WindowsRegistry->Amp\WindowsRegistry\{closure}()
#7 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#8 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#9 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/windows-registry/lib/WindowsRegistry.php(75): Amp\call(Object(Closure))
#10 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/windows-registry/lib/WindowsRegistry.php(21): Amp\WindowsRegistry\WindowsRegistry->query('HKEY_LOCAL_MACH...')
#11 [internal function]: Amp\WindowsRegistry\WindowsRegistry->Amp\WindowsRegistry\{closure}()
#12 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#13 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#14 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/windows-registry/lib/WindowsRegistry.php(38): Amp\call(Object(Closure))
#15 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/dns/lib/WindowsConfigLoader.php(32): Amp\WindowsRegistry\WindowsRegistry->read('HKEY_LOCAL_MACH...')
#16 [internal function]: Amp\Dns\WindowsConfigLoader->Amp\Dns\{closure}()
#17 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#18 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#19 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/dns/lib/WindowsConfigLoader.php(82): Amp\call(Object(Closure))
#20 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/dns/lib/Rfc1035StubResolver.php(217): Amp\Dns\WindowsConfigLoader->loadConfig()
#21 [internal function]: Amp\Dns\Rfc1035StubResolver->Amp\Dns\{closure}()
#22 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#23 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#24 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/dns/lib/Rfc1035StubResolver.php(219): Amp\call(Object(Closure))
#25 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/dns-over-https/lib/Rfc8484StubResolver.php(189): Amp\Dns\Rfc1035StubResolver->reloadConfig()
#26 [internal function]: Amp\DoH\Rfc8484StubResolver->Amp\DoH\{closure}()
#27 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#28 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#29 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/dns-over-https/lib/Rfc8484StubResolver.php(191): Amp\call(Object(Closure))
#30 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/dns-over-https/lib/Rfc8484StubResolver.php(75): Amp\DoH\Rfc8484StubResolver->reloadConfig()
#31 [internal function]: Amp\DoH\Rfc8484StubResolver->Amp\DoH\{closure}()
#32 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#33 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#34 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/dns-over-https/lib/Rfc8484StubResolver.php(172): Amp\call(Object(Closure))
#35 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(246): Amp\DoH\Rfc8484StubResolver->resolve('my.telegram.org', NULL)
#36 [internal function]: danog\MadelineProto\DataCenter->danog\MadelineProto\{closure}()
#37 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#38 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#39 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(336): Amp\call(Object(Closure))
#40 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(564): danog\MadelineProto\DataCenter->socketConnect(Object(danog\MadelineProto\Stream\ConnectionContext), 'tcp://my.telegr...', Object(Amp\Socket\ClientConnectContext), Object(Amp\Artax\Internal\CombinedCancellationToken))
#41 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/Transport/DefaultStream.php(63): danog\MadelineProto\DataCenter->danog\MadelineProto\{closure}('tcp://my.telegr...', Object(Amp\Socket\ClientConnectContext), Object(Amp\Artax\Internal\CombinedCancellationToken))
#42 [internal function]: danog\MadelineProto\Stream\Transport\DefaultStream->connectAsync(Object(danog\MadelineProto\Stream\ConnectionContext), '')
#43 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(95): Generator->current()
#44 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(256): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#45 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/Async/Stream.php(38): danog\MadelineProto\Stream\Transport\DefaultStream::call(Object(Generator))
#46 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/ConnectionContext.php(361): danog\MadelineProto\Stream\Transport\DefaultStream->connect(Object(danog\MadelineProto\Stream\ConnectionContext), '')
#47 [internal function]: danog\MadelineProto\Stream\ConnectionContext->getStream('')
#48 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(95): Generator->current()
#49 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(113): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#50 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(256): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#51 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/Async/Stream.php(38): danog\MadelineProto\Stream\Common\BufferedRawStream::call(Object(Generator))
#52 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/ConnectionContext.php(361): danog\MadelineProto\Stream\Common\BufferedRawStream->connect(Object(danog\MadelineProto\Stream\ConnectionContext), '')
#53 [internal function]: danog\MadelineProto\Stream\ConnectionContext->getStream()
#54 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(95): Generator->current()
#55 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(113): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#56 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(256): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#57 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/ProxySocketPool.php(132): danog\MadelineProto\ProxySocketPool::call(Object(Generator))
#58 [internal function]: danog\MadelineProto\ProxySocketPool->danog\MadelineProto\{closure}()
#59 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#60 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#61 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/ProxySocketPool.php(155): Amp\call(Object(Closure))
#62 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/ProxySocketPool.php(104): danog\MadelineProto\ProxySocketPool->checkoutNewSocket('tcp://my.telegr...', Object(Amp\Artax\Internal\CombinedCancellationToken))
#63 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/HttpSocketPool.php(78): danog\MadelineProto\ProxySocketPool->checkout('tcp://my.telegr...', Object(Amp\Artax\Internal\CombinedCancellationToken))
#64 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/DefaultClient.php(420): Amp\Artax\HttpSocketPool->checkout('https://my.tele...', Object(Amp\Artax\Internal\CombinedCancellationToken))
#65 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/DefaultClient.php(202): Amp\Artax\DefaultClient->doWrite(Object(Amp\Artax\Internal\RequestCycle))
#66 [internal function]: Amp\Artax\DefaultClient->Amp\Artax\{closure}()
#67 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#68 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#69 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(91): Amp\call(Object(Closure))
#70 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/DefaultClient.php(206): Amp\asyncCall(Object(Closure))
#71 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/DefaultClient.php(116): Amp\Artax\DefaultClient->doRequest(Object(Amp\Artax\Request), Object(Amp\Uri\Uri), Array, NULL, Object(Amp\NullCancellationToken))
#72 [internal function]: Amp\Artax\DefaultClient->Amp\Artax\{closure}()
#73 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(105): Generator->send(21)
#74 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Success.php(36): Amp\Coroutine->Amp\{closure}(NULL, Array)
#75 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(138): Amp\Success->onResolve(Object(Closure))
#76 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#77 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/DefaultClient.php(172): Amp\call(Object(Closure))
#78 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MyTelegramOrgWrapper.php(80): Amp\Artax\DefaultClient->request(Object(Amp\Artax\Request))
#79 [internal function]: danog\MadelineProto\MyTelegramOrgWrapper->login_async('pn')
#80 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(95): Generator->current()
#81 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(165): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#82 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Internal/Placeholder.php(130): danog\MadelineProto\Coroutine->danog\MadelineProto\{closure}(NULL, 'pn')
#83 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(156): danog\MadelineProto\Coroutine->resolve('pn')
#84 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Internal/Placeholder.php(130): danog\MadelineProto\Coroutine->danog\MadelineProto\{closure}(NULL, 'pn\r\n')
#85 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Deferred.php(45): class@anonymous->resolve('pn\r\n')
#86 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/byte-stream/lib/ResourceInputStream.php(107): Amp\Deferred->resolve('pn\r\n')
#87 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Loop/Driver.php(116): Amp\ByteStream\ResourceInputStream::Amp\ByteStream\{closure}('n', 'pn\r\n')
#88 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Loop/Driver.php(72): Amp\Loop\Driver->tick()
#89 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Loop.php(84): Amp\Loop\Driver->run()
#90 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(199): Amp\Loop::run(Object(Closure))
#91 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/APIFactory.php(147): danog\MadelineProto\APIFactory::wait(Object(danog\MadelineProto\Coroutine))
#92 C:\Users\Knocks\OneDrive\Programming\Bot\Loggerbot\bot.php(37): danog\MadelineProto\APIFactory->__call('loop', Array)
#93 {main}
DataCenter:             Connection failed: Amp\Process\ProcessException: Could not start process Errno: 2; proc_open(): CreateProcess failed, error code - 193 in phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/process/lib/Internal/Windows/Runner.php:92
Stack trace:
#0 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/process/lib/Process.php(108): Amp\Process\Internal\Windows\Runner->start('reg query "HKEY...', '', Array, Array)
#1 [internal function]: Amp\Process\Process->Amp\Process\{closure}()
#2 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#3 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#4 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/process/lib/Process.php(110): Amp\call(Object(Closure))
#5 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/windows-registry/lib/WindowsRegistry.php(65): Amp\Process\Process->start()
#6 [internal function]: Amp\WindowsRegistry\WindowsRegistry->Amp\WindowsRegistry\{closure}()
#7 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#8 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#9 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/windows-registry/lib/WindowsRegistry.php(75): Amp\call(Object(Closure))
#10 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/windows-registry/lib/WindowsRegistry.php(21): Amp\WindowsRegistry\WindowsRegistry->query('HKEY_LOCAL_MACH...')
#11 [internal function]: Amp\WindowsRegistry\WindowsRegistry->Amp\WindowsRegistry\{closure}()
#12 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#13 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#14 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/windows-registry/lib/WindowsRegistry.php(38): Amp\call(Object(Closure))
#15 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/dns/lib/WindowsConfigLoader.php(32): Amp\WindowsRegistry\WindowsRegistry->read('HKEY_LOCAL_MACH...')
#16 [internal function]: Amp\Dns\WindowsConfigLoader->Amp\Dns\{closure}()
#17 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#18 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#19 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/dns/lib/WindowsConfigLoader.php(82): Amp\call(Object(Closure))
#20 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/dns/lib/Rfc1035StubResolver.php(217): Amp\Dns\WindowsConfigLoader->loadConfig()
#21 [internal function]: Amp\Dns\Rfc1035StubResolver->Amp\Dns\{closure}()
#22 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#23 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#24 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/dns/lib/Rfc1035StubResolver.php(219): Amp\call(Object(Closure))
#25 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/dns-over-https/lib/Rfc8484StubResolver.php(189): Amp\Dns\Rfc1035StubResolver->reloadConfig()
#26 [internal function]: Amp\DoH\Rfc8484StubResolver->Amp\DoH\{closure}()
#27 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#28 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#29 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/dns-over-https/lib/Rfc8484StubResolver.php(191): Amp\call(Object(Closure))
#30 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/dns-over-https/lib/Rfc8484StubResolver.php(75): Amp\DoH\Rfc8484StubResolver->reloadConfig()
#31 [internal function]: Amp\DoH\Rfc8484StubResolver->Amp\DoH\{closure}()
#32 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#33 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#34 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/dns-over-https/lib/Rfc8484StubResolver.php(172): Amp\call(Object(Closure))
#35 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(246): Amp\DoH\Rfc8484StubResolver->resolve('my.telegram.org', NULL)
#36 [internal function]: danog\MadelineProto\DataCenter->danog\MadelineProto\{closure}()
#37 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#38 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#39 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(336): Amp\call(Object(Closure))
#40 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/DataCenter.php(564): danog\MadelineProto\DataCenter->socketConnect(Object(danog\MadelineProto\Stream\ConnectionContext), 'tcp://my.telegr...', Object(Amp\Socket\ClientConnectContext), Object(Amp\Artax\Internal\CombinedCancellationToken))
#41 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/Transport/DefaultStream.php(63): danog\MadelineProto\DataCenter->danog\MadelineProto\{closure}('tcp://my.telegr...', Object(Amp\Socket\ClientConnectContext), Object(Amp\Artax\Internal\CombinedCancellationToken))
#42 [internal function]: danog\MadelineProto\Stream\Transport\DefaultStream->connectAsync(Object(danog\MadelineProto\Stream\ConnectionContext), '')
#43 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(95): Generator->current()
#44 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(256): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#45 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/Async/Stream.php(38): danog\MadelineProto\Stream\Transport\DefaultStream::call(Object(Generator))
#46 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/ConnectionContext.php(361): danog\MadelineProto\Stream\Transport\DefaultStream->connect(Object(danog\MadelineProto\Stream\ConnectionContext), '')
#47 [internal function]: danog\MadelineProto\Stream\ConnectionContext->getStream('')
#48 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(95): Generator->current()
#49 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(113): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#50 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(256): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#51 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/Async/Stream.php(38): danog\MadelineProto\Stream\Common\BufferedRawStream::call(Object(Generator))
#52 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Stream/ConnectionContext.php(361): danog\MadelineProto\Stream\Common\BufferedRawStream->connect(Object(danog\MadelineProto\Stream\ConnectionContext), '')
#53 [internal function]: danog\MadelineProto\Stream\ConnectionContext->getStream()
#54 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(95): Generator->current()
#55 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(165): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#56 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Failure.php(29): danog\MadelineProto\Coroutine->danog\MadelineProto\{closure}(Object(Amp\Process\ProcessException), NULL)
#57 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Internal/Placeholder.php(38): Amp\Failure->onResolve(Object(Closure))
#58 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(182): danog\MadelineProto\Coroutine->onResolve(Object(Closure))
#59 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(256): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#60 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/ProxySocketPool.php(132): danog\MadelineProto\ProxySocketPool::call(Object(Generator))
#61 [internal function]: danog\MadelineProto\ProxySocketPool->danog\MadelineProto\{closure}()
#62 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#63 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#64 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/ProxySocketPool.php(155): Amp\call(Object(Closure))
#65 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/ProxySocketPool.php(104): danog\MadelineProto\ProxySocketPool->checkoutNewSocket('tcp://my.telegr...', Object(Amp\Artax\Internal\CombinedCancellationToken))
#66 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/HttpSocketPool.php(78): danog\MadelineProto\ProxySocketPool->checkout('tcp://my.telegr...', Object(Amp\Artax\Internal\CombinedCancellationToken))
#67 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/DefaultClient.php(420): Amp\Artax\HttpSocketPool->checkout('https://my.tele...', Object(Amp\Artax\Internal\CombinedCancellationToken))
#68 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/DefaultClient.php(202): Amp\Artax\DefaultClient->doWrite(Object(Amp\Artax\Internal\RequestCycle))
#69 [internal function]: Amp\Artax\DefaultClient->Amp\Artax\{closure}()
#70 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(60): Generator->current()
#71 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#72 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(91): Amp\call(Object(Closure))
#73 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/DefaultClient.php(206): Amp\asyncCall(Object(Closure))
#74 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/DefaultClient.php(116): Amp\Artax\DefaultClient->doRequest(Object(Amp\Artax\Request), Object(Amp\Uri\Uri), Array, NULL, Object(Amp\NullCancellationToken))
#75 [internal function]: Amp\Artax\DefaultClient->Amp\Artax\{closure}()
#76 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(105): Generator->send(21)
#77 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Success.php(36): Amp\Coroutine->Amp\{closure}(NULL, Array)
#78 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Coroutine.php(138): Amp\Success->onResolve(Object(Closure))
#79 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/functions.php(66): Amp\Coroutine->__construct(Object(Generator))
#80 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/artax/lib/DefaultClient.php(172): Amp\call(Object(Closure))
#81 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MyTelegramOrgWrapper.php(80): Amp\Artax\DefaultClient->request(Object(Amp\Artax\Request))
#82 [internal function]: danog\MadelineProto\MyTelegramOrgWrapper->login_async('pn')
#83 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(95): Generator->current()
#84 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(165): danog\MadelineProto\Coroutine->__construct(Object(Generator))
#85 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Internal/Placeholder.php(130): danog\MadelineProto\Coroutine->danog\MadelineProto\{closure}(NULL, 'pn')
#86 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php(156): danog\MadelineProto\Coroutine->resolve('pn')
#87 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Internal/Placeholder.php(130): danog\MadelineProto\Coroutine->danog\MadelineProto\{closure}(NULL, 'pn\r\n')
#88 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Deferred.php(45): class@anonymous->resolve('pn\r\n')
#89 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/byte-stream/lib/ResourceInputStream.php(107): Amp\Deferred->resolve('pn\r\n')
#90 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Loop/Driver.php(116): Amp\ByteStream\ResourceInputStream::Amp\ByteStream\{closure}('n', 'pn\r\n')
#91 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Loop/Driver.php(72): Amp\Loop\Driver->tick()
#92 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/amphp/amp/lib/Loop.php(84): Amp\Loop\Driver->run()
#93 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php(199): Amp\Loop::run(Object(Closure))
#94 phar://C:/Users/Knocks/OneDrive/Programming/Bot/Loggerbot/madeline.phar/vendor/danog/madelineproto/src/danog/MadelineProto/APIFactory.php(147): danog\MadelineProto\APIFactory::wait(Object(danog\MadelineProto\Coroutine))
#95 C:\Users\Knocks\OneDrive\Programming\Bot\Loggerbot\bot.php(37): danog\MadelineProto\APIFactory->__call('loop', Array)
#96 {main}
trowski commented 5 years ago

Ping @DaveRandom: Any idea why CreateProcess would be failing here?

itajackass commented 4 years ago

Any fix?i'm in the same error

kelunik commented 4 years ago

Do you use the 32 bit or 64 bit version?

itajackass commented 4 years ago

I have win64bit. And tried wamp 32 and 64bit version also

trowski commented 4 years ago

@itajackass Can you please try replacing vendor/amphp/windows-registry/lib/WindowsRegistry.php with this file. That version does a blocking read of the registry if creating the async process fails. I'm just curious to see if that works at all.

itajackass commented 4 years ago

I can try in a fresh project... But i can't try when i try to use madelineproto cause these file i think are part of a .phar file