Edward Brey
Forum Replies Created
-
Forum: Plugins
In reply to: [MF Gig Calendar] RSS feed doesn't workThe reason I’m interested in RSS is for email updates. On a previous version of the Carolyn Carter site, I was using plain-old posts for performances. This led to problems with clearly showing concert dates and locations, as well as grouping old performances by performance date (not post date) in the archive. Your plug-in was the answer to all these problems.
However, the one other feature I had with the old system was a way to automatically send emails of new performances to subscribed fans using the Jetpack plug-in’s feature for emailing posts. Since MF Gig Calendar doesn’t use plain-old posts, the Jetpack approach no longer works. However, MailChimp has a nice feature for doing email campaigns based on RSS feed. The emails it produces are formatted better, so I was looking forward to making the switch – once there is a working RSS feed. 🙂
If you haven’t encountered it yet, there is an excellent online RSS validator to show you the errors.
Seems like it should work fine. I did a test using wp_remote_post directly:
wp_remote_post(‘https://accounts.google.com/o/oauth2/token’, array(‘timeout’ => ’15’, ‘method’ => ‘POST’, ‘body’ => ”) );
The result was the “bad request” that I’d expect from an empty body, not a cannot connect from using an IPv6 address like I get from UpdraftPlus. I can’t reproduce the problem in a small test to show my hosting provider.
So the problem remains a mystery. I decided to switch to DropBox. It was less space for free, but it will be enough for a while and it worked perfectly first try. Thanks all the same for the pointers.
I’m getting a YAGNI response form the hosting provider, a la, maybe someday we’ll support IPv6, so we want to keep the DNS entries there. Lame. Still, there seems to be something peculiar to UpdraftPlus. I did a simple test to see how curl plays on their host:
<pre> <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://www.googleapis-fkepwfkpewfko.com/upload/drive/v2/files?uploadType=media"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); echo "Invalid address: " . curl_error($ch) . "\n"; curl_setopt($ch, CURLOPT_URL, "https://www.googleapis.com/upload/drive/v2/files?uploadType=media"); curl_exec($ch); echo "Valid address: " . curl_error($ch) . "\n"; ?> </pre>The results came back as expected:
Invalid address: Couldn't resolve host 'www.googleapis-fkepwfkpewfko.com' Valid address:Any idea on where to look to understand why UpdraftPlus might be doing doing anything unexpected?
Interestingly, authentication with Google Drive works correctly. I’m guessing that is because authentication uses a redirect link, so it is my browser, not the plugin site connecting to Google. However, the plugin is able to detect that authentication completed successfully. Does it do this by querying something from Google? If so, since that works, it may be a clue to help track down the problem to understand how the authentication connection differs from the upload connection.
As of veresion 1.4.14, the email report is accurate. Now it says:
Site: http://reformationpc.org
UpdraftPlus WordPress backup is complete.
Backup contains: Files and database
Latest status: The backup attempt has finished, apparently unsuccessfullyCheck out UpdraftPlus.Com for help, add-ons and support (http://www.updraftplus.com)
Now if only I could solve the original problem. The folks at webhostingpad say they “made some changes on the server to prioritize the DNS resolve of IPv4 instead of IPv6 first”. However, even after resetting the plugin settings, deactivating it, waiting a couple days, and then reactivating and reauthorizing with Google Drives, I still get IPv6 addresses. Do you know if the DNS result may be cached anywhere or where the code that does the PHP lookup lives? Either of these would be a help to the hosting tech support, which is now placing the blame on the plugin.
I should have thought of that. Here is the email body:
Site: http://reformationpc.org
UpdraftPlus WordPress backup is complete.
Backup contains: Files and databaseNeed even more features and support? Check out UpdraftPlus Premium (http://updraftplus.com)
(I’m not a minister in the official ordained sense – just in the “happy to minister where I can” sense. 🙂