on ‎2018 Oct 25 9:00 AM
when running the full index i am getting the error related to mime type. Error says that Expected mime type application/octet-stream but got text/html. And after this error index.html is printed in the log.
Please find the attached log file.
Appreciate your help.
Thanks in advance
Request clarification before answering.
From your logs, I see "McAfee Web Gateway - Notification". After a quick Google search, I see that it is "a powerful in-line technology designed to protect against contemporary threats delivered via HTTP and HTTPS channels, taking web exploit detection, zero-day, and targeted threat prevention to the next level".
So, it looks like McAfee is blocking Hybris from connecting to Solr. You could probably try to have it temporarily disabled to see if it's the cause of the issue. You probably might need to configure McAfee to allow these connections / activities.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Geff,
Thanks for your reply. To your previous question about accessing solr url from browser,
i am not able to access the solr URL from browser. URL from the exception is like this http://xyz.com:8989/solr/master_product
But the solr admin console URL is below, which is working
http://xyz.com:8989/solr/#/master_product .....
I am not getting how the URL is without /solr/#/master_product in the exception logs
As i am getting a bad url(http://xyz.com:8989/solr/master_product) in exception logs, McAfee is blocking that url. But i am not sure why solr indexing is running with bad url.
What happens if you open http://xyz.com:8989/solr/master_product in the browser? Does it open the McAfee Web Gateway page or something similar?
If that's the case, then it may be related to McAfee. Otherwise, I'd expect to see 404 in the logs, but that's not the case. Instead you see McAfee; look at the HTML in the stacktrace. I suggest to check the environment infrastructure. Something is definitely blocking Hybris from connecting to Solr.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.