Code Monkey home page Code Monkey logo

Comments (4)

edamov avatar edamov commented on May 27, 2024

@trevorgehman Could you please send the text of exception?

from pushok.

trevorgehman avatar trevorgehman commented on May 27, 2024

Sure thing. @edamov

We downgraded back to 0.14.2 and everything works properly again. We double checked to make sure it's not a caching issue as well.

InvalidArgumentException Unable to load the key. 
    vendor/web-token/jwt-key-mgmt/KeyConverter/KeyConverter.php:214 Jose\Component\KeyManagement\KeyConverter\KeyConverter::tryToLoadECKey
    vendor/web-token/jwt-key-mgmt/KeyConverter/KeyConverter.php:194 Jose\Component\KeyManagement\KeyConverter\KeyConverter::loadKeyFromPEM
    vendor/web-token/jwt-key-mgmt/KeyConverter/KeyConverter.php:122 Jose\Component\KeyManagement\KeyConverter\KeyConverter::loadFromKey
    vendor/web-token/jwt-key-mgmt/JWKFactory.php:281 Jose\Component\KeyManagement\JWKFactory::createFromKey
    vendor/edamov/pushok/src/AuthProvider/Token.php:195 Pushok\AuthProvider\Token::generatePrivateECKey
    vendor/edamov/pushok/src/AuthProvider/Token.php:240 Pushok\AuthProvider\Token::generate
    vendor/edamov/pushok/src/AuthProvider/Token.php:111 Pushok\AuthProvider\Token::create
    app/Services/Pushok/PushokClient.php:23 Clearstream\Services\Pushok\PushokClient::Clearstream\Services\Pushok\{closure}
    vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397 Illuminate\Cache\Repository::remember
    vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419 Illuminate\Cache\CacheManager::__call
    vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338 Illuminate\Support\Facades\Facade::__callStatic
    app/Services/Pushok/PushokClient.php:24 Clearstream\Services\Pushok\PushokClient::__construct
    [internal] ReflectionClass::newInstanceArgs
    vendor/laravel/framework/src/Illuminate/Container/Container.php:929 Illuminate\Container\Container::build
    vendor/laravel/framework/src/Illuminate/Container/Container.php:770 Illuminate\Container\Container::resolve
    vendor/laravel/framework/src/Illuminate/Foundation/Application.php:856 Illuminate\Foundation\Application::resolve
    vendor/laravel/framework/src/Illuminate/Container/Container.php:706 Illuminate\Container\Container::make
    vendor/laravel/framework/src/Illuminate/Foundation/Application.php:841 Illuminate\Foundation\Application::make
    vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:120 app
    vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:777 resolve
    app/Listeners/SendReplyIOsPushNotification.php:59 Clearstream\Listeners\SendReplyIOsPushNotification::handle
    vendor/laravel/framework/src/Illuminate/Events/CallQueuedListener.php:107 Illuminate\Events\CallQueuedListener::handle
    vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36 Illuminate\Container\BoundMethod::Illuminate\Container\{closure}
    vendor/laravel/framework/src/Illuminate/Container/Util.php:41 Illuminate\Container\Util::unwrapIfClosure
    vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93 Illuminate\Container\BoundMethod::callBoundMethod
    vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37 Illuminate\Container\BoundMethod::call
    vendor/laravel/framework/src/Illuminate/Container/Container.php:661 Illuminate\Container\Container::call
    vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php:128 Illuminate\Bus\Dispatcher::Illuminate\Bus\{closure}
    vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141 Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}
    vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116 Illuminate\Pipeline\Pipeline::then
    vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php:132 Illuminate\Bus\Dispatcher::dispatchNow
    vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php:124 Illuminate\Queue\CallQueuedHandler::Illuminate\Queue\{closure}
    vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141 Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}
    vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116 Illuminate\Pipeline\Pipeline::then
    vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php:126 Illuminate\Queue\CallQueuedHandler::dispatchThroughMiddleware
    vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php:70 Illuminate\Queue\CallQueuedHandler::call
    vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php:98 Illuminate\Queue\Jobs\Job::fire
    vendor/laravel/framework/src/Illuminate/Queue/Worker.php:425 Illuminate\Queue\Worker::process
    vendor/laravel/framework/src/Illuminate/Queue/Worker.php:375 Illuminate\Queue\Worker::runJob
    vendor/laravel/framework/src/Illuminate/Queue/Worker.php:173 Illuminate\Queue\Worker::daemon
    vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php:147 Illuminate\Queue\Console\WorkCommand::runWorker
    vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php:130 Illuminate\Queue\Console\WorkCommand::handle
    vendor/laravel/horizon/src/Console/WorkCommand.php:51 Laravel\Horizon\Console\WorkCommand::handle
    vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36 Illuminate\Container\BoundMethod::Illuminate\Container\{closure}
    vendor/laravel/framework/src/Illuminate/Container/Util.php:41 Illuminate\Container\Util::unwrapIfClosure
    vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93 Illuminate\Container\BoundMethod::callBoundMethod
    vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37 Illuminate\Container\BoundMethod::call
    vendor/laravel/framework/src/Illuminate/Container/Container.php:661 Illuminate\Container\Container::call
    vendor/laravel/framework/src/Illuminate/Console/Command.php:183 Illuminate\Console\Command::execute
    vendor/symfony/console/Command/Command.php:312 Symfony\Component\Console\Command\Command::run
    vendor/laravel/framework/src/Illuminate/Console/Command.php:153 Illuminate\Console\Command::run
    vendor/symfony/console/Application.php:1022 Symfony\Component\Console\Application::doRunCommand
    vendor/symfony/console/Application.php:314 Symfony\Component\Console\Application::doRun
    vendor/symfony/console/Application.php:168 Symfony\Component\Console\Application::run
    vendor/laravel/framework/src/Illuminate/Console/Application.php:102 Illuminate\Console\Application::run
    vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:155 Illuminate\Foundation\Console\Kernel::handle
    artisan:37 [main]

CleanShot 2023-02-03 at 08 38 20@2x

from pushok.

mha1der avatar mha1der commented on May 27, 2024

I had the same problem. I think the problem is v3.0 of jwt-key-mgmt - seems to be fixed with newer versions (web-token/jwt-key-mgmt@c2444ff)

from pushok.

paulandroshchuk avatar paulandroshchuk commented on May 27, 2024

Any chance this difference can be the reason?

CleanShot 2023-05-04 at 17 45 11@2x

from pushok.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.