Open michelepatrassi opened 5 years ago
@Iar0 I've tried to simulate this error, but this error does not occurs on my machine
@Iar0 i think there is some stack trace missing? that cant be all right ? :P
@OGKevin I still had the terminal open, there was no more.
I tried to run the command again with a fresh folder and installation, now I get a different error:
Fatal error: Uncaught bunq\Exception\BunqException: Generating a new private key failed. See "http://php.net/manual/en/function.openssl-pkey-new.php" for more info. in /Users/michele/dev/tmi/testphp/vendor/bunq/sdk_php/src/Security/KeyPair.php:66 Stack trace:
0 /Users/michele/dev/tmi/testphp/vendor/bunq/sdk_php/src/Context/ApiContext.php(143): bunq\Security\KeyPair::generate()
1 [internal function]: bunq\Context\ApiContext->initializeInstallationContext()
2 /Users/michele/dev/tmi/testphp/vendor/bunq/sdk_php/src/Util/InstallationUtil.php(271): ReflectionMethod->invoke(Object(bunq\Context\ApiContext))
3 /Users/michele/dev/tmi/testphp/src/BunqLib.php(117): bunq\Util\InstallationUtil::automaticInstall(Object(bunq\Util\BunqEnumApiEnvironmentType), 'bunq-sandbox.co...')
4 /Users/michele/dev/tmi/testphp/src/BunqLib.php(99): bunq\tinker\BunqLib->setupContext()
5 /Users/michele/dev/tmi/testphp/tinker/user-overview.php(14): bunq\tinker\BunqLib->__construct(Object(bunq\Util\BunqEnumApiEnvironmentType))
6 {main}
thrown in /Users/michele/dev/tmi/testphp/vendor/bunq/sdk_php/src/Security/KeyPair.php on line 66
am I missing something?
Steps to reproduce:
bash <(curl -s https://tinker.bunq.com/php/setup.sh)
tinker/user-overview.php
What should happen:
What happens:
Returns a fatal error
Traceback
SDK version and environment
Response id
Additional info
I just tried the java tinker and I successfully created an account, so it sounds like a problem for this SDK and not a server error