Open Pkumar22in opened 2 years ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
What a weird problem! What do you see in storage/logs/laravel.log
when debug is turned off? If it's 500'ing, there should be some kind of error in there.
Hi,
Thanks for responding back to me.
error I am getting in laravel.log is as below.
[2021-11-18 01:54:09] production.ERROR: SQLSTATE[HY000] [2002] Connection
refused (SQL: select from users
where username
= TLA10226 and
users
.deleted_at
is null limit 1) {"exception":"[object]
(Illuminate\Database\QueryException(code: 2002): SQLSTATE[HY000] [2002]
Connection refused (SQL: select from users
where username
= TLA10226
and users
.deleted_at
is null limit 1) at
/var/www/assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php:669
http://assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php:669)[stacktrace]
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(743): Illuminate\Database\Connection->runQueryCallback()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(723): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(632): Illuminate\Database\Connection->handleQueryException()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(338): Illuminate\Database\Connection->run()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2159): Illuminate\Database\Connection->select()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2147): Illuminate\Database\Query\Builder->runSelect()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2619): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2148): Illuminate\Database\Query\Builder->onceWithColumns()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(546): Illuminate\Database\Query\Builder->get()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(530): Illuminate\Database\Eloquent\Builder->getModels()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(143): Illuminate\Database\Eloquent\Builder->get()
Illuminate\Database\Eloquent\Builder->first()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Console\Commands\LdapSync->handle()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/Container.php(590): Illuminate\Container\BoundMethod::call()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\Container\Container->call()
assets.ekoexcel.org.ng/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run()
assets.ekoexcel.org.ng/vendor/symfony/console/Application.php(1009): Illuminate\Console\Command->run()
assets.ekoexcel.org.ng/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
assets.ekoexcel.org.ng/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\Component\Console\Application->run()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(131): Illuminate\Console\Application->run()
Illuminate\Foundation\Console\Kernel->handle()
[previous exception] [object] (Doctrine\DBAL\Driver\PDO\Exception(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /var/www/assets.ekoexcel.org.ng/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 http://assets.ekoexcel.org.ng/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18) [stacktrace]
assets.ekoexcel.org.ng/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): Doctrine\DBAL\Driver\PDO\Exception::new()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect()
Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(924): call_user_func()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(959): Illuminate\Database\Connection->getPdo()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(404): Illuminate\Database\Connection->getReadPdo()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(330): Illuminate\Database\Connection->getPdoForSelect()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(662): Illuminate\Database\Connection->Illuminate\Database\{closure}()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(743): Illuminate\Database\Connection->runQueryCallback()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(723): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(632): Illuminate\Database\Connection->handleQueryException()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(338): Illuminate\Database\Connection->run()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2159): Illuminate\Database\Connection->select()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2147): Illuminate\Database\Query\Builder->runSelect()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2619): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2148): Illuminate\Database\Query\Builder->onceWithColumns()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(546): Illuminate\Database\Query\Builder->get()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(530): Illuminate\Database\Eloquent\Builder->getModels()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(143): Illuminate\Database\Eloquent\Builder->get()
Illuminate\Database\Eloquent\Builder->first()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Console\Commands\LdapSync->handle()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/Container.php(590): Illuminate\Container\BoundMethod::call()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\Container\Container->call()
assets.ekoexcel.org.ng/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run()
assets.ekoexcel.org.ng/vendor/symfony/console/Application.php(1009): Illuminate\Console\Command->run()
assets.ekoexcel.org.ng/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
assets.ekoexcel.org.ng/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\Component\Console\Application->run()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(131): Illuminate\Console\Application->run()
Illuminate\Foundation\Console\Kernel->handle()
[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /var/www/assets.ekoexcel.org.ng/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:39 http://assets.ekoexcel.org.ng/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:39)[stacktrace]
assets.ekoexcel.org.ng/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(39): PDO->__construct()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect()
Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(924): call_user_func()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(959): Illuminate\Database\Connection->getPdo()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(404): Illuminate\Database\Connection->getReadPdo()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(330): Illuminate\Database\Connection->getPdoForSelect()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(662): Illuminate\Database\Connection->Illuminate\Database\{closure}()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(743): Illuminate\Database\Connection->runQueryCallback()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(723): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(632): Illuminate\Database\Connection->handleQueryException()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Connection.php(338): Illuminate\Database\Connection->run()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2159): Illuminate\Database\Connection->select()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2147): Illuminate\Database\Query\Builder->runSelect()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2619): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2148): Illuminate\Database\Query\Builder->onceWithColumns()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(546): Illuminate\Database\Query\Builder->get()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(530): Illuminate\Database\Eloquent\Builder->getModels()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(143): Illuminate\Database\Eloquent\Builder->get()
Illuminate\Database\Eloquent\Builder->first()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Console\Commands\LdapSync->handle()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Container/Container.php(590): Illuminate\Container\BoundMethod::call()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\Container\Container->call()
assets.ekoexcel.org.ng/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run()
assets.ekoexcel.org.ng/vendor/symfony/console/Application.php(1009): Illuminate\Console\Command->run()
assets.ekoexcel.org.ng/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
assets.ekoexcel.org.ng/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\Component\Console\Application->run()
assets.ekoexcel.org.ng/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(131): Illuminate\Console\Application->run()
Illuminate\Foundation\Console\Kernel->handle()
"}
--
Regards
Prem Kumar Tewari Associate Director, IT Operations Mob : +91.8800.816.082 Skype: premkrtewari [image: NewGlobe] https://newglobe.education/ Website https://newglobe.education/ | LinkedIn https://www.linkedin.com/company/newglobe
On Sat, 20 Nov 2021 at 03:46, Brady Wetherington @.***> wrote:
What a weird problem! What do you see in storage/logs/laravel.log when debug is turned off? If it's 500'ing, there should be some kind of error in there.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snipe/snipe-it/issues/10335#issuecomment-974508793, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWONTYS37RILK4GGL5W2SQDUM3EE5ANCNFSM5ILLE2OQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
production.ERROR: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from
users
whereusername
= TLA10226 andusers
.deleted_at
is null limit 1) {"exception":"[object]
Thanks for that stack trace - that's helpful! But that means your database can't connect. That has nothing to do with our software. :(
Hi,
Thanks for pointing it out, but I still wonder how come everything works perfectly fine when Debug = True?
Same database starts responding.
--
Regards
Prem Kumar Tewari Associate Director, IT Operations Mob : +91.8800.816.082 Skype: premkrtewari [image: NewGlobe] https://newglobe.education/ Website https://newglobe.education/ | LinkedIn https://www.linkedin.com/company/newglobe
On Tue, 23 Nov 2021 at 00:12, snipe @.***> wrote:
production.ERROR: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from users where username = TLA10226 and users.deleted_at is null limit 1) {"exception":"[object]
Thanks for that stack trace - that's helpful! But that means your database can't connect. That has nothing to do with our software. :(
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snipe/snipe-it/issues/10335#issuecomment-975815034, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWONTYWMBOVPNYMK5JX3DUTUNKFKXANCNFSM5ILLE2OQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- *Disclaimer: *This message, and any files transmitted with it, contains confidential information and is intended only for the individual or entity named. If you are not the intended recipient, please notify the sender immediately by e-mail and delete this e-mail from your system. If you are not the intended recipient, any disclosure, copying, distribution or action taken or omitted to be taken in reliance on this e-mail, is prohibited and may be unlawful. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version of the contents.
Hi,
There is one more finding, if I reduce the scope of synch by adding sub OU to synch configuration then again synch works fine but not for larger OU.
Any ideas?
--
Regards
Prem Kumar Tewari Associate Director, IT Operations Mob : +91.8800.816.082 Skype: premkrtewari [image: NewGlobe] https://newglobe.education/ Website https://newglobe.education/ | LinkedIn https://www.linkedin.com/company/newglobe
On Tue, 23 Nov 2021 at 10:45, Prem Tewari @.***> wrote:
Hi,
Thanks for pointing it out, but I still wonder how come everything works perfectly fine when Debug = True?
Same database starts responding.
--
Regards
Prem Kumar Tewari Associate Director, IT Operations Mob : +91.8800.816.082 Skype: premkrtewari [image: NewGlobe] https://newglobe.education/ Website https://newglobe.education/ | LinkedIn https://www.linkedin.com/company/newglobe
On Tue, 23 Nov 2021 at 00:12, snipe @.***> wrote:
production.ERROR: SQLSTATE[HY000] [2002] Connection refused (SQL: select
- from users where username = TLA10226 and users.deleted_at is null limit 1) {"exception":"[object]
Thanks for that stack trace - that's helpful! But that means your database can't connect. That has nothing to do with our software. :(
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snipe/snipe-it/issues/10335#issuecomment-975815034, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWONTYWMBOVPNYMK5JX3DUTUNKFKXANCNFSM5ILLE2OQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- *Disclaimer: *This message, and any files transmitted with it, contains confidential information and is intended only for the individual or entity named. If you are not the intended recipient, please notify the sender immediately by e-mail and delete this e-mail from your system. If you are not the intended recipient, any disclosure, copying, distribution or action taken or omitted to be taken in reliance on this e-mail, is prohibited and may be unlawful. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version of the contents.
Hi,
I am checking again for your help to understand challenges with Ldap Synch in case of larger OU. In the current case smaller OU with 1k to 2k are getting synched easily but a OU with 15k users is not synching at all, and I get 500 error while doing the test from the front end.
--
Regards
Prem Kumar Tewari Associate Director, IT Operations Mob : +91.8800.816.082 Skype: premkrtewari [image: NewGlobe] https://newglobe.education/ Website https://newglobe.education/ | LinkedIn https://www.linkedin.com/company/newglobe
On Wed, 24 Nov 2021 at 10:31, Prem Tewari @.***> wrote:
Hi,
There is one more finding, if I reduce the scope of synch by adding sub OU to synch configuration then again synch works fine but not for larger OU.
Any ideas?
--
Regards
Prem Kumar Tewari Associate Director, IT Operations Mob : +91.8800.816.082 Skype: premkrtewari [image: NewGlobe] https://newglobe.education/ Website https://newglobe.education/ | LinkedIn https://www.linkedin.com/company/newglobe
On Tue, 23 Nov 2021 at 10:45, Prem Tewari @.***> wrote:
Hi,
Thanks for pointing it out, but I still wonder how come everything works perfectly fine when Debug = True?
Same database starts responding.
--
Regards
Prem Kumar Tewari Associate Director, IT Operations Mob : +91.8800.816.082 Skype: premkrtewari [image: NewGlobe] https://newglobe.education/ Website https://newglobe.education/ | LinkedIn https://www.linkedin.com/company/newglobe
On Tue, 23 Nov 2021 at 00:12, snipe @.***> wrote:
production.ERROR: SQLSTATE[HY000] [2002] Connection refused (SQL: select
- from users where username = TLA10226 and users.deleted_at is null limit 1) {"exception":"[object]
Thanks for that stack trace - that's helpful! But that means your database can't connect. That has nothing to do with our software. :(
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snipe/snipe-it/issues/10335#issuecomment-975815034, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWONTYWMBOVPNYMK5JX3DUTUNKFKXANCNFSM5ILLE2OQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You can set LDAP_MEM_LIM
in your .env
file, which can be like 1G
or 2G
- the default being 500M
. There's also an LDAP_TIME_LIM
which is a number of seconds - the default is 600 (10 minutes) but for a larger directory (especially for the initial sync) you'll need more time.
Hi,
I did make changes as per your instructions, but somehow that as well didn't, the moment we run the test CPU utilisation goes 100%.
--
Regards
Prem Kumar Tewari Associate Director, IT Operations Mob : +91.8800.816.082 Skype: premkrtewari [image: NewGlobe] https://newglobe.education/ Website https://newglobe.education/ | LinkedIn https://www.linkedin.com/company/newglobe
On Sat, 11 Dec 2021 at 04:57, Brady Wetherington @.***> wrote:
You can set LDAP_MEM_LIM in your .env file, which can be like 1G or 2G - the default being 500M. There's also an LDAP_TIME_LIM which is a number of seconds - the default is 600 (10 minutes) but for a larger directory (especially for the initial sync) you'll need more time.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snipe/snipe-it/issues/10335#issuecomment-991371479, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWONTYTA43MLPRLZCPC5YYLUQKEH5ANCNFSM5ILLE2OQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Debug mode
Describe the bug
Ldap synch is only working when Debug mode is True, The moment I turn it false it stops responding. Snipe-IT version v5.3.2 build 6508 (g7ce5993f5) Software License AGPL3 PHP Version 7.4.25 Laravel Version 6.20.29
I have total 7 instance of SnipeIT running with latest and n-1 versions and managing more than 50k assets, out of 7 only 1 is miss behaving.
Reproduction steps
Please note: during this entire process no setting other than debug was changed. same Login creds in both cases. ...
Expected behavior
expected behaviour is to get sucess message for ldap test synch and 10 records even when debug is set to "False"
Screenshots
Snipe-IT Version
v5.3.2 build 6508 (g7ce5993f5)
Operating System
ubuntu
Web Server
Apache
PHP Version
7.4.25 Laravel Version 6.20.29
Operating System
Mac windows
Browser
Chrome, safari
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
No response