tester17 Posted December 17, 2023 Share Posted December 17, 2023 (edited) Здравствуйте уважаемые гуру! Помогите чайнику в таком вопросе. Установил Entware с Debian chroot. Все отлично - работает opkg и apt, запросы из curl и wget.. а вот из любых скриптов типа php или node.js - нет. node.js FetchError: request to https://api.telegram.org/bot6675304532:[REDACTED]/sendMessage failed, reason: connect ETIMEDOUT 2001:67c:4e8:f004::9:443 at ClientRequest.<anonymous> (/opt/home/test/node_modules/node-fetch/lib/index.js:1501:11) at ClientRequest.emit (node:events:514:28) at TLSSocket.socketErrorListener (node:_http_client:501:9) at TLSSocket.emit (node:events:514:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { type: 'system', errno: 'ETIMEDOUT', code: 'ETIMEDOUT' } php PHP Warning: file_get_contents(https://google.com): Failed to open stream: Connection timed out in /opt/home/1.php on line 3 Соответственно не работает тот же npm. Характеристики системы Цитата Linux Keenetic_Extra 3.4.113 #1 Tue Oct 17 19:21:49 MSK 2017 mips GNU/Linux Список установленных пакетов Цитата ar busybox ca-bundle coreutils coreutils-chroot coreutils-readlink coreutils-sha1sum cron curl debootstrap dropbear entware-release findutils glib2 grep jsonfilter ldconfig libatomic libattr libbfd libblkid libc libcares libcurl libffi libgcc libiconv-full libintl-full libjson-c liblzma libmbedtls libmount libnghttp2 libopenssl libopenssl-conf libpcre2 libpthread librt libslang2 libsmartcols libssh2 libssp libstdcpp libubox libuuid libuv locales mc mount-utils node node-npm openssl-util opkg opt-ndmsv2 poorbox sudo terminfo wget-nossl wget-ssl xz xz-utils zlib zoneinfo-asia zoneinfo-core zoneinfo-europe Помогите, пожалуйста, ибо уже весь мозг сломал. Заранее спасибо! Edited December 17, 2023 by tester17 Quote Link to comment Share on other sites More sharing options...
tester17 Posted December 17, 2023 Author Share Posted December 17, 2023 забыл уточнить - openssl стоит OpenSSL 3.0.10 1 Aug 2023 (Library: OpenSSL 3.0.10 1 Aug 2023) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.