• Resolved jacklinkers

    (@jacklinkers)


    Hi,

    I’m getting cURL error 28 with MailPoet (only), having no issue with themes / plugins with activation keys / license check using cURL.

    mailpoet-curl

    • This topic was modified 11 months, 1 week ago by jacklinkers.
Viewing 2 replies - 1 through 2 (of 2 total)
  • OK, lemme elaborate since nobody cares :

    strace debugingg :

    It connects to itself:
    2374
    08:14:05.916240 connect(9, {sa_family=AF_INET, sin_port=htons(443),
    sin_addr=inet_addr(“51.77.0.167”)}, 16) = -1 EINPROGRESS (Operation now
    in progress)
    2374 08:14:05.916634 poll([{fd=9, events=POLLOUT|POLLWRNORM}], 1, 0) = 1 ([{fd=9, revents=POLLOUT|POLLWRNORM}])
    2374 08:14:05.916717 getsockopt(9, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
    2374 08:14:05.916780 getpeername(9, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr(“51.77.0.167”)}, [16]) = 0
    2374 08:14:05.916842 getsockname(9, {sa_family=AF_INET, sin_port=htons(53800), sin_addr=inet_addr(“XX.XX.X.XXX”)}, [16]) = 0

    Does something:
    2374 08:14:06.090238 recvfrom(9, “\26\3\3\1,”, 5, 0, NULL, NULL) = 5
    2374
    08:14:06.090264 recvfrom(9, “\f\0\1(\3\0\35
    4\373/\345i\362\227\1Oc\224h\1\0\10\10\202\5\345-\205g;yv?r\350E\371\265Z\10\4\1\0%\367\272\2775Z\254\275\f\216\200\226\335\222f\205\266\222\327\300\327o\370q\202\301)\302\f\312\207\317\255y\262\202\363\331\262\t\352ge\215\26?\360M\30\260\351\271\22;\360e~\277%\367\26_\273\25\251\321h\231\330p;\256\17\322O\2362\235\245\307\22\301\376\375;ct\263\316\252\345ab\340\215wZ\274\233\243mH\\\302\202w\237\310\372\206tD\255\32\245s\260\200DW&\6\276\1iC[\355\6\304\330\263\34\3640\240r\3033\21\250\207$\321\230\16\25\274\204\347\323\304\355\7\322\317[\2\252t\263\223^9\251D\334IA\21\331\25\276~Ee\331\363<\300\345\301\254,\207\342\272\202hJ\16\244\214\345\7\252~\231\203\\DP\24\fE\240VN\325Id\37E\3634\323\325J\307i2\351\25\342b-\273q0\247q\314\216\223\210\274\316\223\21z\34\231\370^\6\226w\177\344\362\310~q”,>

    Sends something to apache(LiteSpeed) and wait for response, not getting it so timeouts after the DAEMON_REQUEST_TIMEOUT reached in /var/www/vhosts/HIDDENDOMAINNAME.com/httpdocs/wp-content/plugins/mailpoet/lib/Cron/CronHelper.php file (currently set to 5 second, same with 35 seconds in it):

    2374 08:14:06.090422 recvfrom(9, “\26\3\3\0\4”, 5, 0, NULL, NULL) = 5
    2374 08:14:06.090450 recvfrom(9, “\16\0\0\0”, 4, 0, NULL, NULL) = 4
    2374
    08:14:06.090746 sendto(9, “\26\3\3\0%\20\0\0!
    ty-QOR\300^jd\tf\302\216\323g\\\177<_’\265\243\364d\320oA\311+\33?\24\3\3\0\1\1\26\3\3\0(\0\0\0\0\0\0\0\0\317\322X\212\4\376\315{G`\20:\231<#\7\234\222\204y\341\353\344t\232\254\v/\236i\177\221”,
    93, 0, NULL, 0) = 93
    2374 08:14:06.090789 recvfrom(9, 0x1778b60, 5, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
    2374 08:14:06.090822 poll([{fd=9, events=POLLIN}], 1, 1000) = 1 ([{fd=9, revents=POLLIN}])
    2374 08:14:06.090911 recvfrom(9, “\24\3\3\0\1”, 5, 0, NULL, NULL) = 5
    2374 08:14:06.090939 recvfrom(9, “\1”, 1, 0, NULL, NULL) = 1
    2374 08:14:06.090966 recvfrom(9, “\26\3\3\0(“, 5, 0, NULL, NULL) = 5
    2374
    08:14:06.090991 recvfrom(9,
    “\0\0\0\0\0\0\0\0\343\34*\311h\367\324\216/\2\215\262\336\234\350)0v\261\204\23\1\240\267l\363\264d\f\t\303\367”,
    40, 0, NULL, NULL) = 40
    2374 08:14:06.091090 sendto(9,
    “\27\3\3\1\254\0\0\0\0\0\0\0\1\267\354\303O\356\300URB7M\203K_\242F\214\22HZ\312\320*>P\272\226\246\375\22b\6X\365\235\340\205lm\202fk\347!\262\4.\235H7k\324\6\222~\26\311\246\r\373\27*oYPEvDS6l\300e\266\265NN\361\313eV\211\1~j\320\270\276\252\200TR\226y\343y\262\217\367\372\225\243\244jIX_\244-OL\316\335\206\6\2\3\”uo\34\222KZ&H\347\\0\26\217\303\3,\341\272\332\210\207\207~\262\273\216\254\232\214\221\260\24\312\23\370)\324F3F\”y$\237\5\302\267\240U\201\247\17\226\373E\37\34

    \0075\367\34\202\215YZQh\242b\374O:\212\300N\177\5\323\3665\304^\3677Y$\354\351w\254i\30#\351\341\345S\226\351\203k\341\33\361\323y\3\311z\343\327\213gd\254G&x\5C\210\37\323HR\351\207*r\257\2030\3758\266\203w\230\213\33\r\227\265\2025I:\265\332.\336@\237\37a\340Jo\323.\2720\22\10\210<\223\4t\fN\350\210r\215\7\217\345/.U\300\231\322L\336\221Yg\17\177/.\270L\213\223\5’\2274rBB\202\22\17\334\\:G\6\322n\344\225\32\340_P\216\352\35\323\353\20f\316\376N9\307\346\r\273\17\242\32*\361U\241\204\177\346\240\336’\337\304{\272\260J\24\234\377\252\25\302\214\vA\344C\300\324\236\272>r\212y\353\244\305i/\253OhS\217\307Ii\236P\254&w!\202\205W\252hF\17\300\257”,
    433, 0, NULL, 0) = 433
    2374 08:14:06.091136 poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
    2374 08:14:06.091172 poll([{fd=9, events=POLLIN}], 1, 1000
    2374 08:14:07.092239 <… poll resumed> ) = 0 (Timeout)
    2374 08:14:07.092265 poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0
    2374 08:14:07.092292 <… poll resumed> ) = 0 (Timeout)
    2374 08:14:07.092314 poll([{fd=9, events=POLLIN}], 1, 1000
    2374 08:14:08.093384 <… poll resumed> ) = 0 (Timeout)
    2374 08:14:08.093443 poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0
    2374 08:14:08.093502 <… poll resumed> ) = 0 (Timeout)
    2374 08:14:08.093556 poll([{fd=9, events=POLLIN}], 1, 1000
    2374 08:14:09.094746 <… poll resumed> ) = 0 (Timeout)
    2374 08:14:09.094922 poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
    2374 08:14:09.095210 poll([{fd=9, events=POLLIN}], 1, 1000
    2374 08:14:10.095414 <… poll resumed> ) = 0 (Timeout)
    2374 08:14:10.095485 poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
    2374 08:14:10.095544 poll([{fd=9, events=POLLIN}], 1, 1000
    2374 08:14:11.096730 <… poll resumed> ) = 0 (Timeout)
    2374 08:14:11.096888 poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
    2374 08:14:11.097133 poll([{fd=9, events=POLLIN}], 1, 1000
    2374 08:14:12.098375 <… poll resumed> ) = 0 (Timeout)
    2374 08:14:12.098561 poll([{fd=9, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)

    WTF exactly plugin is doing when called from such cron.

    • This reply was modified 11 months, 1 week ago by jacklinkers.
    Plugin Contributor MailPoet

    (@mailpoet)

    @jacklinkers the plugin is keeping the Task Scheduler active: https://kb.mailpoet.com/article/129-what-is-the-newsletter-task-scheduler

    You can install this plugin to increase the cURL timeout value: https://wordpress.org/plugins/reid-plugins-curl-options/

    Use the CURLOPT_TIMEOUT variable and set it to “10” as in 10 seconds.

    Let us know if that helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cURL error 28’ is closed to new replies.