Page 1 of 2

Signature Image Issues

Posted: 07 Jan 2017 04:41
by Redirect Left
Possibly related to the SSL-ation of the forum a while back, but that thread is now locked.

My signature has reverted back to its bugged version back when the SSL stuff was introduced. I've checked the BBCode, and its still correctly set so the BBCode has not gone awry - however the signature image doesn't show (and i've checked, the image is still being produced correctly) If you go to the image link produced by the forum, it gives a 502 Bad Gateway.

I have noticed the same error appears in Emperor Jakes signature, noticed on the last post of the SSL thread here.

Has something been rolled back relating to the fix you did in the past Owen?

Re: Signature Image Issues

Posted: 07 Jan 2017 09:15
by orudge
Hmm, I think I had to manually replace the version of the camo image proxy being used - maybe it's been reverted. I'll need to check.

That said, your signature looks fine to me!

Re: Signature Image Issues

Posted: 07 Jan 2017 09:33
by WWTBAM
I can't see the image in Redirect Left's signature. Running Google Chrome on Windows 10 (14986).

Re: Signature Image Issues

Posted: 07 Jan 2017 10:50
by Hyronymus
Same for more signature images, including mine.

Re: Signature Image Issues

Posted: 07 Jan 2017 14:12
by Chrill
I can see my own signature photo, but not those of Redirect and Hyro.

Re: Signature Image Issues

Posted: 07 Jan 2017 18:07
by AndersI
I can see yours, but not mine.

/OK, now it's back again!

Re: Signature Image Issues

Posted: 07 Jan 2017 20:37
by orudge
Images should be working again now; the SSL proxy was down it seems.

If you've got signature images hosted on TT-Forums, you can change the [img] tags to reference https://www.tt-forums.net/. Likewise, users.tt-forums.net is available over SSL too (https://users.tt-forums.net/whatever).

Re: Signature Image Issues

Posted: 07 Jan 2017 22:46
by Redirect Left
All working again now, at least for me.
Hopefully the SSL proxy will remain stable?

Re: Signature Image Issues

Posted: 07 Jan 2017 23:52
by orudge
Hopefully; it was up for a few months quite happily. Not sure why it fell over. Sorry about that!

Re: Signature Image Issues

Posted: 14 Feb 2017 21:18
by AndersI
It seems the problem is back? My signature is empty of pictures...

And I can't link to pictures in the post, either?

Image

Re: Signature Image Issues

Posted: 14 Feb 2017 21:31
by Pilot
Indeed, seems to be back, I can't see Anders', Leftie's or Hyro's, but I can see Chrill's.

I'm using Chrome, I don't know if that makes a difference as to whether it would work or not.

Re: Signature Image Issues

Posted: 14 Feb 2017 21:35
by Redirect Left
Yup. It's been gone again for about 2-3 days that i have noticed.
Pilot wrote: I'm using Chrome, I don't know if that makes a difference as to whether it would work or not.
I'm using Firefox, so i don't think so. Also same on my phone, which uses a mobile version of Chrome.

Re: Signature Image Issues

Posted: 15 Feb 2017 04:30
by Sylf
It's the issue with the SSL certificate for imageproxy.tt-forums.net - it expired on 12 Feb.

Re: Signature Image Issues

Posted: 15 Feb 2017 07:03
by Chrill
Yes, the problem has returned for me. Once more I can see my own signature but many others are missing.

Re: Signature Image Issues

Posted: 15 Feb 2017 22:20
by orudge
Blargh, I updated the SSL certificate for the main web server, but totally forgot about imageproxy. Sorry!

EDIT: Or rather, it seems nginx just hadn't been restarted...

Re: Signature Image Issues

Posted: 15 Feb 2017 22:34
by Redirect Left
Yup. It seems to all be functional again, cheers!

Re: Signature Image Issues

Posted: 19 Apr 2017 13:19
by Redirect Left
Having a new issue.

The proxy seems to be caching things, and not looking for an updated image. This has broken my signature. It's currently stuck at one from a while ago.

The latest version of the image is here; http://thefoxbox.xyz/last_train/out.php - however the signature has not updated and is currently displaying one from a while ago.

I've tried this on two computers, and one Raspberry Pi that had no previous contact with this forum to have any cached version of the signature. So i'm fairly sure its the actual proxy caching things and not displaying the new version.

Re: Signature Image Issues

Posted: 21 Apr 2017 09:15
by orudge
Yes, it is caching stuff now, to save bandwidth and to speed things up. It should respect HTTP cache-control headers though. It looks like your signature sends the following HTTP headers:

HTTP/1.1 200 OK
Date: Fri, 21 Apr 2017 09:14:11 GMT
Server: Apache/2.2.22 (Debian)
X-Powered-By: PHP/5.4.45-0+deb7u7
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: image/png

but doesn't include anything to say "don't cache me". Try sticking:

Header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
Header("Cache-Control: post-check=0, pre-check=0", false);
Header("Pragma: no-cache");

into your PHP script, before you write anything else. That should tell the proxy not to cache it.

Re: Signature Image Issues

Posted: 21 Apr 2017 09:24
by Pilot
On an image side of things, is Chrill's Avatar not working for anyone else, or is he just trolling us all by changing it to the file not loading type thing?

Re: Signature Image Issues

Posted: 21 Apr 2017 09:35
by orudge
Chrill's image is working fine. :)