Comments (4)
@trevorgehman Could you please send the text of exception?
from pushok.
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]
from pushok.
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.
Any chance this difference can be the reason?
from pushok.
Related Issues (20)
- Error on installation HOT 4
- VoIP pem certificates don't work HOT 1
- Target [Pushok\AuthProviderInterface] is not instantiable while building [Pushok\Client]
- BadDeviceTokenThe specified device token was bad. Verify that the request contains a valid token and that the token matches the environment HOT 3
- Support PHP 8
- Uncaught Exception HOT 3
- Package spomky-labs/jose is abandoned, you should avoid using it. Use web-token/jwt-framework instead. HOT 1
- Deprecation notices with PHP 8.1 HOT 4
- Question: Push Notifications for PkPass Updates HOT 8
- send a notification on a chosen date HOT 1
- Updating a badge HOT 1
- Support for creating WeatherKit JWT tokens
- The `Alert` option is set in the code but there is no Alert on the phone
- Package fgrosse/phpasn1 is abandoned HOT 2
- Live Activities Supported? HOT 3
- Laravel Vapor - HTTP/2 stream 15 was not closed cleanly before end of the underlying stream HOT 3
- 0.15.x is no longer compatible with PHP 8.0 HOT 4
- HTTP/2 stream was not closed cleanly: REFUSED STREAM HOT 9
- Sending `Alert` as `Background` due to `content-available` set HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pushok.