-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hello there,
Have been using your services for at least 5 years now and still getting the same error over and over.
I already reported it here.
Updated to latest version.
Cleared the cache of platform cli.
Removed the folder platformsh-cli-tmp.
Uninstall / Reinstall.
I'm under Windows 11 using Scoop.
Nothing solve this issue. Very annoying.
How to fix that please?
PS C:\Users\flore\Documents\Projects\SalesMind Ai\app-repositories\app-backend> platform ssh
Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/process/Pipes/WindowsPipes.php:74
Stack trace:
#0 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/process/Pipes/WindowsPipes.php(74): fclose(false)
#1 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/process/Process.php(1371): Symfony\Component\Process\Pipes\WindowsPipes->__construct('platformsh-cli/...', true)
#2 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/process/Process.php(281): Symfony\Component\Process\Process->getDescriptors()
#3 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/process/Process.php(209): Symfony\Component\Process\Process->start(Object(Closure), NULL)
#4 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/process/Process.php(234): Symfony\Component\Process\Process->run(Object(Closure), NULL)
#5 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Service/Shell.php(251): Symfony\Component\Process\Process->mustRun(Object(Closure))
#6 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Service/Shell.php(97): Platformsh\Cli\Service\Shell->runProcess(Object(Symfony\Component\Process\Process), true, true)
#7 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/CredentialHelper/Manager.php(366): Platformsh\Cli\Service\Shell->execute(Array, NULL, true, true, Array, 10, 'platformsh-cli/...')
#8 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/CredentialHelper/Manager.php(115): Platformsh\Cli\CredentialHelper\Manager->exec('get', 'platformsh-cli/...')
#9 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/ApiToken/CredentialHelperStorage.php(30): Platformsh\Cli\CredentialHelper\Manager->get('platformsh-cli/...')
#10 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Service/TokenConfig.php(34): Platformsh\Cli\ApiToken\CredentialHelperStorage->getToken()
#11 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Service/Api.php(279): Platformsh\Cli\Service\TokenConfig->getApiToken()
#12 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Service/Api.php(549): Platformsh\Cli\Service\Api->getConnectorOptions()
#13 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Service/Api.php(741): Platformsh\Cli\Service\Api->getClient()
#14 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Command/CommandBase.php(714): Platformsh\Cli\Service\Api->getProject('msflakp542qhi', NULL)
#15 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Command/CommandBase.php(1065): Platformsh\Cli\Command\CommandBase->getCurrentProject()
#16 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Command/CommandBase.php(1621): Platformsh\Cli\Command\CommandBase->selectProject(NULL, NULL, true)
#17 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Command/Environment/EnvironmentSshCommand.php(44): Platformsh\Cli\Command\CommandBase->validateInput(Object(Symfony\Component\Console\Input\ArgvInput))
#18 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/console/Command/Command.php(255): Platformsh\Cli\Command\Environment\EnvironmentSshCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/console/Application.php(1010): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/src/Application.php(434): Symfony\Component\Console\Application->doRunCommand(Object(Platformsh\Cli\Command\Environment\EnvironmentSshCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/console/Application.php(255): Platformsh\Cli\Application->doRunCommand(Object(Platformsh\Cli\Command\Environment\EnvironmentSshCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/bin/platform(37): Symfony\Component\Console\Application->run()
#24 C:\Users\flore\AppData\Local\Temp\platformsh-cli-tmp\legacy-8.2.29-4.27.0\platform.phar(10): require('phar://C:/Users...')
#25 {main}
thrown in phar://C:/Users/flore/AppData/Local/Temp/platformsh-cli-tmp/legacy-8.2.29-4.27.0/platform.phar/vendor/symfony/process/Pipes/WindowsPipes.php on line 74
Thanks
Metadata
Metadata
Assignees
Labels
No labels