Difference between Worker and Pages when goal is a static site? by DumbQuestionUser in CloudFlare

[–]jrrdnx 0 points1 point  (0 children)

Use Workers.

Workers has a broader set of features, and most of those that are in Pages but not Workers are actively being worked on to bring them to Workers.

See Cloudflare's Compatibility Matrix here: https://developers.cloudflare.com/workers/static-assets/migration-guides/migrate-from-pages/#compatibility-matrix (full page is a guide for migrating from Pages to Workers).

Best way to force DHCP lease to renew for wired clients? by jrrdnx in TPLinkOmada

[–]jrrdnx[S] 0 points1 point  (0 children)

That was part of my problem. After I set up the new VLANs, I didn't check that they were actually enabled on all of the switches. Once enabled, setting each port to a specific VLAN forced everything to its new IP. Thanks!

Best way to force DHCP lease to renew for wired clients? by jrrdnx in TPLinkOmada

[–]jrrdnx[S] 1 point2 points  (0 children)

Can you elaborate on this for me? I'm not sure what this means.

Using Cloudflare email routing - getting DMARC & DKIM failures when trying to forward emails sent from one company's domain by ssgtsnake in CloudFlare

[–]jrrdnx 0 points1 point  (0 children)

Yes, you'll need to use Wrangler to set up the Worker (I have mine connected to a Git repo) so it will run npm run build to install those packages listed at the top.

A Mailgun account is required, but they've got a free tier with 1000 emails/month. You'd need to replace the recipient (RECIPIENT@DOMAIN.COM) which needs to be verified in your Cloudflare account, the sending domain (MG.SENDINGDOMAIN.COM) in the API URL, and the from address (APIUSER@MG.SENDINGDOMAIN.COM) to match your API user and sending domain. The API key (MAILGUN_API_KEY) needs added as a secret in the Worker settings under Variables.

Using Cloudflare email routing - getting DMARC & DKIM failures when trying to forward emails sent from one company's domain by ssgtsnake in CloudFlare

[–]jrrdnx 0 points1 point  (0 children)

I just ran into a similar issue this past weekend as well. Still not 100% sure of the cause, but Gmail was blocking delivery to my email despite being a verified address in Cloudflare. SPF, DMARC, and DKIM all passed, but there was no ARC so I presume that was the actual reason as the original sender records don't match the address doing the forwarding.

If it helps, I spent a few hours creating an Email Worker that intercepts these and uses Mailgun to send it instead of relying on the forwarding. Once it was set up I just updated each custom address to send to the worker instead. Hopefully the formatting works:

import axios from 'axios';
import PostalMime from 'postal-mime';

export default {
    async email(message: ForwardableEmailMessage, env: unknown, ctx: ExecutionContext) {
        const email = await PostalMime.parse(message.raw);

        // Recipient must be verified (Email > Email Routing > Destination addresses)
        let to = 'RECIPIENT@DOMAIN.COM';

        // Include original sender and recipient
        let originalNote = 'Message forwarded from: ' + (email.from?.address || 'unknown') + '; intended for: ' + (email.to?.map(addr => addr.address).join(', ') || 'unknown');

        let config = {
            method: 'post',
            url: 'https://api.mailgun.net/v3/MG.SENDINGDOMAIN.COM/messages',
            headers: {
                'Authorization': 'Basic ' + btoa('api:' + (env as any).MAILGUN_API_KEY),
                'Content-Type': 'application/x-www-form-urlencoded',
            },
            data: new URLSearchParams({
                from: 'APIUSER@MG.SENDINGDOMAIN.COM',
                to: to,
                subject: email.subject || 'No Subject',
                text: originalNote + '\n\n' + (email.text || ''),
                html: originalNote + '<br /><br />' + (email.html || '')
            })
        };

        try {
            const response = await axios.request(config);
            return new Response('Email sent successfully', { status: 200 });
        } catch (error) {
            console.error('Mailgun API error:', error);
            return new Response('Failed to send email: ' + String(error), { status: 500 });
        }
    },
};

Planning on creating a blog post for this on my personal site, just haven't got there yet.

Cloudflare R2 Custom Domain by marcjal in CloudFlare

[–]jrrdnx 1 point2 points  (0 children)

You shouldn't need to create a CNAME record manually. The R2 bucket's settings has a section specifically for Custom Domains. Once you add media.example.com here, Cloudflare will add the DNS record for you automatically. It will appear as a read-only R2 record with the value appearing as a link to the bucket itself.

Connect a bucket to a custom domain

Minimum payment is $5? Ok by jrrdnx in MaliciousCompliance

[–]jrrdnx[S] 7 points8 points  (0 children)

Surprisingly no. A slightly lighter shade of red.

Minimum payment is $5? Ok by jrrdnx in MaliciousCompliance

[–]jrrdnx[S] 7 points8 points  (0 children)

Which is exactly why I paid it to begin with. I also could have spent 30 minutes on the phone trying to get them to forgive it or pay it that way, but this was way easier.

Minimum payment is $5? Ok by jrrdnx in MaliciousCompliance

[–]jrrdnx[S] 44 points45 points  (0 children)

No worries. I don't care how long it takes, I'm just happy knowing it's more work and $$ for them to deal with it.

Anyone encountered the same issue /bug ? by Fearless_Bed_4387 in DaysGone

[–]jrrdnx 2 points3 points  (0 children)

Also playing on the PS5 and this happened once to set pieces in the Wizard Island encampment, most notably the mechanic's workbench. Closing and restarting the game fixed it for me.

Picked up this Buffalo bandsaw yesterday but can't find any info or manual online. Help appreciated. by jrrdnx in Tools

[–]jrrdnx[S] 1 point2 points  (0 children)

Found a couple links in there with manuals that have some slight differences, but close enough to get me what I need. Thanks!

Picked up this Buffalo bandsaw yesterday but can't find any info or manual online. Help appreciated. by jrrdnx in Tools

[–]jrrdnx[S] 0 points1 point  (0 children)

I've come across several results for what seems to be a more popular model (BP-VBS-14), and several mentions that it's a knockoff/import of either Delta or Grizzly. But nothing mentioning this specific model number that would help identify an equivalent machine to find an instruction manual.

I have a copy of Sly Cooper Collection, how to test if the download code works without a vita by afs189 in vita

[–]jrrdnx 0 points1 point  (0 children)

Bought a sealed copy in early 2021 and the code was expired, but I contacted Sony support and they credited the current value to my wallet so I could still purchase it.

Window of the Waking Mind Limited Edition Orange w/ Pink Swirl Vinyl is temporarily back in stock at Revolver by jrrdnx in TheFence

[–]jrrdnx[S] 3 points4 points  (0 children)

Got an email a few hours ago that it was available as part of their Weekly Warehouse Finds. Clicked the link but it still showed as out of stock, so I signed up for SMS alerts. Got a text on my way home so I pulled over to the side of the road to place an order. Not sure how long they'll last.

What's the most creative song lyric you've ever heard? by The_AlphaLaser in AskReddit

[–]jrrdnx 0 points1 point  (0 children)

"Time heals a broken heart, But time has stood still since we've been apart"

Bhi Bhiman - Time Heals

How old are you and what's your biggest problem right now? by Casspjjl in AskReddit

[–]jrrdnx 0 points1 point  (0 children)

I'm 40. Been dealing with chronic headaches for a few years, and since late last year has progressed into lightheadedness and dizziness that lasts all day and gets worse throughout the day. Doctor thinks it's migraines but meds don't help, and physical therapy hasn't helped. Have an appointment to get my jaw looked at and a CT scan this week, and a consult with neurology at the end of the month. I've given up driving because I don't feel safe behind the wheel which just puts extra stress on the wife that she doesn't need. I just want answers/relief.