Erreur 404 avec message Not Found lors de l'enregistrement des identifiants d'une application

Bonjour,

Je viens d’installer Cozy sur une VM de mon Nas.
Aucun pb à l’installation, tout c’est bien passé. J’ai bien installé Node 12.

J’ai installé l’application Cdiscount et j’obtiens l’erreur
An unknown error has occurred. ({"error":"code=404, message=Not Found"}) lorsque j’entre mes identifiants. J’ai testé avec d’autres applications : Engie, LDLC… et j’obtiens toujours la même erreur.

les seules erreurs que j’ai trouvées sont dans /var/log/couchdb/couchdb.log

[error] 2020-11-16T22:02:46.671364Z couchdb@127.0.0.1 <0.24846.1> 42f6a5d140 req_err(3717872069) unknown_error : normal
    [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
[error] 2020-11-16T22:02:46.679813Z couchdb@127.0.0.1 <0.24847.1> 68a2575e9c req_err(3717872069) unknown_error : normal
    [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
[notice] 2020-11-16T22:02:46.684789Z couchdb@127.0.0.1 <0.24848.1> 21bb6590b9 127.0.0.1:5984 127.0.0.1 cozy GET /cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-sessions/4678333cd9e019f7279f10b0330093c4 200 ok 4
[error] 2020-11-16T22:02:46.696819Z couchdb@127.0.0.1 <0.24848.1> e478fc2e28 req_err(3717872069) unknown_error : normal
    [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
[notice] 2020-11-16T22:02:46.724390Z couchdb@127.0.0.1 <0.24849.1> e2087a8b82 127.0.0.1:5984 127.0.0.1 cozy POST /cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-accounts/ 201 ok 27
[error] 2020-11-16T22:02:46.743781Z couchdb@127.0.0.1 <0.24849.1> f54af3041a req_err(3717872069) unknown_error : normal
    [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
[error] 2020-11-16T22:02:46.745490Z couchdb@127.0.0.1 <0.24866.1> 79c907a4b6 req_err(3717872069) unknown_error : normal
    [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
[error] 2020-11-16T22:02:46.759007Z couchdb@127.0.0.1 <0.24867.1> b1278b5b85 req_err(3717872069) unknown_error : normal
    [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
[error] 2020-11-16T22:02:46.763559Z couchdb@127.0.0.1 <0.24868.1> 95af4a9262 req_err(3717872069) unknown_error : normal
    [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
[notice] 2020-11-16T22:02:46.769153Z couchdb@127.0.0.1 <0.24869.1> 1e5624c93a 127.0.0.1:5984 127.0.0.1 cozy GET /cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-sessions/4678333cd9e019f7279f10b0330093c4 200 ok 9
[notice] 2020-11-16T22:02:46.775648Z couchdb@127.0.0.1 <0.24870.1> 8bc79b917e 127.0.0.1:5984 127.0.0.1 cozy GET /cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-sessions/4678333cd9e019f7279f10b0330093c4 200 ok 11
[error] 2020-11-16T22:02:46.796193Z couchdb@127.0.0.1 <0.24869.1> 683d970b13 req_err(3717872069) unknown_error : normal
    [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
[error] 2020-11-16T22:02:46.800983Z couchdb@127.0.0.1 <0.24870.1> 5e5f6eb686 req_err(3717872069) unknown_error : normal
    [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]

Est-ce que qqun a déjà rencontré cette erreur ?

Merci d’avance

Nico

Bonjour @nicolascochin,

Bienvenue à bord :smile_cat:

Je ne pense pas que ce soient réellement des erreurs.

Il faudrait plutôt regarder dans le fichier gozy.log.

Pour avoir davantage d’informations dans les journaux, tu peux augmenter la verbosité du serveur : cozy-stack instances debug --domain cozy.nicolascoch.in true (sans oublier de la passer à nouveau à false après tes tests).
Relance ensuite le connecteur et vois si tu as des messages plus explicites dans les fichiers gozy.log ou debug.log.

Bonjour.

Merci @Clochix pour ta réponse.
J’ai bien cherché, mais je ne trouve pas de fichier gozy.log sur le système.
Les seuls logs que je trouve sont :

/var/log/couchdb:
total 544
drwxr-x--- 2 couchdb couchdb   4096 nov.  18 00:00 .
drwxr-xr-x 8 root    root      4096 nov.  18 00:00 ..
-rw-r--r-- 1 couchdb couchdb  46725 nov.  18 09:16 couchdb.log
-rw-r--r-- 1 couchdb couchdb 497923 nov.  18 00:00 couchdb.log.1

/var/log/cozy:
total 168
drwxrwx--- 2 root cozy   4096 nov.  16 22:30 .
drwxr-xr-x 8 root root   4096 nov.  18 00:00 ..
-rw-r----- 1 root adm  157884 nov.  18 09:16 stack.debug.log
-rw-r----- 1 root adm    2980 nov.  16 22:39 stack.log

J’ai activé le mode débug et voici ce que j’obtiens dans le fichier /var/log/cozy/stack.debug.log lorsque je rentre mes credentials Cdisount (par exemple)

Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="request: GET cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-sessions/4678333cd9e019f7279f10b0330093c4 " domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="response: {\"_id\":\"4678333cd9e019f7279f10b0330093c4\",\"_rev\":\"2-3761ad32e9cd552d7d97950a03a3e915\",\"created_at\":\"2020-11-16T22:33:30.737426925+01:00\",\"last_seen\":\"2020-11-18T09:15:49.198346665+01:00\",\"long_run\":true}" domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="request: POST cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-permissions/_find {\"selector\":{\"$and\":[{\"type\":\"app\"},{\"source_id\":\"io.cozy.apps/home\"}]},\"use_index\":\"by-source-and-type\",\"limit\":1}" domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="response: {\"docs\":[\r\n{\"_id\":\"4678333cd9e019f7279f10b033005745\",\"_rev\":\"1-a9cb9d018de4e6d7adc8ce9542164185\",\"type\":\"app\",\"source_id\":\"io.cozy.apps/home\",\"permissions\":{\"apps\":{\"type\":\"io.cozy.apps\",\"description\":\"Required by the cozy-bar to display the icons of the apps\",\"verbs\":[\"GET\",\"POST\",\"PUT\"]},\"settings\":{\"type\":\"io.cozy.settings\",\"description\":\"Required by the cozy-bar display Claudy and to know which applications are coming soon\",\"verbs\":[\"GET\"]},\"konnectors\":{\"type\":\"io.cozy.konnectors\",\"description\":\"Required to get the list of konnectors\",\"verbs\":[\"GET\",\"POST\",\"PUT\",\"DELETE\"]},\"accounts\":{\"type\":\"io.cozy.accounts\",\"description\":\"Required to manage accounts associated to konnectors\",\"verbs\":[\"GET\",\"POST\",\"PUT\",\"DELETE\"]},\"files\":{\"type\":\"io.cozy.files\",\"description\":\"Required to access folders\",\"verbs\":[\"GET\",\"POST\",\"PATCH\"]},\"jobs\":{\"type\":\"io.cozy.jobs\",\"description\":\"Required to run the konnectors\"},\"contacts\":{\"type\":\"io.cozy.contacts\",\"description\":\"Required for the service to update the myself contact, and to add contacts to contracts/accounts\"},\"triggers\":{\"type\":\"io.cozy.triggers\",\"description\":\"Required to run the konnectors\"},\"permissions\":{\"type\":\"io.cozy.permissions\",\"description\":\"Required to run the konnectors\"},\"appSuggestions\":{\"type\":\"io.cozy.apps.suggestions\",\"description\":\"Required to display konnector suggestions\",\"verbs\":[\"GET\",\"PUT\"]},\"organizations\":{\"type\":\"com.bitwarden.organizations\",\"description\":\"Required to update konnector passwords\"},\"ciphers\":{\"type\":\"com.bitwarden.ciphers\",\"description\":\"Required to know if the vault is used or not\",\"verbs\":[\"GET\"]},\"bank-accounts\":{\"type\":\"io.cozy.bank.accounts\",\"description\":\"Required to edit bank accounts\"}},\"cozyMetadata\":{\"doctypeVersion\":\"1\",\"metadataVersion\":1,\"createdAt\":\"2020-11-16T22:32:57.855197481+01:00\",\"createdByApp\":\"home\",\"createdByAppVersion\":\"1.31.2\",\"updatedAt\":\"2020-11-16T22:32:57.855198535+01:00\",\"updatedByApps\":[{\"slug\":\"home\",\"date\":\"2020-11-16T22:32:57.855198535+01:00\",\"version\":\"1.31.2\"}]}}\r\n],\r\n\"bookmark\": \"g1AAAABveJzLYWBgYMpgSmHgKy5JLCrJTq2MT8lPzkzJBYormJiZWxgbGyenWKYaGFqmmRuZW6YZGiQZGBsbGJiam5iC9HHA9OWATAJpE8zM10vOr6rUSywoKNbPyM9NBYkyA3lZWQBAkB2Y\"}" domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="request: GET cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-sessions/4678333cd9e019f7279f10b0330093c4 " domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="request: GET cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-sessions/4678333cd9e019f7279f10b0330093c4 " domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="request: GET cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-sessions/4678333cd9e019f7279f10b0330093c4 " domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="response: {\"_id\":\"4678333cd9e019f7279f10b0330093c4\",\"_rev\":\"2-3761ad32e9cd552d7d97950a03a3e915\",\"created_at\":\"2020-11-16T22:33:30.737426925+01:00\",\"last_seen\":\"2020-11-18T09:15:49.198346665+01:00\",\"long_run\":true}" domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="request: GET cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-konnectors/io.cozy.konnectors%2Fcdiscount " domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="response: {\"_id\":\"4678333cd9e019f7279f10b0330093c4\",\"_rev\":\"2-3761ad32e9cd552d7d97950a03a3e915\",\"created_at\":\"2020-11-16T22:33:30.737426925+01:00\",\"last_seen\":\"2020-11-18T09:15:49.198346665+01:00\",\"long_run\":true}" domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="request: POST cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-permissions/_find {\"selector\":{\"$and\":[{\"type\":\"app\"},{\"source_id\":\"io.cozy.apps/home\"}]},\"use_index\":\"by-source-and-type\",\"limit\":1}" domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="response: {\"_id\":\"4678333cd9e019f7279f10b0330093c4\",\"_rev\":\"2-3761ad32e9cd552d7d97950a03a3e915\",\"created_at\":\"2020-11-16T22:33:30.737426925+01:00\",\"last_seen\":\"2020-11-18T09:15:49.198346665+01:00\",\"long_run\":true}" domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="request: POST cozy06c2961c21e4b6a86f41edc4cab0d34c%2Fio-cozy-permissions/_find {\"selector\":{\"$and\":[{\"type\":\"app\"},{\"source_id\":\"io.cozy.apps/home\"}]},\"use_index\":\"by-source-and-type\",\"limit\":1}" domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="response: {\"_id\":\"io.cozy.konnectors/cdiscount\",\"_rev\":\"1-7f62433e51cf146a60583414fece5037\",\"name\":\"Cdiscount\",\"editor\":\"Cozy\",\"icon\":\"icon.svg\",\"type\":\"konnector\",\"language\":\"node\",\"vendor_link\":\"https://order.cdiscount.com/Account/LoginLight.html\",\"locales\":{\"fr\":{\"short_description\":\"Récupère vos factures Cdiscount\",\"long_description\":\"Cdiscount est une entreprise française de commerce en ligne accessible sur [www.cdiscount.com](https://www.cdiscount.com/)\\n\\n**Connectez votre compte Cdiscount à votre Cozy pour récupérer**\\n\\n- toutes vos factures\\n\\n**Accédez directement à vos documents dans votre Drive personnel**\\n\\nEn connectant votre compte Cdiscount, votre Cozy crée automatiquement un dossier dans **Drive >\\nAdministratif > Cdiscount**. Vos factures sont à portée de main et toujours accessibles !\\n\\n**Suivez le montant de vos factures avec Banks**\\n\\nLes factures récupérées sont automatiquement liées aux opérations bancaires Cdiscount associées à votre compte si vous utilisez l’application Banks. Finis les maux de tête à faire les comptes !\\n\\n**Sauvegardez vos identifiants avec Pass**\\n\\nEn installant le gestionnaire de mots de passe, vos identifiants sont sauvegardés une bonne fois\\npour toutes pour vous faciliter la connexion au site de Cdiscount. Adieu les mots de passe oubliés !\\n\\n**Configuration**\\n\\nPour connecter votre compte, il vous suffit de renseigner dans les champs :\\n\\n- votre adresse e-mail\\n- votre mot de passe\\n\\nUne fois connecté, votre Cozy se connectera régulièrement à votre compte Cdiscount pour récupérer les\\nnouveaux éléments et les historiser dans un dossier Cdiscount dans Drive.\\n\\nSi vous déconnectez votre compte Cdiscount, les informations déjà sauvegardées dans votre Cozy restent disponibles. Vous pouvez les supprimer manuellement par ailleurs.\",\"permissions\":{\"bank operations\":{\"description\":\"Utilisé pour relier les factures à des operations bancaires\"},\"bills\":{\"description\":\"Utilisé pour sauver les données des factures\"},\"files\":{\"description\":\"Utilisé pour sauvegarder les factures\"},\"accounts\":{\"description\":\"Utilisé pour obtenir les données du compte\"}}},\"en\":{\"short_description\":\"Fetch your Cdiscount bills\",\"long_description\":\"Cdiscount is a French online services company.\\n\\n**Connect your Cdiscount account to your Cozy for getting**\\n\\n- your bills\\n\\n**Access directly to your documents in your personal Drive**\\n\\nBy connecting your Cdiscount account, your Cozy automatically creates a folder in **Drive > Administrative Cdiscount**.\\n\\n**Follow the amount of your bills with Banks**\\n\\nThe recovered certificates are automatically linked to the Cdiscount banking transactions associated with your account if you use the Banks application.\\n\\n**Save your credentials with Pass**\\nWith Pass, you will never forget a password again as your credentials are automatically saved in by activating the password manager.\\n\\n**Configuration**\\nTo connect your account, you just have to fill in the fields :\\n- your login (email)\\n- your password\\n\\nOnce logged in, your Cozy will automatically connect to your Cdiscount account to retrieve new items and\\nstore them in a Cdiscount folder in Drive.\\n\\nIf you disconnect your Cdiscount account, the information already saved in your Cozy remains available. You can delete them manually elsewhere.\",\"permissions\":{\"bank operations\":{\"description\":\"Required to link bank operations to bills\"},\"bills\":{\"description\":\"Required to save the bills data\"},\"files\":{\"description\":\"Required to save the bills\"},\"accounts\":{\"description\":\"Required to get the account's data\"}}}},\"langs\":[\"fr\",\"en\"],\"categories\":[\"shopping\"],\"developer\":{\"name\":\"Cozy Cloud\",\"url\":\"https://cozy.io\"},\"screenshots\":[],\"data_types\":[\"bill\"],\"fields\":{\"login\":{\"type\":\"text\"},\"password\":{\"type\":\"password\"},\"advancedFields\":{\"folderPath\":{\"advanced\":true,\"isRequired\":false}}},\"time_interval\":[0,24],\"notifications\":null,\"slug\":\"cdiscount\",\"state\":\"ready\",\"source\":\"registry://cdiscount/stable\",\"version\":\"1.6.0\",\"checksum\":\"df3fe0c6c487062bd6b50d11f0c6f689f72adf6230ada4bdd8d579779b304a4e\",\"permissions\":{\"bank operations\":{\"type\":\"io.cozy.bank.operations\"},\"bills\":{\"type\":\"io.cozy.bills\"},\"files\":{\"type\":\"io.cozy.files\"},\"accounts\":{\"type\":\"io.cozy.accounts\"}},\"terms\":{\"url\":\"\",\"version\":\"\"},\"created_at\":\"2020-11-16T22:34:31.283501051+01:00\",\"updated_at\":\"2020-11-16T22:34:31.28350152+01:00\"}" domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="response: {\"docs\":[\r\n{\"_id\":\"4678333cd9e019f7279f10b033005745\",\"_rev\":\"1-a9cb9d018de4e6d7adc8ce9542164185\",\"type\":\"app\",\"source_id\":\"io.cozy.apps/home\",\"permissions\":{\"apps\":{\"type\":\"io.cozy.apps\",\"description\":\"Required by the cozy-bar to display the icons of the apps\",\"verbs\":[\"GET\",\"POST\",\"PUT\"]},\"settings\":{\"type\":\"io.cozy.settings\",\"description\":\"Required by the cozy-bar display Claudy and to know which applications are coming soon\",\"verbs\":[\"GET\"]},\"konnectors\":{\"type\":\"io.cozy.konnectors\",\"description\":\"Required to get the list of konnectors\",\"verbs\":[\"GET\",\"POST\",\"PUT\",\"DELETE\"]},\"accounts\":{\"type\":\"io.cozy.accounts\",\"description\":\"Required to manage accounts associated to konnectors\",\"verbs\":[\"GET\",\"POST\",\"PUT\",\"DELETE\"]},\"files\":{\"type\":\"io.cozy.files\",\"description\":\"Required to access folders\",\"verbs\":[\"GET\",\"POST\",\"PATCH\"]},\"jobs\":{\"type\":\"io.cozy.jobs\",\"description\":\"Required to run the konnectors\"},\"contacts\":{\"type\":\"io.cozy.contacts\",\"description\":\"Required for the service to update the myself contact, and to add contacts to contracts/accounts\"},\"triggers\":{\"type\":\"io.cozy.triggers\",\"description\":\"Required to run the konnectors\"},\"permissions\":{\"type\":\"io.cozy.permissions\",\"description\":\"Required to run the konnectors\"},\"appSuggestions\":{\"type\":\"io.cozy.apps.suggestions\",\"description\":\"Required to display konnector suggestions\",\"verbs\":[\"GET\",\"PUT\"]},\"organizations\":{\"type\":\"com.bitwarden.organizations\",\"description\":\"Required to update konnector passwords\"},\"ciphers\":{\"type\":\"com.bitwarden.ciphers\",\"description\":\"Required to know if the vault is used or not\",\"verbs\":[\"GET\"]},\"bank-accounts\":{\"type\":\"io.cozy.bank.accounts\",\"description\":\"Required to edit bank accounts\"}},\"cozyMetadata\":{\"doctypeVersion\":\"1\",\"metadataVersion\":1,\"createdAt\":\"2020-11-16T22:32:57.855197481+01:00\",\"createdByApp\":\"home\",\"createdByAppVersion\":\"1.31.2\",\"updatedAt\":\"2020-11-16T22:32:57.855198535+01:00\",\"updatedByApps\":[{\"slug\":\"home\",\"date\":\"2020-11-16T22:32:57.855198535+01:00\",\"version\":\"1.31.2\"}]}}\r\n],\r\n\"bookmark\": \"g1AAAABveJzLYWBgYMpgSmHgKy5JLCrJTq2MT8lPzkzJBYormJiZWxgbGyenWKYaGFqmmRuZW6YZGiQZGBsbGJiam5iC9HHA9OWATAJpE8zM10vOr6rUSywoKNbPyM9NBYkyA3lZWQBAkB2Y\"}" domain=cozy.coch.in nspace=couchdb
Nov 18 09:58:34 cozy cozy[5684]: time="2020-11-18T09:58:34+01:00" level=debug msg="response: {\"docs\":[\r\n{\"_id\":\"4678333cd9e019f7279f10b033005745\",\"_rev\":\"1-a9cb9d018de4e6d7adc8ce9542164185\",\"type\":\"app\",\"source_id\":\"io.cozy.apps/home\",\"permissions\":{\"apps\":{\"type\":\"io.cozy.apps\",\"description\":\"Required by the cozy-bar to display the icons of the apps\",\"verbs\":[\"GET\",\"POST\",\"PUT\"]},\"settings\":{\"type\":\"io.cozy.settings\",\"description\":\"Required by the cozy-bar display Claudy and to know which applications are coming soon\",\"verbs\":[\"GET\"]},\"konnectors\":{\"type\":\"io.cozy.konnectors\",\"description\":\"Required to get the list of konnectors\",\"verbs\":[\"GET\",\"POST\",\"PUT\",\"DELETE\"]},\"accounts\":{\"type\":\"io.cozy.accounts\",\"description\":\"Required to manage accounts associated to konnectors\",\"verbs\":[\"GET\",\"POST\",\"PUT\",\"DELETE\"]},\"files\":{\"type\":\"io.cozy.files\",\"description\":\"Required to access folders\",\"verbs\":[\"GET\",\"POST\",\"PATCH\"]},\"jobs\":{\"type\":\"io.cozy.jobs\",\"description\":\"Required to run the konnectors\"},\"contacts\":{\"type\":\"io.cozy.contacts\",\"description\":\"Required for the service to update the myself contact, and to add contacts to contracts/accounts\"},\"triggers\":{\"type\":\"io.cozy.triggers\",\"description\":\"Required to run the konnectors\"},\"permissions\":{\"type\":\"io.cozy.permissions\",\"description\":\"Required to run the konnectors\"},\"appSuggestions\":{\"type\":\"io.cozy.apps.suggestions\",\"description\":\"Required to display konnector suggestions\",\"verbs\":[\"GET\",\"PUT\"]},\"organizations\":{\"type\":\"com.bitwarden.organizations\",\"description\":\"Required to update konnector passwords\"},\"ciphers\":{\"type\":\"com.bitwarden.ciphers\",\"description\":\"Required to know if the vault is used or not\",\"verbs\":[\"GET\"]},\"bank-accounts\":{\"type\":\"io.cozy.bank.accounts\",\"description\":\"Required to edit bank accounts\"}},\"cozyMetadata\":{\"doctypeVersion\":\"1\",\"metadataVersion\":1,\"createdAt\":\"2020-11-16T22:32:57.855197481+01:00\",\"createdByApp\":\"home\",\"createdByAppVersion\":\"1.31.2\",\"updatedAt\":\"2020-11-16T22:32:57.855198535+01:00\",\"updatedByApps\":[{\"slug\":\"home\",\"date\":\"2020-11-16T22:32:57.855198535+01:00\",\"version\":\"1.31.2\"}]}}\r\n],\r\n\"bookmark\": \"g1AAAABveJzLYWBgYMpgSmHgKy5JLCrJTq2MT8lPzkzJBYormJiZWxgbGyenWKYaGFqmmRuZW6YZGiQZGBsbGJiam5iC9HHA9OWATAJpE8zM10vOr6rUSywoKNbPyM9NBYkyA3lZWQBAkB2Y\"}" domain=cozy.coch.in nspace=couchdb

Voici ce que j’obtiens lorsque je fais un cozy-stack konnectors show cdiscount

{
  "name": "Cdiscount",
  "editor": "Cozy",
  "icon": "icon.svg",
  "type": "konnector",
  "language": "node",
  "vendor_link": "https://order.cdiscount.com/Account/LoginLight.html",
  "locales": {
    "fr": {
      "short_description": "Récupère vos factures Cdiscount",
      "long_description": "Cdiscount est une entreprise française de commerce en ligne accessible sur [www.cdiscount.com](https://www.cdiscount.com/)\n\n**Connectez votre compte Cdiscount à votre Cozy pour récupérer**\n\n- toutes vos factures\n\n**Accédez directement à vos documents dans votre Drive personnel**\n\nEn connectant votre compte Cdiscount, votre Cozy crée automatiquement un dossier dans **Drive \u003e\nAdministratif \u003e Cdiscount**. Vos factures sont à portée de main et toujours accessibles !\n\n**Suivez le montant de vos factures avec Banks**\n\nLes factures récupérées sont automatiquement liées aux opérations bancaires Cdiscount associées à votre compte si vous utilisez l’application Banks. Finis les maux de tête à faire les comptes !\n\n**Sauvegardez vos identifiants avec Pass**\n\nEn installant le gestionnaire de mots de passe, vos identifiants sont sauvegardés une bonne fois\npour toutes pour vous faciliter la connexion au site de Cdiscount. Adieu les mots de passe oubliés !\n\n**Configuration**\n\nPour connecter votre compte, il vous suffit de renseigner dans les champs :\n\n- votre adresse e-mail\n- votre mot de passe\n\nUne fois connecté, votre Cozy se connectera régulièrement à votre compte Cdiscount pour récupérer les\nnouveaux éléments et les historiser dans un dossier Cdiscount dans Drive.\n\nSi vous déconnectez votre compte Cdiscount, les informations déjà sauvegardées dans votre Cozy restent disponibles. Vous pouvez les supprimer manuellement par ailleurs.",
      "permissions": {
        "bank operations": {
          "description": "Utilisé pour relier les factures à des operations bancaires"
        },
        "bills": {
          "description": "Utilisé pour sauver les données des factures"
        },
        "files": {
          "description": "Utilisé pour sauvegarder les factures"
        },
        "accounts": {
          "description": "Utilisé pour obtenir les données du compte"
        }
      }
    },
    "en": {
      "short_description": "Fetch your Cdiscount bills",
      "long_description": "Cdiscount is a French online services company.\n\n**Connect your Cdiscount account to your Cozy for getting**\n\n- your bills\n\n**Access directly to your documents in your personal Drive**\n\nBy connecting your Cdiscount account, your Cozy automatically creates a folder in **Drive \u003e Administrative Cdiscount**.\n\n**Follow the amount of your bills with Banks**\n\nThe recovered certificates are automatically linked to the Cdiscount banking transactions associated with your account if you use the Banks application.\n\n**Save your credentials with Pass**\nWith Pass, you will never forget a password again as your credentials are automatically saved in by activating the password manager.\n\n**Configuration**\nTo connect your account, you just have to fill in the fields :\n- your login (email)\n- your password\n\nOnce logged in, your Cozy will automatically connect to your Cdiscount account to retrieve new items and\nstore them in a Cdiscount folder in Drive.\n\nIf you disconnect your Cdiscount account, the information already saved in your Cozy remains available. You can delete them manually elsewhere.",
      "permissions": {
        "bank operations": {
          "description": "Required to link bank operations to bills"
        },
        "bills": {
          "description": "Required to save the bills data"
        },
        "files": {
          "description": "Required to save the bills"
        },
        "accounts": {
          "description": "Required to get the account's data"
        }
      }
    }
  },
  "langs": [
    "fr",
    "en"
  ],
  "categories": [
    "shopping"
  ],
  "developer": {
    "name": "Cozy Cloud",
    "url": "https://cozy.io"
  },
  "screenshots": [],
  "data_types": [
    "bill"
  ],
  "fields": {
    "login": {
      "type": "text"
    },
    "password": {
      "type": "password"
    },
    "advancedFields": {
      "folderPath": {
        "advanced": true,
        "isRequired": false
      }
    }
  },
  "time_interval": [
    0,
    24
  ],
  "slug": "cdiscount",
  "state": "ready",
  "source": "registry://cdiscount/stable",
  "version": "1.6.0",
  "permissions": {
    "accounts": {
      "type": "io.cozy.accounts"
    },
    "bank operations": {
      "type": "io.cozy.bank.operations"
    },
    "bills": {
      "type": "io.cozy.bills"
    },
    "files": {
      "type": "io.cozy.files"
    }
  },
  "intents": null,
  "services": null,
  "created_at": "2020-11-16T22:34:31.283501051+01:00",
  "updated_at": "2020-11-16T22:34:31.28350152+01:00"
}

J’obtiens l’erreur suivante lorsque je fais cozy-stack konnectors run cdiscount

Error: Could not find a konnector "cdiscount": it may be installed but it is not activated (no related trigger)

Au temps pour moi, en auto-hébergement le fichier s’appelle stack.log. C’est donc bien là qu’il faut regarder.
Malheureusement, je ne vois pas d’erreur dans les journaux que tu nous fournis.

J’ai sonné notre référent auto-hébergement, j’espère qu’il sera plus inspiré que moi.

Ok merci

Petite précision qui a son importance : mon serveur est derrière un reverse proxy.
Je forward les entrées sur les ports 80 et 443.
Je n’ai pas trouvé d’informations, mais peut-être que les connecteurs utilisent d’autres ports…

Nicolas