{"action":"created","issue":{"url":"https://api.github.com/repos/wallabag/wallabag/issues/3154","repository_url":"https://api.github.com/repos/wallabag/wallabag","labels_url":"https://api.github.com/repos/wallabag/wallabag/issues/3154/labels{/name}","comments_url":"https://api.github.com/repos/wallabag/wallabag/issues/3154/comments","events_url":"https://api.github.com/repos/wallabag/wallabag/issues/3154/events","html_url":"https://github.com/wallabag/wallabag/issues/3154","id":231832016,"number":3154,"title":"Handle JMS Serializer UTF8 issues through the API","user":{"login":"bitmagewb","id":26316435,"avatar_url":"https://avatars1.githubusercontent.com/u/26316435?v=3","gravatar_id":"","url":"https://api.github.com/users/bitmagewb","html_url":"https://github.com/bitmagewb","followers_url":"https://api.github.com/users/bitmagewb/followers","following_url":"https://api.github.com/users/bitmagewb/following{/other_user}","gists_url":"https://api.github.com/users/bitmagewb/gists{/gist_id}","starred_url":"https://api.github.com/users/bitmagewb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitmagewb/subscriptions","organizations_url":"https://api.github.com/users/bitmagewb/orgs","repos_url":"https://api.github.com/users/bitmagewb/repos","events_url":"https://api.github.com/users/bitmagewb/events{/privacy}","received_events_url":"https://api.github.com/users/bitmagewb/received_events","type":"User","site_admin":false},"labels":[{"id":34427664,"url":"https://api.github.com/repos/wallabag/wallabag/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-05-27T22:26:35Z","updated_at":"2017-05-31T11:32:07Z","closed_at":null,"body":"The new Android client is causing PHP errors on my server when it tries to sync:\r\n\r\nUpgraded Android client to 2.x and successfully retrieved API keys.  \r\nClient starts syncing, then either fails with \"Unknown error\" or UnsuccessfulResponseException: HTTP Response: 500 Internal Server Error.  No articles are listed.\r\n\r\nprod.log on server shows:\r\n2017-05-27 18:05:29] request.INFO: Matched route \"api_get_entries\". {\"route\":\"api_get_entries\",\"route_parameters\":{\"_controller\":\"Wallabag\\\\ApiBundle\\\\Controller\\\\EntryRestController::getEntriesAction\",\"_format\":\"json\",\"_route\":\"api_get_entries\"},\"request_uri\":\"https://myserver/api/entries.json?order=asc&page=11&perPage=30&since=0&sort=created\",\"method\":\"GET\"} []\r\n[2017-05-27 18:05:29] request.CRITICAL: Uncaught PHP Exception RuntimeException: \"Your data could not be encoded because it contains invalid UTF8 characters.\" at /var/www/wallabag/vendor/jms/serializer/src/JMS/Serializer/JsonSerializationVisitor.php line 240 {\"exception\":\"[object] (RuntimeException(code: 0): Your data could not be encoded because it contains invalid UTF8 characters. at /var/www/wallabag/vendor/jms/serializer/src/JMS/Serializer/JsonSerializationVisitor.php:240)\"} []\r\n\r\nThe 1.x Android client and the web client continue to work without errors.\r\n\r\n### Environment\r\n\r\n* wallabag version (or git revision) that exhibits the issue: 2.2.3\r\n* How did you install wallabag? Via `git clone` or by downloading the package? git clone\r\n* Last wallabag version that did not exhibit the issue (if applicable): \r\n* php version: PHP 5.5.38\r\n* OS: CentOS release 6.9\r\n* type of hosting (shared or dedicated): dedicated \r\n* which storage system you choose at install (SQLite, MySQL/MariaDB or PostgreSQL): SQLite\r\n\r\n### Steps to reproduce/test case\r\nUpgrade android client to 2.x version and connect.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wallabag/wallabag/issues/comments/305163581","html_url":"https://github.com/wallabag/wallabag/issues/3154#issuecomment-305163581","issue_url":"https://api.github.com/repos/wallabag/wallabag/issues/3154","id":305163581,"user":{"login":"sardaukar","id":153407,"avatar_url":"https://avatars1.githubusercontent.com/u/153407?v=3","gravatar_id":"","url":"https://api.github.com/users/sardaukar","html_url":"https://github.com/sardaukar","followers_url":"https://api.github.com/users/sardaukar/followers","following_url":"https://api.github.com/users/sardaukar/following{/other_user}","gists_url":"https://api.github.com/users/sardaukar/gists{/gist_id}","starred_url":"https://api.github.com/users/sardaukar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sardaukar/subscriptions","organizations_url":"https://api.github.com/users/sardaukar/orgs","repos_url":"https://api.github.com/users/sardaukar/repos","events_url":"https://api.github.com/users/sardaukar/events{/privacy}","received_events_url":"https://api.github.com/users/sardaukar/received_events","type":"User","site_admin":false},"created_at":"2017-05-31T11:32:07Z","updated_at":"2017-05-31T11:32:07Z","body":"@bitmagewb I'd like to be able to pinpoint the entry too - how can I do the sqlite dump?"}}
{"actor":{"display_login":"sardaukar"}}