[DigitalPoint] App for Cloudflare®

[DigitalPoint] App for Cloudflare® 1.8.2

No permission to download
Ok.

I just moved everything over... but I can't get me full images to show. They are broken... however... the thumbnails are all working. How do I fix that?
Is it that attachments (any, not just images) aren't working? If they are already existing attachments you migrated to R2, make sure of a couple things:
  • Make sure you have an internal data bucket enabled (attachments are stored in the internal-data bucket, but thumbnails are stored in the public data bucket).
  • Make sure data migrated to the internal-data bucket has the correct paths (see this post).
Are you getting any errors in your XenForo server error log that might point to what's going on?
 
Last edited:
  • Like
Reactions: JBS
I have a custom script coded by Xon, while running the script via CLI, I encounter this error.

PHP:
Server error log
ErrorException: [E_WARNING] Attempt to read property "reply_count" on null src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php:24
Generated by: Unknown account Jun 3, 2023 at 9:29 PM
    
Stack trace
#0 src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php(24): XF::handlePhpError(2, '[E_WARNING] Att...', '/var/www/...', 24)
#1 src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php(10): DigitalPoint\Cloudflare\XF\Entity\Post->purgeCloudflareCache()
#2 src/XF/Mvc/Entity/Entity.php(1277): DigitalPoint\Cloudflare\XF\Entity\Post->_postSave()
#3 src/XF/Warning/Post.php(49): XF\Mvc\Entity\Entity->save()
#4 src/XF/Entity/Warning.php(160): XF\Warning\Post->onWarningRemoval(Object(Truonglv\ThreadOwnerPerms\XF\Entity\Post), Object(M2N\TrophyEssentials\XF\Entity\Warning))
#5 src/XF/Mvc/Entity/Entity.php(1659): XF\Entity\Warning->_postDelete()
#6 del_warn.php(18): XF\Mvc\Entity\Entity->delete()
#7 {main}
    
Request state
array(1) {
["cli"] => string(12) "custom.php"
}

There seems to be a bug in this addon?
 
I have a custom script coded by Xon, while running the script via CLI, I encounter this error.

PHP:
Server error log
ErrorException: [E_WARNING] Attempt to read property "reply_count" on null src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php:24
Generated by: Unknown account Jun 3, 2023 at 9:29 PM
   
Stack trace
#0 src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php(24): XF::handlePhpError(2, '[E_WARNING] Att...', '/var/www/...', 24)
#1 src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php(10): DigitalPoint\Cloudflare\XF\Entity\Post->purgeCloudflareCache()
#2 src/XF/Mvc/Entity/Entity.php(1277): DigitalPoint\Cloudflare\XF\Entity\Post->_postSave()
#3 src/XF/Warning/Post.php(49): XF\Mvc\Entity\Entity->save()
#4 src/XF/Entity/Warning.php(160): XF\Warning\Post->onWarningRemoval(Object(Truonglv\ThreadOwnerPerms\XF\Entity\Post), Object(M2N\TrophyEssentials\XF\Entity\Warning))
#5 src/XF/Mvc/Entity/Entity.php(1659): XF\Entity\Warning->_postDelete()
#6 del_warn.php(18): XF\Mvc\Entity\Entity->delete()
#7 {main}
   
Request state
array(1) {
["cli"] => string(12) "custom.php"
}

There seems to be a bug in this addon?
I'd say to check if ThreadOwnerPerms is causing this conflict
 
  • Like
Reactions: rdn
I have a custom script coded by Xon, while running the script via CLI, I encounter this error.

PHP:
Server error log
ErrorException: [E_WARNING] Attempt to read property "reply_count" on null src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php:24
Generated by: Unknown account Jun 3, 2023 at 9:29 PM
   
Stack trace
#0 src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php(24): XF::handlePhpError(2, '[E_WARNING] Att...', '/var/www/...', 24)
#1 src/addons/DigitalPoint/Cloudflare/XF/Entity/Post.php(10): DigitalPoint\Cloudflare\XF\Entity\Post->purgeCloudflareCache()
#2 src/XF/Mvc/Entity/Entity.php(1277): DigitalPoint\Cloudflare\XF\Entity\Post->_postSave()
#3 src/XF/Warning/Post.php(49): XF\Mvc\Entity\Entity->save()
#4 src/XF/Entity/Warning.php(160): XF\Warning\Post->onWarningRemoval(Object(Truonglv\ThreadOwnerPerms\XF\Entity\Post), Object(M2N\TrophyEssentials\XF\Entity\Warning))
#5 src/XF/Mvc/Entity/Entity.php(1659): XF\Entity\Warning->_postDelete()
#6 del_warn.php(18): XF\Mvc\Entity\Entity->delete()
#7 {main}
   
Request state
array(1) {
["cli"] => string(12) "custom.php"
}

There seems to be a bug in this addon?
This could happen (in theory) if there was a problem with some database records... specifically if you were deleting an orphaned post (a post that is assigned to a thread that doesn't exist). It does make sense to handle that situation better within the addon (don't do what it's trying to do with the thread if the thread doesn't exist), so that will be part of the next version.
 
  • Love
Reactions: rdn
digitalpoint updated [DigitalPoint] App for Cloudflare® with a new update entry:

A couple minor changes

  • Guest page caching will work properly when a page immediately fires an AJAX request
  • Don't try to purge Cloudflare's cache when using guest page caching and an orphaned post is being deleted (when a post is assigned to a thread that doesn't exist)
  • Don't include all Zero Trust Access rules in backup (only include rules for your zone/domain)
  • Cache Rules included in backup/restore process

Read the rest of this update entry...
 
This is probably a me issue but I have an articles add-on I created for my site. As part of the add-on my writers can upload images to serve as the article image. The upload works great and goes directly to R2. My challenge is I am clearly not disable the images correctly. I feel like I have it half correct but can't find a good example on how to do this. Avatars would be a good example since they are a link to the image but they use special syntax to display an avatar so not sure how to do this with img.
 
This is probably a me issue but I have an articles add-on I created for my site. As part of the add-on my writers can upload images to serve as the article image. The upload works great and goes directly to R2. My challenge is I am clearly not disable the images correctly. I feel like I have it half correct but can't find a good example on how to do this. Avatars would be a good example since they are a link to the image but they use special syntax to display an avatar so not sure how to do this with img.
Start a thread in the XenForo development thread and I’ll try to help you there. It’s not really a question about this add-on, it’s more a development question about how to use XenForo’s abstracted file system. The short version is if you are reading or writing to the file system directly, you are doing it wrong (that’s why the abstracted file system exists so you can just do drop in replacements for the file system without needing to change any code… it’s why R2, AWS and whatever else can work without anything beyond the adapter that defines the “filesystem”).

I can help, but I’d rather not subject the hundreds of people who posted in this thread to being bombed with new message alerts about it.
 
Start a thread in the XenForo development thread and I’ll try to help you there. It’s not really a question about this add-on, it’s more a development question about how to use XenForo’s abstracted file system. The short version is if you are reading or writing to the file system directly, you are doing it wrong (that’s why the abstracted file system exists so you can just do drop in replacements for the file system without needing to change any code… it’s why R2, AWS and whatever else can work without anything beyond the adapter that defines the “filesystem”).

I can help, but I’d rather not subject the hundreds of people who posted in this thread to being bombed with new message alerts about it.
Thanks DP. I created a thread in the dev forum. I am using the abstract file system for upload so I feel like I am almost there. See below!
 
It’s not an issue that your server couldn’t communicate with Cloudflare, rather after communication started, the client-side (your server), sent a network packet unexpectedly to force an early disconnect. The underlying reason can be a ton of things (for example a switch being rebooted or IP address changing).

It’s a tough one to diagnose/pin down, as you would generally need assistance of admins that manage network equipment your server network traffic flows through.

Usually 499 errors sort themselves out as network issues are resolved, but if it doesn’t, you’ll want to contact your server administrators.
Again, same error has appeared:
1686660100425.webp
Code:
Error: Call to a member function getBody() on array src/addons/DigitalPoint/Cloudflare/Traits/XF.php:146
Generated by: Unknown account Jun 13, 2023 at 06:15
Stack trace
#0 src/addons/DigitalPoint/Cloudflare/Api/Cloudflare.php(618): DigitalPoint\Cloudflare\Api\Cloudflare->parseResponse(Array)
#1 src/addons/DigitalPoint/Cloudflare/Api/Advanced.php(732): DigitalPoint\Cloudflare\Api\CloudflareAbstract->makeRequest('DELETE', 'attachments/22/...', Array, 0, 'internaldata-at...')
#2 src/addons/DigitalPoint/Cloudflare/League/Flysystem/Adapter/R2.php(157): DigitalPoint\Cloudflare\Api\Advanced->deleteR2Object('internaldata-at...', 'attachments/22/...')
#3 src/vendor/league/flysystem/src/Filesystem.php(237): DigitalPoint\Cloudflare\League\Flysystem\Adapter\R2->delete('attachments/22/...')
#4 [internal function]: League\Flysystem\Filesystem->delete('attachments/22/...', Array)
#5 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('League\\Flysyste...', Array)
#6 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('delete', Array)
#7 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(330): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('delete', Array)
#8 src/vendor/league/flysystem/src/MountManager.php(533): League\Flysystem\EventableFilesystem\EventableFilesystem->delete('attachments/22/...')
#9 src/XF/Util/File.php(237): League\Flysystem\MountManager->delete('attachments/22/...')
#10 src/XF/Entity/AttachmentData.php(276): XF\Util\File::deleteFromAbstractedPath('internal-data:/...')
#11 src/XF/Mvc/Entity/Entity.php(1659): XF\Entity\AttachmentData->_postDelete()
#12 src/XF/Repository/Attachment.php(353): XF\Mvc\Entity\Entity->delete()
#13 src/XF/Cron/CleanUp.php(128): XF\Repository\Attachment->deleteUnusedAttachmentData()
#14 src/XF/Job/Cron.php(37): XF\Cron\CleanUp::runHourlyCleanUp(Object(XF\Entity\CronEntry))
#15 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#16 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#17 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#18 job.php(43): XF\Job\Manager->runQueue(false, 8)
#19 {main}
Request state
array(4) {
  ["url"] => string(14) "/forum/job.php"
  ["referrer"] => string(62) "https://forum.com/forum/threads/xxx.819740/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

This time the 499 error didn't come up. I also have another forum with R2 running on the same server and it didn't have these errors so I think it's something in particular with this forum causing this issue.
There is no cron job or other error logs that could explain this.

Any ideas?
 
Also seeing hundreds of the same every day:

Code:
Error: Call to a member function getBody() on array src/addons/DigitalPoint/Cloudflare/Traits/XF.php:146
Generated by: ... 13.06.2023. 19:12
Stack trace
#0 src/addons/DigitalPoint/Cloudflare/Api/Cloudflare.php(503): DigitalPoint\Cloudflare\Api\Cloudflare->parseResponse(Array)
#1 src/addons/DigitalPoint/Cloudflare/Api/Advanced.php(812): DigitalPoint\Cloudflare\Api\CloudflareAbstract->makeRequest('HEAD', 'attachments/107...', Array, true, 'forum-internal-...')
#2 src/addons/DigitalPoint/Cloudflare/League/Flysystem/Adapter/R2.php(195): DigitalPoint\Cloudflare\Api\Advanced->headR2Object('forum-internal-...', 'attachments/107...')
#3 src/addons/DigitalPoint/Cloudflare/League/Flysystem/Adapter/R2.php(83): DigitalPoint\Cloudflare\League\Flysystem\Adapter\R2->getMetadata('attachments/107...')
#4 src/vendor/league/flysystem/src/Filesystem.php(57): DigitalPoint\Cloudflare\League\Flysystem\Adapter\R2->has('attachments/107...')
#5 [internal function]: League\Flysystem\Filesystem->has('attachments/107...', Array)
#6 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('League\\Flysyste...', Array)
#7 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('has', Array)
#8 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(128): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('has', Array)
#9 src/vendor/league/flysystem/src/MountManager.php(313): League\Flysystem\EventableFilesystem\EventableFilesystem->has('attachments/107...')
#10 src/XF/Entity/AttachmentData.php(228): League\Flysystem\MountManager->has('attachments/107...')
#11 src/XF/ControllerPlugin/Attachment.php(9): XF\Entity\AttachmentData->isDataAvailable()
#12 src/XF/Pub/Controller/Attachment.php(45): XF\ControllerPlugin\Attachment->displayAttachment(Object(XF\Entity\Attachment))
#13 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Attachment->actionIndex(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Attachment', 'Index', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Attachment), NULL)
#15 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Attachment), NULL)
#16 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#17 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#18 src/XF.php(524): XF\App->run()
#19 index.php(20): XF::runApp('XF\\Pub\\App')
#20 {main}
Request state
array(4) {
  ["url"] => string(35) "/attachments/...1359495/"
  ["referrer"] => string(73) "https://.../threads/...960923/page-469"
  ["_GET"] => array(1) {
    ["/attachments/...1359495/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

Timestamp:
Code:
13-06-23 19:12
13-06-23 19:12
13-06-23 19:12
13-06-23 19:08
13-06-23 19:08
13-06-23 19:08
13-06-23 19:08
13-06-23 19:08
13-06-23 19:08
13-06-23 19:05
13-06-23 19:05
13-06-23 19:05
13-06-23 18:33
13-06-23 18:33
13-06-23 18:33
13-06-23 18:20
13-06-23 18:20
13-06-23 18:20
13-06-23 18:14
13-06-23 18:14
13-06-23 18:14
13-06-23 18:10
13-06-23 18:10
13-06-23 18:10
13-06-23 18:10
13-06-23 18:05
13-06-23 18:05
13-06-23 18:05
13-06-23 18:05
13-06-23 17:57
13-06-23 17:57
13-06-23 17:57
13-06-23 17:45
13-06-23 17:45
13-06-23 17:45
13-06-23 17:45
13-06-23 17:45
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:44
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43

13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:43
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:42
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:41
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40
13-06-23 17:40

13-06-23 17:40
13-06-23 17:37
13-06-23 17:37
13-06-23 17:37
13-06-23 17:35
13-06-23 17:35
13-06-23 17:35
13-06-23 17:30
13-06-23 17:30
13-06-23 17:30
13-06-23 17:23
13-06-23 17:23
13-06-23 17:23
13-06-23 17:21
13-06-23 17:21
13-06-23 17:21
13-06-23 17:17
13-06-23 17:17
13-06-23 17:17
13-06-23 17:17
13-06-23 17:17
13-06-23 17:17
13-06-23 17:14
13-06-23 17:14
13-06-23 17:14
13-06-23 17:13
13-06-23 17:13
13-06-23 17:13
13-06-23 17:11
13-06-23 17:08
13-06-23 17:08
13-06-23 17:08
13-06-23 17:05
13-06-23 17:05
13-06-23 17:05
13-06-23 16:36
13-06-23 16:36
13-06-23 16:36
13-06-23 16:10
13-06-23 16:04
13-06-23 16:00
13-06-23 16:00
13-06-23 16:00
13-06-23 15:59
13-06-23 15:59
13-06-23 15:59
13-06-23 15:48
13-06-23 15:48
13-06-23 15:48
13-06-23 15:44
13-06-23 15:44
13-06-23 15:44
13-06-23 15:20
13-06-23 15:20
13-06-23 15:20
13-06-23 15:11
13-06-23 14:48
13-06-23 14:48
13-06-23 14:10
13-06-23 13:10
13-06-23 12:10
13-06-23 11:35
13-06-23 11:10
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:02
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01

13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:01
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 11:00
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:59
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:58
13-06-23 10:57
13-06-23 10:57
13-06-23 10:57
13-06-23 10:57
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:42
13-06-23 10:41
13-06-23 10:41
13-06-23 10:41
13-06-23 10:41

13-06-23 10:41
13-06-23 10:41
13-06-23 10:41
13-06-23 10:41
13-06-23 10:41
13-06-23 10:41
13-06-23 10:41
13-06-23 10:41
13-06-23 10:41
13-06-23 10:41
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:40
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:39
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:38
13-06-23 10:37
13-06-23 10:37
13-06-23 10:37
 
Is it ongoing or something that worked itself out on it's own?

R2 is reliant on a few things to work properly... It needs Cloudflare/R2 to be functioning properly and it also relies on the Internet connection of your server (and any firewalls that traffic may be passing through). If either of those have problems, you will see errors while there are problems and then the errors would stop when whatever it is is fixed.

It looks like there was an R2 related incident on Cloudflare's side yesterday, but it's been since resolved and they aren't reporting anything going on currently: https://www.cloudflarestatus.com/incidents/z4lmb920dm09
 
It works itself out on its own, but it happens every day and we get complaints from users.

Probably will migrate back all attachments to the local storage.
 
It works itself out on its own, but it happens every day and we get complaints from users.

Probably will migrate back all attachments to the local storage.
Ya, that's going to be the easiest thing to do. My gut says it's something network related going on with your server or data center that houses the server. Could be one of a zillion different things, none of which you are really going to be able to fix yourself and would be difficult to pinpoint even if you had full access to everything in the data center. Could be bad MTU settings on a switch somewhere, could be a bad ethernet cable, could be a overzealous firewall the traffic is passing through, etc. TCP/IP as a protocol is designed to keep working when things go badly (severed routes, packet loss, etc), so even if something is screwy you aren't going to notice it too much because browsers are designed to retry if something fails behind the scenes... and usually it just results in slowness, but not failure. But when you are dealing with an API doing something on the backend, there's only so much retrying that's realistic before you have to let it fail. Currently all API calls retry once if something went awry, after that it intentionally lets it fail because a 3rd, 4th or 5th try probably isn't going to change the outcome, and it's a good idea to let the site owner know if something is wonky with the network so they can address it somehow.

The fact that this thread isn't flooded with people seeing the same thing makes me think it's not something on Cloudflare's side. They did have an R2 related incident yesterday, but nothing like what you are seeing.
 
Forgive me for being obtuse but I have a few questions.

Screen Shot 2023-06-13 at 3.39.53 PM.png

I'm trying to enable R2 for the first time. I went into the add-on to the R2 section and setup the buckets I needed but now I have some questions:
  1. Do I need to add DNS records on my server for this new subdomain, data.wranglertjforum.com?
  2. Do I need to run that cli command line to transfer everything to the bucket? If so where exactly do I run that command line from? Forgive me but I'm not a Linux systems admin so while I can figure it out, I need a little guidance.
  3. Once all the data is transferred to the bucket what happens when a member posts a new image from there-on-out? Does that new image automatically end up in the bucket or do I have to continue to periodically run this command line?
Sorry for all the questions. I'm just a little confused about this part of setting up R2 and I want to make sure I do it right. I've got over 47GB of data on the server so this ought to make a difference I would suspect.

Also, thank you for this wonderful add-on. So far I really am enjoying how it brings to Cloudflare dashboard directly into the XenForo ACP. What a great idea!
 
Anyone else not able to access their admin panel currently while running this addon? 3 different sites, all on different servers not working currently. Nothing on Cloudflare status page about an outage.
 
I've disabled all addons to get back in, and manually disabled this, and the admin panel loads again.
 
Anyone else not able to access their admin panel currently while running this addon? 3 different sites, all on different servers not working currently. Nothing on Cloudflare status page about an outage.
I'm seeing the same thing on my end. Been trying to pinpoint what it is exactly, because I thought I changed it to so all the API calls on the admin index were done via AJAX request only, but clearly I missed one somewhere. In the process of sorting it out for times like now where there's an API issue.
 
Top Bottom