CD
Cloudflare DevelopersGagan Suie
WS debugging chat
Thats it for the error message but this is the web socket error event object:
Event {isTrusted: true, type: 'error', target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …}
isTrusted
:
true
bubbles
:
false
cancelBubble
:
false
cancelable
:
false
composed
:
false
currentTarget
:
WebSocket {url: 'wss://dev.api.mage.stream/wsinit/channelid/a496d37…e20fbc5cd99abad15faaefa46e389e2537faa1962/connect', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
defaultPrevented
:
false
eventPhase
:
0
returnValue
:
true
srcElement
:
WebSocket {url: 'wss://dev.api.mage.stream/wsinit/channelid/a496d37…e20fbc5cd99abad15faaefa46e389e2537faa1962/connect', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
target
:
WebSocket {url: 'wss://dev.api.mage.stream/wsinit/channelid/a496d37…e20fbc5cd99abad15faaefa46e389e2537faa1962/connect', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
timeStamp
:
2583.800000011921
type
:
"error"
E
elithrar•36d ago
Bringing this into a thread
GS
Gagan Suie•36d ago
good idea
E
elithrar•36d ago
Can you provide an example repo of exactly what you have deployed? Or are you saying it’s the chat demo with zero changes - ?
GS
Gagan Suie•36d ago
nearly zero changes. but its been working for years. so im assuming its account related
and that demo hasn't been changed since last year.
its working locally.
just not in dev and prod environments
E
elithrar•36d ago
Nearly zero is not zero.
There’s no “account level” changes we make.
GS
Gagan Suie•36d ago
i can share my desktop with you if that makes it easier to run through any issues you may see
GS
Gagan Suie•36d ago
can this be an issue?
And DNS records of workers are navigating to "/workers/services/view/mage-api-dev/production/triggers" that got moved.
GS
Gagan Suie•36d ago
triggers are now under:
"/workers/services/view/mage-api-dev/production/settings/triggers"
this wss url should at least be reachable. im testing in https://websocketking.com/
wss://dev.api.mage.stream/
✅ solved. remove smart placement in workers.
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
48KMembers
View on DiscordWant results from more Discord servers?
More PostsList api with multiple ips# CloudFlare api list help
```bash
#!/bin/bash
MY_IP=$(curl https://ifconfig.me/ip) # ideally radarHow to get the client Country from Cloudflare Pages ?https://developers.cloudflare.com/network/ip-geolocation/
How to get the equivalent inside the CloudIs it possible to only deploy the Pages config in wrangler.toml when using `wrangler pages deploy`?Currently I'm using the Git integration of Cloudflare pages to handle deployments of my app. But theI'm currently configuring Zaraz CMP butI'm currently configuring Zaraz CMP but encountering a snag. I've successfully integrated the GA4 toI cant create project or set up cloudflare pageIs it down atm?"No wrangler.toml file found" error in mono repo setupWe have a mono repo and have configured a pages project with a root directory pointing to the appliccant use api to add a new dns recordive been trying to create a dns record using the api but its not currently working
the data im sendInsta logs infoMy task was to read logs from cloud flair and process them, I'm curious about insta logs as they serTLS 1.0 working on pages site but not on custom domain`curl https://gravesoft.pages.dev/ --tls-max 1.0 -i -v`
This is working but not below
`curl https://while creating pages, i select and used files locally, but i want to change it to github now.while creating pages, i select and used files locally, but i want to change it to github now is it pGoogle Analytics AudiencesWhat does the "Google Analytics Audiences" setting of a "google analytics v4" tool do?Support for separate wrangler.toml files in monorepo?When using the new wrangler.toml support with Pages and new mono-repo support, Cloudflare seems to oTesting geocoding headers locallyIs anyone using managed transform to add visitor location headers? How are you tested this locally Interesting issue -- Log stream causes NextJS Edge runtime app to failThis is kind of an intriguing one.....
1. App deploys fine via `wrangler pages deploy .vercel/outHow do I use multiple wrangler.toml with different projects in a mono-repo?When I have my wrangler.toml in the directory of my app aka...
`apps/site/wrangler.toml`
It does nI setup cloudflare https for my domain and now subdomains are not workingI set cloudflare up for `https://litellm.ai` but now using `https://anything.litellm.ai` is failing
/__scheduled won’t connectI can't figure out how to run a cron job on wrangler. I have scheduled default export, and wrangler How do I remove an account I have been added to from my cloudflare account?Hello! I have the problem that I don't know how to get out of someone else's Cloudflare account indeMail Delivery Failure Reported in DashHello,
Earlier this afternoon, I was trying to receive an important email at my personal domain, andusingusing
```
async handle(request: Request, env: any, context: any, data: DataOf<typeof TaskFetch.sc