https://discord.cloudflare.com logo
Join Discord
Powered by
# general-help
  • Newbie QQ - workers as daemon process
    s

    smantha42

    05/16/2023, 11:53 PM
    Is it possible to use a worker as a daemon that basically does: 1. wakes up 2. Pulls some records from Postgres SQL (Supabase) 3. for each record determine if FCM Messages need to be sent; compose a message & send 4. go back to sleep Docs say something about Module Workers or Service Workers where a Cron job (Typescript schedule??) . Thoughts, suggestions if this is OK architecture? Thought I'd ask here before I start playing in Playground
    h
    • 2
    • 1
  • How do i set up durable objects with page functions?
    r

    RowerMiejski

    05/17/2023, 8:22 AM
    Hi, i'm having trouble with connecting durable objects to page functions, is there some resource to help?
    e
    • 2
    • 1
  • is there a way to exclude my api subdomain from cloudflares browser integrity checks?
    s

    Sully

    05/17/2023, 9:36 AM
    hi all, i'm just wondering if there is a way to exclude the browser integrity checks from happening on my api subdomain? basically I want browser integrity checks on example.com , but not api.example.com
    e
    • 2
    • 1
  • url path ip logging
    g

    gustav

    05/17/2023, 10:54 AM
    Someone know if theres a way to log ips incoming to a url path in real time?
    c
    • 2
    • 1
  • Bulk redirects
    g

    Greazi

    05/17/2023, 11:27 AM
    Hi there, I have a 2 domains. 1 ending on .com and 1 ending on .net I would like to redirect all sub domains from .com to the .net domain, how would I do this? Not only that I would also like to redirect any subcomain from .net to the main domain of .net (except 3 sub domains.)
    • 1
    • 1
  • Cloudflared: WWW DNS Redirect
    t

    toad

    05/17/2023, 1:58 PM
    Hi, I'm having trouble getting a self hosted WordPress site to work with 'www' using Cloudflare Tunnels. The Tunnel records automatically generated the CNAME proxy records for 'site.com', but it didn't generate anything for 'www', so the page just loads a blank page. Any help would be appreciated, thank you
    c
    • 2
    • 2
  • SSL handshake failed Error code 525
    s

    Sharab Shrestha

    05/17/2023, 2:02 PM
    It appears that the SSL configuration used is not compatible with Cloudflare. This could happen for a several reasons, including no shared cipher suites. Additional troubleshooting information here.
    n
    • 2
    • 6
  • CF for saas hostname _acme-challenge not validating
    p

    philbookst

    05/17/2023, 3:31 PM
    Hey I'm trying to setup custom vanity domains for my pages project but the they are stuck in a pending validation state. I've tried with 2 domains, validating the _acme-challenge record fails, but the _cf-custom-hostname record succeeds.
    • 1
    • 1
  • Error 1033: Cloudflare Tunnel
    t

    toad

    05/17/2023, 4:45 PM
    Every once in a while I get 'Error 1033 Cloudflare Tunnel' error when trying to access my site. It appears randomly then self resolves, would this be a host, or dns issue and how do I got abouts getting this resolved? Thanks
  • Cloudflare some times responding with 520 and I am not sure why?
    i

    ishan jain

    05/17/2023, 6:02 PM
    I have a application written in Go, sitting behind a nginx reverse proxy. Cloudflare sometimes returns 520 status code for it and I am trying to figure out why. 1. Application is well behaved, so it shuts down gracefully(and the timeout at application and pod level are sufficiently large that a connection was killed due to abrupt shutdown should not be a problem here) 2. Application only adds content type header so I can safely rule out another possible scenario where cloudflare can respond with 520 if application sends too many(or very large) headers. The response body can be ~2-300MB of JSON in some cases. 3. I don't see any errors in the application logs or nginx logs. It responded with 2xx/3xx/4xx(403/404) response code for every single request and nginx logs tell me it did not time out for any request. I had created a ticket with cloudflare. They were asking for ray id(and to look up in dashboard with ray id. I am not sure if this is possible on pro plan?) and they asked me to collect har files once with cf enabled and once with cf disabled. This is only happening in prod and I can't disable cf there. I am quite confused as to why this is happening and any hints on what to check will be extremely helpful!
    • 1
    • 1
  • Rate Limit a single subdomain?!.
    a

    albert

    05/17/2023, 6:12 PM
    Hey. I have an R2 bucket which I want to Rate Limit under WAF settings. Question: Is there a way to specify which subdomain I want to rate limit?- Or it's just global only?
    l
    c
    • 3
    • 6
  • "Deployment not found" - index.html clearly visible using CF pages?
    p

    Peter Adrian

    05/17/2023, 10:58 PM
    This is a weird little message. I'm migrating my site from Svelte to SvelteKit - not that it should matter. I deployed my app to CF pages, as I have been doing for ages. But when I go to the unique url (123456.xxx.xxx), it says that the deployment cannot be found. We can clearly see the index.html here. So I'm not sure what's happening?

    https://cdn.discordapp.com/attachments/1108528967792738324/1108528967897587752/Screenshot_2023-05-17_at_23.56.20.png▾

    c
    g
    w
    • 4
    • 4
  • Cloudflare and google lighthouse scores issues
    j

    Jay Townsend

    05/18/2023, 12:28 AM
    From running Google lighthouse on my pages website, with me using rocket loader and invisible.js there are issues that it has flagged. Now, my question is, is Cloudflare aware of these issues and if so what is being done with them? The issues are as follows in screenshot output

    https://cdn.discordapp.com/attachments/1108551578287349770/1108551578429960303/image.png▾

    https://cdn.discordapp.com/attachments/1108551578287349770/1108551578778095647/image.png▾

    • 1
    • 3
  • 526 error cloudflare gateway when it was working fine beforehand.
    m

    Maskuh (Ping on Reply)

    05/18/2023, 5:48 AM
    Hi, I am getting a 526 error of an insucure upstream when the connection was great before and i didn't change anything any idea why this may happen?
    • 1
    • 1
  • Cloudflare DNS proxy - need to enable extra ports.
    l

    Lone Wolf

    05/18/2023, 7:23 AM
    Is it possible to set up DNS proxy so you can 1. Enable extra ports for caching 2. Enable extra ports with no cache on it ?
  • My account is not accessible
    b

    Buya

    05/18/2023, 9:32 AM
    Hi everyone, I'm having trouble accessing my account. I wasn't aware that the backup code becomes invalid after one use. Previously, I could use it to access my account successfully. However, this time it's prompting me for Two-Factor Authentication. When I attempt to use my iPhone and QR code, I receive the message "there are no matching passkeys saved in your iCloud Keychain dash.cloudflare.com." I tried resetting my password, and although I was able to do so, when I enter the new password, it again asks for Two-Factor Authentication, which isn't working and displays the same message. Another option I tried was using the backup/recovery code, but it has expired. Unfortunately, my submitted ticket hasn't received any responses, and I feel stuck. Could someone please help me out? I would greatly appreciate it.
  • What type of requests does the default WAF block?
    a

    Aryeh Berman

    05/18/2023, 4:31 PM
    I tested with a few requests that are blocked by Modsecurity Core Ruleset, but Cloudflare let them through.
    c
    • 2
    • 4
  • Regarding Image Storage and Delivery.
    s

    Sreekanth

    05/19/2023, 6:13 AM
    My web app is hosted through cloudflare proxy at app.mydomain.com. Now as cloudflare doesn't support directory management for images, I'm now forced to choose a different CDN solely for Image storage. My images will be hosted at "images.mydomain.com" without cdn in cloudflare. My main app (app.mydomain.com will be a proxied domain) will use images hosted through the 3rdparty cdn by using unproxied url images.mydomain.com. Does this setup is against cloudflare TOS? I really don't wanna do this but, As CF doesn't support folder structure. Any suggestion is highly appreciated. I wanna double check about my setup, if it violates TOS.
    h
    • 2
    • 14
  • Analytics API
    m

    matyu

    05/19/2023, 9:28 AM
    Hi Everyone, since last week I try to get Analytics of my domain but I totally don't understand how the API and how GraphQL works... Can you help me please? Thanks ps: Sorry for my bad English.
    c
    • 2
    • 24
  • Edge Cache TTL: a day - does not seem to be working
    b

    BonesBrigadier

    05/19/2023, 11:06 AM
    hi, I have a page rule setup (against something like https://search.mydomain.com/api/results/?query=someQuery&page=0&PageCount=50): Cache Level: Cache Everything Edge Cache TTL: a day What I am experiencing is not a day on Edge Cache TTL as it returns CF-Cache-Status: Expired (or Miss) after a few hours or so. What am I missing? Thanks for you help.
    s
    • 2
    • 3
  • Unable to get dynamic resizing working with Images
    r

    Royal_lobster

    05/19/2023, 12:34 PM
    I am looking to resize already existing urls with cloudflare, similar to next images, but unable to figure out the url structure. i am getting "This account doesn't have variant with this name", trying with https://imagedelivery.net/wfghQs2_yf8RpwpOO87Ikw/cdn-cgi/image/width=100/https://ipfs.everipedia.org/ipfs/QmX2qNaMjqMD16TGwKe4NcyDxaPVoYfzLhhh2FX8dAxRXT Would appreciate any help !

    https://cdn.discordapp.com/attachments/1109096853993164861/1109096854139981927/image.png▾

    c
    • 2
    • 2
  • Unable to make redirect from subdomain to another zone subdomain.
    z

    zarg129

    05/19/2023, 1:42 PM
    I have a domain
    example.com
    . After clicking a button on this domain (it send post to
    sub.example.com
    ) I want to have a redirect from sub.example.com to another zone like
    example-new.com
    . I have add a redirect rule that catch all post requests to
    sub.example.com
    and forward it to
    example-new.com
    . But I am getting an 521 error or error with options request coz it looks like my
    example-new.com
    can't handle pre-flight requests. But if I am doing request from postman everything is fine. Why postman returns 200 and request from site goes with error????
  • CF Registrar
    u

    ⚡ techb0x 🌟

    05/19/2023, 4:40 PM
    Hello, I want to registrer/transfer a domain to CF via api calls. based on https://developers.cloudflare.com/api/operations/registrar-domains-list-domains and https://community.cloudflare.com/t/register-and-manage-domains-with-cloudflare-registrar-api/453793/5 , it seems not possible. Is there a way ? What are those requirements ? thanks,
    i
    • 2
    • 1
  • beginner problems...
    b

    Blejert

    05/19/2023, 6:51 PM
    i have a no-ip address that i want to be https, i decided to use cloudflare, and i kinda already lost it on the first step, because it told me to remove these nameservers in the ip, but the list had nothing... so i removed nothing, but then it told me to add the cloudflare nameservers instead, and i was very confused because on no-ip theres nothing about nameservers or anything, so the most logical thing i could think of is setting my current ip to cname and the redirect address to one of the cloudflare ones, can you guys tell me if i did this correctly? okay then it told me that it needs 24 hours to process a new cloudflare ip registering, so im waiting hoping that i set the ip correctly, i also saw the check nameservers update, and im not sure i understand what it does and if i was supposed to click it, when i try to connect to the ip it loads until it times out, am i doing it correctly? also i have no idea if the dns tag is correctly used here
    i
    • 2
    • 12
  • Why I cannot delete my cloudflare account
    y

    Your Local's Furry

    05/19/2023, 8:55 PM
    Everytime I trying to delete cloudflare it keep said API Request Failed: POST /api/v4/user/delete (500)
    w
    l
    • 3
    • 6
  • Transferring domain from one cloudflare account to another
    a

    ajgeiss0702

    05/20/2023, 1:31 AM
    Hello Someone bought a domain for a project I’m working on, and I would like to transfer it to my account (I’m aware I’ll most likely need to pay for another year) How can I start that? From what I see, I can only transfer domains that already have nameservers pointing at cloudflare?
    c
    i
    • 3
    • 3
  • One email, multiple accounts?
    i

    ItsWendell

    05/20/2023, 2:26 AM
    Hi all! A friend is trying to invite me to an Cloudflare account he recently made so we can work together on a project in there (Workers, etc). He sent me an invite on an email address I already have registered at Cloudflare but I haven't received any emails. He now tried to delete and add me so many times that he got rate limited and needs to wait for an hour. I was wondering whether it's even possible to have multiple accounts / organizations connected to a user?
    c
    e
    • 3
    • 7
  • Is email routing in both directions?
    r

    rtfmoz

    05/20/2023, 8:18 AM
    I am setting up email routing but I cannot see any information on the outbound mail server I am meant to use. My mail server needs to relay through Cloudflare yes? If not then how do I solve this bounce message from Google? The IP address sending this message does not have a 550-5.7.25 PTR record setup, or the corresponding forward DNS entry does not 550-5.7.25 point to the sending IP. As a policy, Gmail does not accept messages from IP's with missing PTR records.
    z
    • 2
    • 2
  • Need help!
    z

    zcy

    05/20/2023, 3:31 PM
    when i added cloudflare to my website its been down for 15 hours after adding cloudflare
    w
    • 2
    • 17
  • Unknown Event - Exceeded CPU Limit with Unbound Worker
    d

    daver

    05/20/2023, 7:32 PM
    I have a Rust worker bound to a queue. It gets
    Unknown Event - Exceeded CPU Limit
    errors without doing very much, e.g. just deserializing a message from the queue. I tried setting
    usage_model=unbound
    in wrangler.toml and I see it picked up in the UI, but the error persists. Am I missing something obvious?
12345...10Latest