The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Need Fix | Excessiv...
 
Notifications
Clear all

Bug Need Fix | Excessive Number of Gravatar HTTP Calls (Backend)

8 Posts
2 Users
2 Reactions
689 Views
Posts: 127
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@aerostar)
Estimable Member
Joined: 6 years ago
[#10969]

Good Day,

Query Monitor is detecting an excessive (and frequent) number of Gravatar HTTP calls in the backend.

This condition is impacting our website performance. This is not a unique issue, it affects all of your plugin users. As a result, we are blocking the HTTP calls via PHP code.

Details: https://prnt.sc/Fyonr-J61Zbc

Please review your plugin and provide a fix for the noted condition. Previous revisions of your plugin did not have this issue.

Thank you!


7 Replies
Asti
Posts: 8211
 Asti
Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@asti)
Illustrious Member
Joined: 8 years ago

Hi,

I’m sorry, but there is no way to disable this feature. It is designed to work this way.


Reply
Posts: 127
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@aerostar)
Estimable Member
Joined: 6 years ago

Hi @asti,

Unfortunately, that is not acceptable on the basis that:

1. Prior to Revision 7.6.31, the issue was not present.

2. There is an excessive (and unnecessary) number of backend HTTP calls to www.gravatar.com

3. Blocking all gravatar calls in the backend have not produced any issues on the frontend.

So, based on the above:

1. Please explain why so many HTTP calls now?

2. How can we limit the number of calls to once daily? I highly recommend updating your plugin to reflect that in action scheduler. Also, until your plugin is updated, please provide a code snippet or wp-config rule to accomplish this.

Thank you!

 


Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8211
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@aerostar 

The request is sent to retrieve avatars from Gravatar.

If you don’t want to make so many requests, you can remove the values from the two following options so that the requests are not sent.

image

Reply
Posts: 127
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@aerostar)
Estimable Member
Joined: 6 years ago

Hi @asti,

Unfortunately, what you provided will not work since we are using one of the fields as noted below.

Screenshot 2

Again, the gravatar.com HTTP calls are excessive and unnecessary. Please update your plugin code to introduce a scheduled action (cron) that will check the gravatars once per day (not every 10-20 seconds). 

To verify our findings (again), please install the plugin Query Monitor to view the HTTP calls and frequency. 

Thank you.

 


Reply
Posts: 127
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@aerostar)
Estimable Member
Joined: 6 years ago

Hey @asti,

Got updates? What's going on?

I noticed the gravatar.com HTTP API calls -- previously detected and reported by Query Monitor -- have stopped.

Please advise 🙂

Thank you!


Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8211
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@aerostar 

The development team has been informed about this topic. I’ll update this thread once there’s any news for you.


Reply
Posts: 127
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@aerostar)
Estimable Member
Joined: 6 years ago

Hi @asti,

Update: So, Query Monitor no longer shows the backend API calls from gravatar.com, but our php_errorlog (see below) is still detecting and receiving a huge number of gravatar.com API calls per hour/day.

excessive gravatr calls

This is unacceptable.

We are blocking the API calls generated by your plugin, and are not having any issues on the backend/frontend.

In short, please fix your plugin to stop these API calls from gravatar.com. Also, please update your documentation to reflect what your plugin is doing in the backend.

Sneaky and excessive (or unnecessary) API calls do not help anybody.

Thank you!

 


Reply
Share: