Skip Menu |

This queue is for tickets about the Template-Plugin-Gravatar CPAN distribution.

Report information
The Basics
Id: 111553
Status: resolved
Priority: 0/
Queue: Template-Plugin-Gravatar

People
Owner: Nobody in particular
Requestors: GHENRY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.09
Fixed in: 0.09



Subject: "NetworkError: 504 Gateway Timeout - http://i0.wp.com/penny.surevoip.co.uk/img/SureVoIP-icon-80x80.png"
Hi, I'm using this: [% USE Gravatar %] <img class="img-circle" src="[% Gravatar(email => c.user.mail.first OR c.user.mail, default => c.uri_for('/img/SureVoIP-icon-80x80.png'), size => 80 ) | html %]" title="Your Avatar from http://www.gravatar.com" alt="Your Gravatar image"> And firebug shows: "NetworkError: 504 Gateway Timeout - http://i0.wp.com/penny.surevoip.co.uk/img/SureVoIP-icon-80x80.png" So I'm using an absolute URI, but it's trying to fetch it. The actual URI is http://penny.surevoip.co.uk:3000/img/SureVoIP-icon-80x80.png Thanks.
On 2016-01-29 13:24:05, GHENRY wrote: Show quoted text
> Hi, > > I'm using this: > > [% USE Gravatar %] > <img class="img-circle" src="[% Gravatar(email => c.user.mail.first OR > c.user.mail, > default => > c.uri_for('/img/SureVoIP-icon-80x80.png'), > size => 80 ) | html %]" > title="Your Avatar from http://www.gravatar.com" alt="Your Gravatar > image"> > > And firebug shows: > > "NetworkError: 504 Gateway Timeout - > http://i0.wp.com/penny.surevoip.co.uk/img/SureVoIP-icon-80x80.png" > > So I'm using an absolute URI, but it's trying to fetch it. The actual > URI is http://penny.surevoip.co.uk:3000/img/SureVoIP-icon-80x80.png >
This seems to be a restriction in the gravatar service, bot in the TT plugin. Please read the "Default Image" section on https://en.gravatar.com/site/implement/images/ : MUST be accessible via HTTP or HTTPS on the standard ports, 80 and 443, respectively. So port 3000 cannot work here.
Show quoted text
> ... in the gravatar service, bot in the TT plugin....
"not", not "bot".
Ah, understood. Resolving. Thanks for checking.