weird error message in solr - solr

I'm using solr and I got following error message:
Exception in thread "main" org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html.

This means that your Solr server is outputting HTML instead of the expected binary data. This usually happens because it's throwing an error and displaying an error page, and not returning any useful information for SolrJ itself.
Check the server container log for useful information to see what the error is on the server side and fix that first.

Related

How to view details for error message "Bad Request" for Query API

Is there a way to see error details for debugging requests to the Query API?
I am using OkHttpClient to make POST calls to the search endpoint.
I am getting the following error message:
Bad Request
However, there are no other details in the error message returned by Vespa for trying to debug the error.
I also tried using the vespa-logfmt CLI tool, but there were no other error messages on in the server logs indicating what went wrong with the request.
Sorry, I was able to figure this out on my own. It ended up being an issue with OkHttp rather than Vespa.
I was using Response.message, but I needed to actually use Response.body().string() to see the full error output.
Apologies for the confusion.

Wordpress PHP Warning: Error while sending QUERY packet. PID=7350

“Warning: Error while sending QUERY packet.”
I am getting this error again and again. i contact to my host and they set all configuration according to need but still getting same error and my website is not work properly because of this error.
Please let me know if you have any solution regarding this error.
Thanks

Moodle Global Search issue

I want Global Search in Moodle. I have configured Solr Server
But i am getting the below error message.
Solr client error: Unsuccessful system request : Response Code 404.
HTTP ERROR 404
Problem accessing /solr/moodle/admin/system/. Reason:
I am new to Moodle and dont know much about it.
First of all check that you installed php solr2 extension, see doc here :
https://docs.moodle.org/31/en/Global_search#How_to_install_Solr
Also to understand Moodle errors you need to enable debug, see doc here :
https://docs.moodle.org/31/en/Debugging

ssis web service task error

Hi i am using a web service which is basically use for sending the mail . For this i am using web service task in SSIS and this service input parameter is text message in which i am passing a return XML code from execute sql task. when i run my package it's give me below error:
"The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:strProdUserDataXML. The InnerException message was 'There was an error deserializing the object of type System.String. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 131, position 57.'. Please see InnerException for more details."
One thing i checked if i pass small xml code in text message parameter than it don't gives error.
Please help me how can i increase the size using web service task in ssis

Google app engine down: Server Error

I built a system running on: http://www.hijgoo.com.tw and all the sudden, there was the following message and it did persist. I am using GAE SDK 1.7.2 with Python 2.7. Can anyone help?
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.
Looks like you have a session that does not contain the key account, but your code assumes that it does.
The reason for this isn't easy to see without the actual code, but it sounds like a programming error.

Resources