Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Were you able to find a solution? The

Were you able to find a solution? The custom AI provider feature doesn't work

Have tried using the Browser Rendering

Have tried using the Browser Rendering REST API, but it isn't working. The Workers API binding works fine, and I have created a new API token with Browser Rendering Edit perms. I can confirm that using a different token gives an auth error. Doesn't work with either a URL or HTML body param

I wonder how much of time of browser

I wonder how much of time of browser rendering cpu time of workers is counted. Since browser rendering is paid, I hope majority of time spent on that will not be billed as worker cpu-time?

Had a question regarding the Browser

Had a question regarding the Browser Rendering’s Rest API: In the docs it mentions that if a request is rate-limited, it’ll return a “Retry-After” header with the number of seconds until you can try again: https://developers.cloudflare.com/browser-rendering/platform/limits/#error-429-too-many-requests From testing the api in curl it doesn’t seem to be including this header though. Even using the sample JS code shown ends up with a null retry count. When I was testing it last week I feel like it was including this header, so is this related to the outage that happened?...

you're right we had an incident

you're right we had an incident yesterday and today. it's our top priority to get to the bottom of. major apologies

thanks for reporting. we made a change

thanks for reporting. we made a change that should have resolved the 503s. can you confirm if working properly now? cc: @kol3x as you had the same issue...

đź‘€ when did it start happening? and had

đź‘€ when did it start happening? and had you made any changes?

Would be great to have better

Would be great to have better observability, e.g. which workers caused browser rendering events in the logs. Just spent a long time trying to figure out why a worker was causing so many browser rendering hours, when it turns out it was a totally unsuspected one instead!

Also, if I use the rest api, will be the

Also, if I use the rest api, will be the origin my domain?

Hello, I want to generate url previews

Hello, I want to generate url previews with opengraph meta tags but is using the browser rendering api the right approach for dynamic websites?

thanks y'all for the reports on timing

thanks y'all for the reports on timing issues over the weekend. this should be resolved now. please let me know if not @katu @juanferreras @Mohammed K

I'm building a webperf tester (e.g. say

I'm building a webperf tester (e.g. say similar to PageSpeed Insights) but on top of CF Puppeteer. I saw turnstile/bot challenges on some Cloudflare zones, but I'm surprised that Cloudflare's Radar itself also does get challenged. I guess this is bot traffic so it makes sense. Would the expected behavior be that any domains who aggressively block bots should allow explicitly (via custom header or user-agent)? Or if you hit enough traffic (+1k requests/day) apply to be a verified bot?...
No description

Hi, anybody runs into issues where some

Hi, anybody runs into issues where some parts of the website are not correctly rendered via API while it works correctly locally? We have a heavy suspicion it's a GPU issue. Anything that has a css blur seems to be the issue....

We currently roll our own service for

We currently roll our own service for this, but are looking at the rendering API as a replacement. I was wondering if as it is a CF service, are CF pages/turnstyles/I'm Under Attack modes gracefully dealt with when taking a screenshot of a target page?

the "screenshotOptions.quality" flag is

the "screenshotOptions.quality" flag is broken. Whenever I add it, the request fails.

hey, any idea how the caching works for

hey, any idea how the caching works for the REST API? IE: If I do a call to /markdown, then immediately after do a /scrape call to get the title element, will that generally have to re-scrape or can it pull from the cache?

It looks like browser content requests

It looks like browser content requests using the REST api append cf-biso-request-id and cf-biso-devtools request headers when fetching the url. Is there any way to override/remove them? (setExtraHTTPHeaders did not seem to work for these)

Does browser rendering support proxies

Does browser rendering support proxies if I want to use? If I need a specific location

I’m really happy to see Cloudflare add

I’m really happy to see Cloudflare add support for Playwright with Browser Rendering. I’m attempting to use it on a project, but I’m running in to errors when attempting to deploy. As soon as I include the “@Cloudflare/playwright” package in my build, deploys fail....

Hello everyone! We've got a pipeline

Hello everyone! We've got a pipeline working where screenshots are taken of specific routes in our app that we want to use for generating thumbnail previews of pages — however when the pages contain CSS filters on images (right side of the browser window) the filters are not applied. Additionally, when we use backdrop filter blur on a content area (left side of the browser window) the backdrop blur is rendered but the content of the div is not. The attached screenshot is a preview of the Cloudflare Browser Rendering API result positioned over top of the actual page that was being screenshot in the browser. Is there anything we can do from our side to better troubleshoot this? We've done everything we can as far as vendor prefixing to make the effects as backwards compatible as possible. Are we hitting limits of the Browser Rendering API or are there ways to work around the issue?...
No description
Next