{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/9251","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/9251/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/9251/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/9251/events","html_url":"https://github.com/laravel/framework/issues/9251","id":87942685,"number":9251,"title":"Integrity constraint violation when using database session driver","user":{"login":"thewinterwind","id":2460820,"avatar_url":"https://avatars.githubusercontent.com/u/2460820?v=3","gravatar_id":"","url":"https://api.github.com/users/thewinterwind","html_url":"https://github.com/thewinterwind","followers_url":"https://api.github.com/users/thewinterwind/followers","following_url":"https://api.github.com/users/thewinterwind/following{/other_user}","gists_url":"https://api.github.com/users/thewinterwind/gists{/gist_id}","starred_url":"https://api.github.com/users/thewinterwind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewinterwind/subscriptions","organizations_url":"https://api.github.com/users/thewinterwind/orgs","repos_url":"https://api.github.com/users/thewinterwind/repos","events_url":"https://api.github.com/users/thewinterwind/events{/privacy}","received_events_url":"https://api.github.com/users/thewinterwind/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/laravel/framework/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/laravel/framework/labels/database","name":"database","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-06-13T06:10:12Z","updated_at":"2016-06-14T21:57:59Z","closed_at":null,"body":"Experienced this in 5.0 and 5.1\r\n\r\nMySQL version: 5.6\r\nForge provisioned server.\r\n\r\nWe use Galera Cluster for MySQL, but each site reads and writes from only one database. I don't think that would have anything to do with this error. I used `artisan session:table` to create the table so everything is standard schema-wise. Happens quite intermittently, about once per day.\r\n\r\n```\r\nIlluminate\\Database\\QueryExceptionGET /diaz/edit\r\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '4c1698dcfe5da87c5f77c90592855490817e575d' for key 'sessions_id_unique' (SQL: insert into `sessions` (`id`, `payload`, `last_activity`) values (4c1698dcfe5da87c5f77c90592855490817e575d, YTo1OntzOjY6Il90b2tlbiI7czo0MDoid1NLSjlmNGFxUml4RkowRVVkU0M3UjhNdldhWlZEY2hwTDhrbEU3YSI7czo3OiJtZXNzYWdlIjtzOjI2OiJMb2dpbiB0byBlZGl0IHlvdXIgcHJvZmlsZSI7czo1OiJmbGFzaCI7YToyOntzOjM6Im5ldyI7YTowOnt9czozOiJvbGQiO2E6MTp7aTowO3M6NzoibWVzc2FnZSI7fX1zOjk6Il9wcmV2aW91cyI7YToxOntzOjM6InVybCI7czozNzoiaHR0cHM6Ly9tYW5pbGEuZXNjb3J0cy5saWZlL2RpYXovZWRpdCI7fXM6OToiX3NmMl9tZXRhIjthOjM6e3M6MToidSI7aToxNDM0MTY4Njc0O3M6MToiYyI7aToxNDM0MTY4Njc0O3M6MToibCI7czoxOiIwIjt9fQ==, 1434168674))\r\n```"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/226028773","html_url":"https://github.com/laravel/framework/issues/9251#issuecomment-226028773","issue_url":"https://api.github.com/repos/laravel/framework/issues/9251","id":226028773,"user":{"login":"tuproyecto","id":4014754,"avatar_url":"https://avatars.githubusercontent.com/u/4014754?v=3","gravatar_id":"","url":"https://api.github.com/users/tuproyecto","html_url":"https://github.com/tuproyecto","followers_url":"https://api.github.com/users/tuproyecto/followers","following_url":"https://api.github.com/users/tuproyecto/following{/other_user}","gists_url":"https://api.github.com/users/tuproyecto/gists{/gist_id}","starred_url":"https://api.github.com/users/tuproyecto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuproyecto/subscriptions","organizations_url":"https://api.github.com/users/tuproyecto/orgs","repos_url":"https://api.github.com/users/tuproyecto/repos","events_url":"https://api.github.com/users/tuproyecto/events{/privacy}","received_events_url":"https://api.github.com/users/tuproyecto/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T21:57:59Z","updated_at":"2016-06-14T21:57:59Z","body":"Version 5.1.39 does not work"}}
{"actor":{"display_login":"tuproyecto"}}