ACRA / acralyzer

Open source backend for ACRA reports.
GNU General Public License v3.0
489 stars 90 forks source link

404 Error when sending report #32

Closed jefBinomed closed 11 years ago

jefBinomed commented 11 years ago

Hello, I have an error when sending the report, it returns me a 404 error.

Here is what I have done. After some analyse for the issue #28 I decide to restart from scratch with this configuration

Vm Azure : Ubuntu 12.04 Acra : 4.5.0RC Couchdb 1.3.0 build from source

Here is the log I have on the server :

[Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.18350.0>] 'PUT' /acra-test1/_design/acra-storage/update/report/0eca46ad-d4b6-4624-aa14-0006804630bf {1, 1} from "193.253.141.153" Headers: [{'Accept',"text/html,application/xml,application/json,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/_;q=0.5"}, {'Authorization',"Basic c3ZzaW5ub3Y6SW5ub3ZhdGkwbjQ0"}, {'Connection',"Keep-Alive"}, {'Content-Length',"19509"}, {'Content-Type',"application/json"}, {'Host',"acralyzer.cloudapp.net:5984"}, {'User-Agent',"Android"}] [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.18350.0>] OAuth Params: [] [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.18350.0>] Minor error in HTTP request: {not_found,missing} [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.18350.0>] Stacktrace: [{couch_httpd_db,couch_doc_open,4}, {couch_httpd_db,handle_design_req,2}, {couch_httpd_db,do_db_req,2}, {couch_httpd,handle_request_int,5}, {mochiweb_http,headers,5}, {proc_lib,init_p_do_apply,3}] [Fri, 12 Apr 2013 14:52:25 GMT] [info] [<0.18350.0>] 193.253.141.153 - - PUT /acra-test1/_design/acra-storage/_update/report/0eca46ad-d4b6-4624-aa14-0006804630bf 404 [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.18350.0>] httpd 404 error response: {"error":"not_found","reason":"missing"}

[Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.18355.0>] 'PUT' /acra-test1/_design/acra-storage/update/report/0eca46ad-d4b6-4624-aa14-0006804630bf {1, 1} from "193.253.141.153" Headers: [{'Accept',"text/html,application/xml,application/json,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/_;q=0.5"}, {'Authorization',"Basic c3ZzaW5ub3Y6SW5ub3ZhdGkwbjQ0"}, {'Connection',"Keep-Alive"}, {'Content-Length',"19509"}, {'Content-Type',"application/json"}, {'Host',"acralyzer.cloudapp.net:5984"}, {'User-Agent',"Android"}] [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.18355.0>] OAuth Params: [] [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.18355.0>] Minor error in HTTP request: {not_found,missing} [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.18355.0>] Stacktrace: [{couch_httpd_db,couch_doc_open,4}, {couch_httpd_db,handle_design_req,2}, {couch_httpd_db,do_db_req,2}, {couch_httpd,handle_request_int,5}, {mochiweb_http,headers,5}, {proc_lib,init_p_do_apply,3}] [Fri, 12 Apr 2013 14:52:25 GMT] [info] [<0.18355.0>] 193.253.141.153 - - PUT /acra-test1/_design/acra-storage/_update/report/0eca46ad-d4b6-4624-aa14-0006804630bf 404 [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.18355.0>] httpd 404 error response: {"error":"not_found","reason":"missing"}

[Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.17154.0>] 'PUT' /acra-test1/_design/acra-storage/update/report/2a16de74-489f-4207-9611-547415fb8a77 {1, 1} from "193.253.141.153" Headers: [{'Accept',"text/html,application/xml,application/json,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/_;q=0.5"}, {'Authorization',"Basic c3ZzaW5ub3Y6SW5ub3ZhdGkwbjQ0"}, {'Connection',"Keep-Alive"}, {'Content-Length',"19957"}, {'Content-Type',"application/json"}, {'Host',"acralyzer.cloudapp.net:5984"}, {'User-Agent',"Android"}] [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.17154.0>] OAuth Params: [] [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.17154.0>] Minor error in HTTP request: {not_found,missing} [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.17154.0>] Stacktrace: [{couch_httpd_db,couch_doc_open,4}, {couch_httpd_db,handle_design_req,2}, {couch_httpd_db,do_db_req,2}, {couch_httpd,handle_request_int,5}, {mochiweb_http,headers,5}, {proc_lib,init_p_do_apply,3}] [Fri, 12 Apr 2013 14:52:25 GMT] [info] [<0.17154.0>] 193.253.141.153 - - PUT /acra-test1/_design/acra-storage/_update/report/2a16de74-489f-4207-9611-547415fb8a77 404 [Fri, 12 Apr 2013 14:52:25 GMT] [debug] [<0.17154.0>] httpd 404 error response: {"error":"not_found","reason":"missing"}

[Fri, 12 Apr 2013 14:52:33 GMT] [debug] [<0.17150.0>] 'GET' /log?bytes=50000 {1,1} from "171.16.210.1" Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,/_;q=0.8"}, {'Accept-Encoding',"gzip, deflate"}, {'Accept-Language',"fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3"}, {'Cache-Control',"no-cache, no-cache, no-cache"}, {'Connection',"keep-alive"}, {'Cookie',"AuthSession=c3ZzaW5ub3Y6NTE2ODFGNzA6Xh9uoTBhi-LGV2eTI0Tove-hHVk"}, {'Host',"acralyzer.cloudapp.net:5984"}, {'Pragma',"no-cache, no-cache, no-cache"}, {'User-Agent',"Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/20100101 Firefox/18.0"}, {'Via',"1.1 web-lille1.sncf.fr:8080 (IronPort-WSA/7.1.3-021)"}, {"X-Imforwards","20"}]

It seems to be linked to the version of couchDB because, I try to report the same bug on my old environment : Acra 4.5.0-alpha2-SNAPSHOT Couchdb 1.0.1 and it works

The problem is that the version of couchDB 1.2.x isn't anymore available for download (after a first search, i will continue to searhc this version ;) )

Can you please help me with this problem ?

KevinGaudin commented 11 years ago

My IrisCouch instance has been upgraded to 1.3.0 and posting reports still work.

Connecting to your futon instance, I can see that you pushed the acralyzer couchapp in acra-test1 where you should have pushed acra-storage.

jefBinomed commented 11 years ago

+1 it works

KevinGaudin commented 11 years ago

\o/