cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Solr full index error related to mime type

Former Member
0 Likes
1,803

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

link text

Accepted Solutions (0)

Answers (1)

Answers (1)

geffchang
Active Contributor
0 Likes

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.

Former Member
0 Likes

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.

geffchang
Active Contributor
0 Likes

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?

geffchang
Active Contributor
0 Likes

Anyway, I think you might also want to check with your Network Administrator if McAfee Web Gateway might have something to do with it.

Former Member
0 Likes

It says Http error 404 , not found . Nothing related to McAfee !!!!

geffchang
Active Contributor
0 Likes

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.

geffchang
Active Contributor
0 Likes

By the way, is Hybris, Solr, and McAfee on your local, or is it in Production server (or lower server)?

Former Member
0 Likes

Hybris, Solr,McAfee all in production server Geff

geffchang
Active Contributor
0 Likes

Ask your Network/Systems Administrator to check if McAfee is showing any logs blocking Hybris/Solr. Or you can temporarily disable it to confirm if the indexing will continue/finish.

geffchang
Active Contributor
0 Likes

Were you able to find the cause of the issue?