Error occurred while posting comment Nextcloud 12

Hi !
i’m french, sorry for my english
I have a mistake when sending a comment: “Error occurred while posting comment”

my log :
nextcloud.log :
{"reqId":"IpHEvhD8M85YZYGlG9JQ","level":4,"time":"2017-09-15T15:25:33+02:00","remoteAddr":"192.168.42.131","user":"67830","app":"webdav","method":"POST","url":"\/remote.php\/dav\/comments\/files\/214\/","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"Invalid input values\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Comments\\\/CommentsPlugin.php(120): OCA\\\\DAV\\\\Comments\\\\CommentsPlugin->createComment('files', '214', Array, 'application\\\/jso...')\\n#1 [internal function]: OCA\\\\DAV\\\\Comments\\\\CommentsPlugin->httpPost(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:POST', Array)\\n#4 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(253): Sabre\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/owncloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/ownclo...')\\n#8 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Comments\\\/CommentsPlugin.php\",\"Line\":247}","userAgent":"Mozilla\/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko\/20100101 Firefox\/42.0","version":"12.0.2.0"}

my version : nextcloud 12.0.2.0
apache : Apache/2.4.10
php : PHP 7.0.23
database : MySQL

my config :

<?php
$CONFIG = array (
  'instanceid' => 'ocq1mtltl2by',
  'passwordsalt' => '********',
  'secret' => '********',
  'trusted_domains' => 
  array (
    0 => 'test.sdis.fr',
    1 => 'www.test.sdis.fr',
    2 => '192.168.x.x',
  ),
  'datadirectory' => '/var/ownclouddata',
  'overwrite.cli.url' => 'https://test.sdis.fr',
  'dbtype' => 'mysql',
  'version' => '12.0.2.0',
  'dbname' => 'ocdb',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'ocuser',
  'dbpassword' => '********',
  'default_language' => 'fr',
  'defaultapp' => 'files',
  'knowledgebaseenabled' => false,
  'enable_previews' => true,
  'logfile' => '/var/log/nextcloud.log',
  'loglevel' => 2,
  'logtimezone' => 'Europe/Paris',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 0,
    'dbindex' => 0,
  ),
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'test',
  'mail_domain' => 'sdis.fr',
  'mail_smtphost' => 'testmail.sdis.fr',
  'mail_smtpport' => '25',
  'ldapIgnoreNamingRules' => false,
  'theme' => 'sdis',
  'appstore.experimental.enabled' => true,
  'check_for_working_htaccess' => true,
  'updater.release.channel' => 'stable',
  'updater.server.url' => 'https://updates.nextcloud.com/updater_server/',
  'updatechecker' => false,
  'maintenance' => false,
  'check_for_working_webdav' => true,
  'check_for_working_htaccess' => true,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'trusted_proxies' => array('172.17.x.x', '172.17.x.x'),
  'forwarded_for_headers' => array('HTTP_X_FORWARDED_FOR'),
);

app list :
sudo -u www-data ./occ app:list

Enabled:

  • activity: 2.5.2
  • bruteforcesettings: 1.0.2
  • comments: 1.2.0
  • dav: 1.3.0
  • federatedfilesharing: 1.2.0
  • federation: 1.2.0
  • files: 1.7.2
  • files_clipboard: 0.6.4
  • files_pdfviewer: 1.1.1
  • files_sharing: 1.4.0
  • files_texteditor: 2.4.1
  • files_trashbin: 1.2.0
  • files_versions: 1.5.0
  • files_videoplayer: 1.1.0
  • gallery: 17.0.0
  • impersonate: 1.0.1
  • logreader: 2.0.0
  • lookup_server_connector: 1.0.0
  • nextcloud_announcements: 1.1
  • notifications: 2.0.0
  • oauth2: 1.0.5
  • password_policy: 1.2.2
  • provisioning_api: 1.2.0
  • richdocuments: 1.12.34
  • serverinfo: 1.2.0
  • sharebymail: 1.2.0
  • socialsharing_email: 1.0.1
  • survey_client: 1.0.0
  • systemtags: 1.2.0
  • theming: 1.3.0
  • twofactor_backupcodes: 1.1.1
  • updatenotification: 1.2.0
  • user_ldap: 1.2.1
  • workflowengine: 1.2.0
    Disabled:
  • admin_audit
  • encryption
  • files_external
  • firstrunwizard
  • user_external

Thank you for your help

Laurent

You add comments via web-interface? Any special characters? Does a comment with only test work?

Thank you for your answer

i add comments via web interface
no special characters just test or a letter exemple : y
I have to click elsewhere to see my comment