Comments (6)
@salahhusa9 if Azure Redis works via predis
or phpredis
than it will already be supported.
If it does not you will need to build your own Ingest
instance that supports it.
from pulse.
root@3e4a92a78ea6:/home/site/wwwroot# php artisan pulse:check
[2023-12-05 09:37:15] production.ERROR: Connection refused {"exception":"[object] (RedisException(code: 0): Connection refused at /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:161)
[stacktrace]
#0 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(161): Redis->connect('127.0.0.1', '6379', 0.0, NULL, 0, 0.0)
#1 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(90): Illuminate\\Redis\\Connectors\\PhpRedisConnector->establishConnection(Object(Redis), Array)
#2 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Support/helpers.php(307): Illuminate\\Redis\\Connectors\\PhpRedisConnector->Illuminate\\Redis\\Connectors\\{closure}(Object(Redis))
#3 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(81): tap(Object(Redis), Object(Closure))
#4 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(33): Illuminate\\Redis\\Connectors\\PhpRedisConnector->createClient(Array)
#5 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(38): Illuminate\\Redis\\Connectors\\PhpRedisConnector->Illuminate\\Redis\\Connectors\\{closure}()
#6 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php(110): Illuminate\\Redis\\Connectors\\PhpRedisConnector->connect(Array, Array)
#7 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php(91): Illuminate\\Redis\\RedisManager->resolve('default')
#8 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(340): Illuminate\\Redis\\RedisManager->connection('default')
#9 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(209): Illuminate\\Cache\\RedisStore->lockConnection()
#10 /home/site/wwwroot/vendor/laravel/pulse/src/Commands/CheckCommand.php(70): Illuminate\\Cache\\RedisStore->lock('laravel:pulse:c...', 5)
#11 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Laravel\\Pulse\\Commands\\CheckCommand->handle(Object(Laravel\\Pulse\\Pulse), Object(Laravel\\Pulse\\Support\\CacheStoreResolver), Object(Illuminate\\Events\\Dispatcher))
#12 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#13 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#14 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#15 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#16 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array)
#17 /home/site/wwwroot/vendor/symfony/console/Command/Command.php(326): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#18 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#19 /home/site/wwwroot/vendor/symfony/console/Application.php(1081): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#20 /home/site/wwwroot/vendor/symfony/console/Application.php(320): Symfony\\Component\\Console\\Application->doRunCommand(Object(Laravel\\Pulse\\Commands\\CheckCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#21 /home/site/wwwroot/vendor/symfony/console/Application.php(174): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#22 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#23 /home/site/wwwroot/artisan(35): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#24 {main}
"}
RedisException
Connection refused
at vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:161
157▕ if (version_compare(phpversion('redis'), '5.3.0', '>=') && ! is_null($context = Arr::get($config, 'context'))) {
158▕ $parameters[] = $context;
159▕ }
160▕
➜ 161▕ $client->{$persistent ? 'pconnect' : 'connect'}(...$parameters);
162▕ }
163▕
164▕ /**
165▕ * Create a new redis cluster instance.
+23 vendor frames
24 artisan:35
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
from pulse.
i want to change connection, if i do it with PULSE_REDIS_CONNECTION
the don't tack it, he use defult redis connection @timacdonald
from pulse.
and olso if i change PULSE_CACHE_DRIVER
he don't work he stile connect to defult
from pulse.
(in my project CACHE_DRIVER
is azure_redis, but pulse he stile use default
(in config/database.php)
from pulse.
i solved, problem is in lock:
//cache.php
'redis' => [
'driver' => 'redis',
'connection' => 'cache',
'lock_connection' => 'default',
],
'azure_redis' => [
'driver' => 'redis',
'connection' => 'azure_cache',
'lock_connection' => 'default',
],
solution must be change lock_connection
//cache.php
'redis' => [
'driver' => 'redis',
'connection' => 'cache',
'lock_connection' => 'default',
],
'azure_redis' => [
'driver' => 'redis',
'connection' => 'azure_cache',
'lock_connection' => 'azure_cache',
],
from pulse.
Related Issues (20)
- Enhancement Request: Customizable Context Tags for Monitoring Entries. HOT 1
- Dashboard with empty screen HOT 2
- Pulse Scalability rocks! - extract Pulse data repository? HOT 1
- Change logo for the dark theme HOT 1
- Integrate Pulse into Nova? HOT 1
- TypeError in `Pulse::rememberUser()` (Logout Event) HOT 1
- 500 Server Error displaying HOT 1
- UI issue (supports-scrollbars:pr-3) HOT 1
- Unexpected Alpine.js Errors in Laravel Pulse Dashboard HOT 7
- Add supervisor configuration HOT 1
- Update the link in the About section HOT 2
- Please make Supervisor card HOT 1
- Laravel pulse returns 404 HOT 1
- Deadlocks on insert (in production) HOT 1
- Add table prefix on raw expressions when a table name is in the string HOT 1
- Rendering of very long slow SQL queries slows down the page HOT 2
- High Cpu Usage HOT 1
- Logical error with period/bucket calculations HOT 1
- Associate all data with originating server HOT 1
- Volt component in Volt route throws "htmlspecialchars(): Argument #1 ($string) must be of type string, stdClass given." in Slow Requests Card HOT 2
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 pulse.