Opened 3 years ago
Closed 3 years ago
#21 closed defect (fixed)
Apache Solr HTTP 400 Bad Request Errors
Reported by: | chris | Owned by: | chris |
---|---|---|---|
Priority: | major | Milestone: | Maintenance |
Component: | drupal | Version: | |
Keywords: | Cc: | gillian.jenny | |
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0.61 |
Description
There are lots of errors like this in the dblog:
Type Apache Solr Date Wednesday, June 17, 2015 - 15:53 User Anonymous Location http://www.crin.org/fr/biblioth%C3%A8que/archives-des-actualit%C3%A9s?page=8 Message HTTP 400; Bad Request: Bad Request Severity error
And
Type Apache Solr Date Wednesday, June 17, 2015 - 15:53 User Anonymous Location http://www.crin.org/fr/biblioth%C3%A8que/archives-des-actualit%C3%A9s?page=8 Message HTTP Status: 400; Message: Bad Request: Bad Request; Response: <html><head><title>Apache Tomcat/7.0.56 (Debian) - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 400 - undefined field hash</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>undefined field hash</u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.56 (Debian)</h3></body></html>; Request: GET /solr/select?start=0&rows=5&fq=hash%3A7as1z6&fq=hash%3A7as1z6&q=id%3A7as1z6%2Fnode%2F266&qt=mlt&fl=entity_id%2Centity_type%2Clabel%2Cpath%2Curl%2Chash%2Csite&mlt.fl=path_alias%2Ctaxonomy_names&mlt.mintf=1&mlt.mindf=1&mlt.minwl=3&mlt.maxwl=15&mlt.maxqt=20&wt=json&json.nl=map HTTP/1.0 User-Agent: Drupal (+http://drupal.org/) Host: localhost:8080 ; Caller: call_user_func_array() (line Inconnu of Inconnu) Severity error
Requests for pages such as the one in the example above generate both the above errors.
Change History (1)
comment:1 Changed 3 years ago by chris
- Add Hours to Ticket changed from 0 to 0.61
- Resolution set to fixed
- Status changed from new to closed
- Total Hours set to 0.61
Note: See
TracTickets for help on using
tickets.
Looking at the Solr admin interface noting looks wrong, checked the GreenQloud server and we didn't have this error there.
Comparing the files in /etc/solr/conf on the GreenQloud and Crin2 servers.
The files which are different:
These were backed up and the ones from GreenQloud were copied over:
Restart tomcat:
And we don't have these errors in the dblog, so sorry for not copying these files over earlier, closing this ticket.