{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/passport/issues/632","repository_url":"https://api.github.com/repos/laravel/passport","labels_url":"https://api.github.com/repos/laravel/passport/issues/632/labels{/name}","comments_url":"https://api.github.com/repos/laravel/passport/issues/632/comments","events_url":"https://api.github.com/repos/laravel/passport/issues/632/events","html_url":"https://github.com/laravel/passport/issues/632","id":296230599,"number":632,"title":"Infinite loop, stack overflow","user":{"login":"iget-master","id":9434959,"avatar_url":"https://avatars2.githubusercontent.com/u/9434959?v=4","gravatar_id":"","url":"https://api.github.com/users/iget-master","html_url":"https://github.com/iget-master","followers_url":"https://api.github.com/users/iget-master/followers","following_url":"https://api.github.com/users/iget-master/following{/other_user}","gists_url":"https://api.github.com/users/iget-master/gists{/gist_id}","starred_url":"https://api.github.com/users/iget-master/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iget-master/subscriptions","organizations_url":"https://api.github.com/users/iget-master/orgs","repos_url":"https://api.github.com/users/iget-master/repos","events_url":"https://api.github.com/users/iget-master/events{/privacy}","received_events_url":"https://api.github.com/users/iget-master/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-11T22:07:01Z","updated_at":"2018-03-14T08:08:37Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI have two projects, both using L5.5 and latest Laravel Passport.\r\n\r\nBoth projects runs under a docker environment, but the first one works, the last don't. \r\nActually, both worked, but after some permission changes (my docker env was setting 777 for everything), it stopped working, but only one of them.\r\n\r\nI've tried to revert the changes, clear install the environment, with no success.\r\n\r\nThe failing project just gives me 500 error, with exceeded execution time (30s).\r\n\r\nLooking the logs, I've found the [following log, see the bin](https://pastebin.com/YubNmvkg), only for the last 3 entries, but the entire file grows very fast to 1GB.\r\n\r\nObserve that this part repeats a lot of times, indicating an infinite loop:\r\n\r\n> #16 [internal function]: Laravel\\\\Passport\\\\PassportServiceProvider->Laravel\\\\Passport\\\\{closure}(Object(Illuminate\\\\Http\\\\Request), NULL)\r\n> #17 /var/www/vendor/laravel/framework/src/Illuminate/Auth/RequestGuard.php(58): call_user_func(Object(Closure), Object(Illuminate\\\\Http\\\\Request), NULL)\r\n> #18 /var/www/vendor/laravel/framework/src/Illuminate/Auth/GuardHelpers.php(70): Illuminate\\\\Auth\\\\RequestGuard->user()\r\n> #19 /var/www/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(292): Illuminate\\\\Auth\\\\RequestGuard->id()\r\n> #20 /var/www/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Illuminate\\\\Auth\\\\AuthManager->__call('id', Array)\r\n> #21 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(152): Illuminate\\\\Support\\\\Facades\\\\Facade::__callStatic('id', Array)\r\n> #22 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(113): Illuminate\\\\Foundation\\\\Exceptions\\\\Handler->context()\r\n> #23 /var/www/app/Exceptions/Handler.php(43): Illuminate\\\\Foundation\\\\Exceptions\\\\Handler->report(Object(League\\\\OAuth2\\\\Server\\\\Exception\\\\OAuthServerException))\r\n> #24 /var/www/vendor/laravel/passport/src/Guards/TokenGuard.php(143): App\\\\Exceptions\\\\Handler->report(Object(League\\\\OAuth2\\\\Server\\\\Exception\\\\OAuthServerException))\r\n> #25 /var/www/vendor/laravel/passport/src/Guards/TokenGuard.php(90): Laravel\\\\Passport\\\\Guards\\\\TokenGuard->authenticateViaBearerToken(Object(Illuminate\\\\Http\\\\Request))\r\n> #26 /var/www/vendor/laravel/passport/src/PassportServiceProvider.php(267): Laravel\\\\Passport\\\\Guards\\\\TokenGuard->user(Object(Illuminate\\\\Http\\\\Request))\r\n> #27 [internal function]: Laravel\\\\Passport\\\\PassportServiceProvider->Laravel\\\\Passport\\\\{closure}(Object(Illuminate\\\\Http\\\\Request), NULL)\r\n\r\nSince the issue is a little complex, I'm able to provide some necessary information that you need."},"comment":{"url":"https://api.github.com/repos/laravel/passport/issues/comments/372936747","html_url":"https://github.com/laravel/passport/issues/632#issuecomment-372936747","issue_url":"https://api.github.com/repos/laravel/passport/issues/632","id":372936747,"user":{"login":"nmfzone","id":10361906,"avatar_url":"https://avatars3.githubusercontent.com/u/10361906?v=4","gravatar_id":"","url":"https://api.github.com/users/nmfzone","html_url":"https://github.com/nmfzone","followers_url":"https://api.github.com/users/nmfzone/followers","following_url":"https://api.github.com/users/nmfzone/following{/other_user}","gists_url":"https://api.github.com/users/nmfzone/gists{/gist_id}","starred_url":"https://api.github.com/users/nmfzone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmfzone/subscriptions","organizations_url":"https://api.github.com/users/nmfzone/orgs","repos_url":"https://api.github.com/users/nmfzone/repos","events_url":"https://api.github.com/users/nmfzone/events{/privacy}","received_events_url":"https://api.github.com/users/nmfzone/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T08:08:37Z","updated_at":"2018-03-14T08:08:37Z","author_association":"CONTRIBUTOR","body":"@iget-master I've submit a PR, but unfortunately got rejected. See #633 "}}
{"actor":{"display_login":"nmfzone"}}