XF 1.3 Image & Link Proxy Problem

Sheratan

Well-known member
I know it's still in beta but maybe this will help xenforo

My problem are exactly like the title. Image and link proxy does not working. I've enabling both and put some secret key. There is some log in image log, but zero in link log.

The image log are full with image from https only server. Example, some pics from their facebook profile (Facebook is https). But I don't see any image from non https in image log. A simple test by embedding xenforo logo from this site into a thread still show broken https.

It's nginx + FPM 5.5.8 with latest xcache. And I've trying to disable and clear xcache too but no luck
 
It's Beta 2

I can get link proxy works. But still no luck with image.

I have reload nginx, php-fpm, clear xcache, clear chrome cache but still no luck.
 
Do you have an example of an image that was posted after upgrading to beta 2 that either isn't being proxied when you expect it, or isn't displaying when you expect it?

If all images are failing to display, that's likely an issue with your server connecting externally, such as an outgoing firewall.
 
The image is proxied, but it's a broken image.

Example: https://oniichan.us/threads/test.2111/

Image link (with proxy)
Code:
https://oniichan.us/proxy.php?image=http%3A%2F%2Fi.imgur.com%2Fg06numg.png&hash=9cc6434afcc1ad151a6103ed472c2117

without proxy:
Code:
http://i.imgur.com/g06numg.png

I've disable firewall temporary just for this image proxy test. But still broken.
 
Doesn't work with .webp extensions
250x250xbest-tutorials-of-2013-250x250.jpg.pagespeed.ic.txdqQhF17j.webp
 
It's not that problem specifically -- that behavior is actually designed. But you can force a refresh via the control panel (only on individual images).

I am working on some tools to help get the specific error when retrieving an image, but if you want to submit a ticket with FTP info, I can look into it.
 
So @Mike told me this is part of bug, part of misconfiguration. I had a different "internal_data" path folder (that's the main problem) so perhaps all user who had a same configuration like me, she/he would likely run into this problem.

Just for the record, a tweak has been made. You guys can wait for 1.3 Beta 3 to solve this problem. :)

Another awesome support from xenforo staff. (y)
 
  • Like
Reactions: rdn
FWIW, it wasn't related to the different internal_data path. It appears to be that not everything was migrated when you moved it -- at the least, the temp/ directory within wasn't moved (it did exist in the original location). There are various other places that do use this directory, but they would fall back to /tmp due to how the PHP function tempnam() works, whereas this place uses the location explicitly. The change was to create the directory if necessary.
 
Top Bottom