Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curl Error (HTTP 0): getaddrinfo() thread failed to start #36

Open
Vitexus opened this issue Dec 19, 2023 · 0 comments
Open

Curl Error (HTTP 0): getaddrinfo() thread failed to start #36

Vitexus opened this issue Dec 19, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed invalid This doesn't seem right
Milestone

Comments

@Vitexus
Copy link
Collaborator

Vitexus commented Dec 19, 2023

There is some problem with curl and closing its open filedescriptors :(

PHP Warning:  include(/usr/share/php/AbraFlexi/Exception.php): Failed to open stream: Too many open files in /var/lib/composer/discomp2abraflexi/composer/ClassLoader.php on line 576
PHP Stack trace:
PHP   1. {main}() /usr/share/discomp2abraflexi/discomp2abraflexi.php:0
PHP   2. SpojeNet\\Discomp\\Importer->freshItems() /usr/share/discomp2abraflexi/discomp2abraflexi.php:34
PHP   3. SpojeNet\\Discomp\\Importer->prepareCategories($categoriesRaw = [0 => \'Druhy > Počítače > PC komponenty > Paměti > DDR4 > 4GB\', 1 => \'Vyrobci - WEB > TRANSCEND > Počítače > PC komponenty > Paměti > DDR4 > 4GB\']) /usr/share/discomp2abraflexi/Discomp/Importer.php:284
PHP   4. SpojeNet\\Discomp\\Importer->categoryBranch($nodes = [0 => \'Discomp\', 1 => \'Vyrobci - WEB\', 2 => \'TRANSCEND\', 3 => \'Počítače\', 4 => \'PC komponenty\', 5 => \'Paměti\', 6 => \'DDR4\', 7 => \'4GB\']) /usr/share/discomp2abraflexi/Discomp/Importer.php:543
PHP   5. SpojeNet\\Discomp\\Importer->createBranchNode($node = \'Discomp\', $level = 0, $parent = \'\', $kod = \'39797b8d0f122a4f69bd1d29c202b691\') /usr/share/discomp2abraflexi/Discomp/Importer.php:559
PHP   6. AbraFlexi\\RO->__construct($init = \'code:39797B8D0F122A4F69BD1D29C202B6\', $options = [\'ignore404\' => TRUE]) /usr/share/discomp2abraflexi/Discomp/Importer.php:582
PHP   7. AbraFlexi\\RO->processInit($init = \'code:39797B8D0F122A4F69BD1D29C202B6\') /usr/share/php/AbraFlexi/RO.php:438
PHP   8. AbraFlexi\\RO->loadFromAbraFlexi($id = \'code:39797B8D0F122A4F69BD1D29C202B6\') /usr/share/php/AbraFlexi/RO.php:635
PHP   9. AbraFlexi\\RO->getFlexiData($suffix = \'https://server:5434/c/company/strom/code:39797B8D0F122A4F69BD1D29C202B6\', $conditions = \'\') /usr/share/php/AbraFlexi/RO.php:1558
PHP  10. AbraFlexi\\RO->performRequest($urlSuffix = \'https://server:5434/c/company/strom/code:39797B8D0F122A4F69BD1D29C202B6\', $method = \'GET\', $format = *uninitialized*) /usr/share/php/AbraFlexi/RO.php:1522
PHP  11. AbraFlexi\\RO->doCurlRequest($url = \'https://server:5434/c/company/strom/code:39797B8D0F122A4F69BD1D29C202B6\', $method = \'GET\', $format = NULL) /usr/share/php/AbraFlexi/RO.php:997
PHP  12. Composer\\Autoload\\ClassLoader->loadClass($class = \'AbraFlexi\\\\Exception\') /usr/share/php/AbraFlexi/RO.php:1302
PHP  13. Composer\\Autoload\\{closure:/var/lib/composer/discomp2abraflexi/composer/ClassLoader.php:575-577}($file = \'/var/lib/composer/discomp2abraflexi/composer/../deb/abraflexi/Exception.php\') /var/lib/composer/discomp2abraflexi/composer/ClassLoader.php:427

https://github.com/Spoje-NET/discomp2abraflexi

@Vitexus Vitexus added bug Something isn't working help wanted Extra attention is needed invalid This doesn't seem right labels Dec 19, 2023
@Vitexus Vitexus added this to the Generation 3 milestone Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant