Open 4n70w4 opened 4 years ago
Hi! Sorry I missed this completely, the Github - Telegram integration didn't seem to work and I see this just now.
This is strange, I see no strange code. What version of React HTTP do you have installed?
composer show --installed | grep react
You are using the deprecated option "installed". Only installed packages are shown by default now. The --all option can be used to show all packages.
clue/block-react v1.3.1 Lightweight library that eases integrating async components built for ReactPHP in a traditional, blocking environment.
clue/socks-react v1.0.0 Async SOCKS proxy connector client and server implementation, tunnel any TCP/IP-based protocol through a SOCKS5 or SOCKS4(a) proxy server, built on top of ReactPHP.
react/cache v1.0.0 Async, Promise-based cache interface for ReactPHP
react/dns v1.2.0 Async DNS resolver for ReactPHP
react/event-loop v1.1.1 ReactPHP's core reactor event loop that libraries can use for evented I/O.
react/http-client v0.5.10 Event-driven, streaming HTTP client for ReactPHP
react/promise v2.8.0 A lightweight implementation of CommonJS Promises/A for PHP
react/promise-timer v1.5.1 A trivial implementation of timeouts for Promises, built on top of ReactPHP.
react/socket v1.4.0 Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP
react/stream v1.1.1 Event-driven readable and writable streams for non-blocking I/O in ReactPHP
@4n70w4 Looks like this should be fixed as of https://github.com/reactphp/socket/releases/tag/v1.5.0, in particular https://github.com/reactphp/socket/pull/230, https://github.com/reactphp/socket/pull/231 and https://github.com/reactphp/socket/pull/232 :+1:
Which version are you using?
Description of problem
Example https://github.com/unreal4u/telegram-api/blob/master/examples/00.send-message-amp.php works without proxy.
And wget works without proxy
But example https://github.com/unreal4u/telegram-api/blob/master/examples/00.send-message.php don't work without proxy
But it works only with proxy: