May 4, 2011

Error: Rate limit reached for gpt-4-vision-preview | Page 2 | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

No permission to create posts
sp_TopicIcon
Error: Rate limit reached for gpt-4-vision-preview
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
February 12, 2024
6:09 am
Avatar
CyberSEO
Admin
Forum Posts: 3909
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
21sp_Permalink sp_Print
0

DALL-E 3 is about image quality. It won't help with your server settings. Did you change the Login to see this link value in your php.ini? The problem won't go away until you fix this setting on your server.

February 12, 2024
2:08 pm
Avatar
des.c2
Member
Members
Forum Posts: 34
Member Since:
January 26, 2024
sp_UserOfflineSmall Offline
22sp_Permalink sp_Print
0

Да, я установил для max_execution_time значени 7200.  И это не помогло.

February 12, 2024
3:15 pm
Avatar
CyberSEO
Admin
Forum Posts: 3909
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
23sp_Permalink sp_Print
0

In this situation the only place we can find the answer is in your PHP error log on the server. Please check it. There is no other way to find out what the problem is.

February 12, 2024
5:15 pm
Avatar
des.c2
Member
Members
Forum Posts: 34
Member Since:
January 26, 2024
sp_UserOfflineSmall Offline
24sp_Permalink sp_Print
0

Это содержимое моего log php:

Login to see the quote

А это содержимое журнала ошибок из панели управления VPS:

Login to see the quote

February 12, 2024
5:29 pm
Avatar
CyberSEO
Admin
Forum Posts: 3909
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
25sp_Permalink sp_Print
0

These are not errors, just warnings. However, I'd like to look at your feed settings to reproduce these warnings, because they need to be fixed, even if they're not critical.

As for the main problem. Sometimes error messages are redirected to the log files of the web server (e.g. Apache or Nginx) instead of the PHP error log. Check your web server log files:

  • For Apache, this is typically error.log, which can be found in /var/log/apache2/ or /var/log/httpd/ depending on your distribution.
  • For Nginx, look for the error.log file, usually located in /var/log/nginx/.

Ensure that your web server is configured to log errors and that you have access to these log files. You might find error messages related to PHP scripts here, especially if the error is causing the script to terminate unexpectedly.

  • Some hosting providers or server configurations might have hard limits that override individual script or php.ini settings. It's worth contacting the hosting support to verify if such limits are in place.
  • If the server uses a control panel like cPanel or Plesk, the PHP handler (e.g., suPHP, FastCGI, DSO, etc.) might affect how PHP settings are applied. Ensure that the PHP handler supports user-level php.ini changes or .htaccess directives.
  • Sometimes, the issue might not be with PHP execution time but with other resource limits like memory limits, CPU usage, or database query times. Analyzing broader server resource usage during script execution might provide insights.

Given that the issue is not related to script logic (which would have been visible in the Syndicator log) nor a PHP code error (which would have been evident in the PHP error log), the problem is likely due to your server's configuration. Please understand that in this matter, there's very little I can assist with, as I neither have access to your server nor the requisite permissions. My assistance can only extend to the first two scenarios, which involve simple adjustments to the plugin settings or fixing code errors (should there be any). Unfortunately, configuring the server is beyond my capacity to help.

February 12, 2024
5:42 pm
Avatar
des.c2
Member
Members
Forum Posts: 34
Member Since:
January 26, 2024
sp_UserOfflineSmall Offline
26sp_Permalink sp_Print
0

Эта проблема возникает когда включена функция -

Login to see this link - preset

February 12, 2024
5:47 pm
Avatar
CyberSEO
Admin
Forum Posts: 3909
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
27sp_Permalink sp_Print
0

You mean the warnings? If you're not importing a video XML feed (the one that contains .mp4 files), the "Store videos locally" option must be unchecked. A preset file won't help either. You need to select your feed and export it to a file. Then just email it to Login to see this link.

February 12, 2024
9:28 pm
Avatar
des.c2
Member
Members
Forum Posts: 34
Member Since:
January 26, 2024
sp_UserOfflineSmall Offline
28sp_Permalink sp_Print
0

Нет. Я говорю про эту опцию Store images locally. Когда ее включаю, то выполнение скрипта зависает на этом моменте:

Login to see the quote

Если ее выключить то выполнение скрипта происходит нормально.

February 12, 2024
9:36 pm
Avatar
CyberSEO
Admin
Forum Posts: 3909
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
29sp_Permalink sp_Print
0

Now everything is clear. You have an issue with the GdImage library. Unfortunately, some versions on certain servers crash during the execution of Login to see this link

There is no error in the PHP log because GdImage doesn't throw an error in code. It crashes Apache itself.

February 13, 2024
1:35 pm
Avatar
des.c2
Member
Members
Forum Posts: 34
Member Since:
January 26, 2024
sp_UserOfflineSmall Offline
30sp_Permalink sp_Print
0

К сожалению в моем случае переключение на CGI mode не помогает... Возможно есть еще какие то решения этой проблемы?

February 13, 2024
1:38 pm
Avatar
CyberSEO
Admin
Forum Posts: 3909
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
31sp_Permalink sp_Print
0

No, there is no solution on the code side, so this is a server-side problem. I gave a link to its discussion on the web. Perhaps one of the solutions that worked for others will work for you. It might make sense to increase the amount of memory allocated to the PHP process by the server. The fact that GdImage loads the entire image file into the server memory in an unpacked RAW format, so its a very Login to see this link.

Please note that there are no other topics about this issue with the "Save images locally" option. This is because it's a very rare problem.

Also note the "Thumbnail source size" option in your feed settings. If the "Save images locally" option uses the getimagesize() function only in some scenarios (i.e. - not always), the "Thumbnail source size" option uses it in every single case if it is enabled.

February 13, 2024
2:11 pm
Avatar
des.c2
Member
Members
Forum Posts: 34
Member Since:
January 26, 2024
sp_UserOfflineSmall Offline
32sp_Permalink sp_Print
0

При включенном CGI mode он вообще стал зависать на этапе генерации разделов.

Так же в журнале ошибок сервера есть такая ошибка: Timeout waiting for output from CGI script

Login to see the quote

February 13, 2024
3:06 pm
Avatar
CyberSEO
Admin
Forum Posts: 3909
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
33sp_Permalink sp_Print
0
If the script stops working while waiting for a response from an external service, such as OpenAI GPT, it is due to the PHP interpreter on your server stopping after the execution time set in its settings has elapsed. In any case, you understand that both cases described in this topic are not related to the plugin and cannot be resolved at the program level? They can only be resolved by your server administrator and no one else.
February 13, 2024
8:12 pm
Avatar
des.c2
Member
Members
Forum Posts: 34
Member Since:
January 26, 2024
sp_UserOfflineSmall Offline
34sp_Permalink sp_Print
0

Да, я понял что проблема на уровне сервера. Пока что она решилась включением CGI mode и уменьшением количества генерации разделов. Буду разбираться дальше в том что еще может ограничивать выполнение скрипта по времени. 

У меня еще такой вопрос. Как можно сделать генерацию изображений к каждому разделу(h2) статьи?

February 13, 2024
8:18 pm
Avatar
CyberSEO
Admin
Forum Posts: 3909
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
35sp_Permalink sp_Print
0

If you suggest some kind of user interface for configuring this process, for example, one that extends the existing interface in the "Media enrichment" tab, then it can be implemented.

February 13, 2024
8:36 pm
Avatar
des.c2
Member
Members
Forum Posts: 34
Member Since:
January 26, 2024
sp_UserOfflineSmall Offline
36sp_Permalink sp_Print
0

Скажите, может быть есть template типа %random_image[here hint]% только для генерации с помощью DALLE?

И подскажите можно ли использовать shortcode в shortcode Например так:[gpt_article [dalle] ] ?

 

February 13, 2024
8:46 pm
Avatar
CyberSEO
Admin
Forum Posts: 3909
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
37sp_Permalink sp_Print
0

The placeholder %random_image[]% exists and should be used in the HTML template of the post. Specifically, in the template, because the plugin will replace it with a link to an image. The shortcode [gpt_article] is also used in the post template and is replaced with the HTML code of the generated article. It contains parameters for GPT that determine the content of this article - after all, it's generated by AI based on your prompt. How do you intend to insert another shortcode - [dalle], which the plugin will replace with an <img> HTML code containing an image, into the GPT prompt? There must be a certain logic in the system of shortcodes and placeholders. It should have a scheme and a clear, understandable structure. What you are proposing is difficult even for a person to understand, let alone for a script to comprehend how it should work...

February 13, 2024
9:31 pm
Avatar
des.c2
Member
Members
Forum Posts: 34
Member Since:
January 26, 2024
sp_UserOfflineSmall Offline
38sp_Permalink sp_Print
0

При выполнение ⏩ Pull selected feeds now! я в своем браузере получаю ошибку 504. Это может как то сказаться на работе скрипта?

February 13, 2024
9:49 pm
Avatar
CyberSEO
Admin
Forum Posts: 3909
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
39sp_Permalink sp_Print
0

No, a 504 error means that the server, while acting as a gateway or proxy, did not get a response in time from the upstream server that it needed in order to complete the request. It occurs because you are apparently using the free plan of Cloudflare, which disconnects the browser's connection to the site after 100 seconds. This in no way prevents the script from continuing to execute on the server and completing its work as usual.

February 13, 2024
10:02 pm
Avatar
des.c2
Member
Members
Forum Posts: 34
Member Since:
January 26, 2024
sp_UserOfflineSmall Offline
40sp_Permalink sp_Print
0

Большое спасибо за Ваши ответы и терпение )

No permission to create posts
Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
32 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2816

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1625

Posts: 8271

Newest Members:

jeremyboucher, lthompson2709, MAC, duty3canada, backlinkmorocco, dmitrypehovskiwork

Administrators: CyberSEO: 3909