-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Morty Image Proxy Issues #106
Comments
After following this down the rabbit hole, I found out that this error is from Valyala's The only potential way I found to resolve this was through I will leave this issue open in the event that someone else would like to attempt to resolve this bug. I would do so myself but my knowledge of go is extremely limited and |
The error is not with
You should try setting |
I made all of the above changes alongside some within Searx itself. My search results are now working as intended in the Images category. I'll be making a pull request within the next few days to resolve this issue for others that may be impacted. |
With Morty's image proxy enabled in the searx
settings.yml
, I found that some images will not load properly. When disabled, everything will load normally without issues.Searx instance not loading images properly with Morty proxy:
In an attempt to combat the issue I tried changing Morty's timeout value from
5
to10
seconds, but there was no improvement. To go a bit further I attempted to enablefollowredirect
which didn't improve anything either. Since nothing improved, I went back to the default values.I went further and tried inspecting morty itself to get an idea of what was happening and why this seems to be happening when loading images. I got the following output which I shortened to prevent a massive code block since the error is always the same:
Since the issue seems to be related to a timeout error, I tried changing the timeout setting for Morty from
5
to a number that frankly makes no sense,600
. The result is the exact same. I'm not sure exactly why this behavior is happening, but it seems to be the case across all Searx instances that proxy images through Morty. Thought I should share my findings so we can figure out what may be causing the problem and hopefully resolve it if possible.The text was updated successfully, but these errors were encountered: