Lolo
Lolo
Explore posts from servers
CDCloudflare Developers
Created by Lolo on 9/3/2024 in #general-help
Blocking * ingress IPs breaks CF Tunnels
I use a Hardware firewall (Hetzner), but when I block all ingress IPs (following the Docs), the tunnel state immediately goes down. Starting log stream it shows that the connection fails and starts retrying periodically. (Log stream does not immediately disconnect) I tried looking for IPs and Ports to whitelist on the hardware firewall, but to no avail. What IP addresses and Ports should i excempt from my ingress traffic block?
6 replies
CDCloudflare Developers
Created by Lolo on 5/28/2024 in #pages-help
Some Regions are receiving 500 response from pages-workers
Custom Domain: https://ayakobot.com/ Pages Domain: https://9b910f5f.website-ylm.pages.dev/ Zone ID: d26ebba8706fcfe540790e4d8294625e Account ID: f87935672c78d6b7d1779e052cec234e Successful Response: https://pastebin.com/isWKehaB Error Response: https://pastebin.com/CWg0Fnhw (2x) All 3 Requests were done on the same build through the same domain but I did verify that they occur on x.pages.dev too What can cause this, can i even fix this?
10 replies
DIAdiscord.js - Imagine an app
Created by Lolo on 2/27/2024 in #djs-questions
Client disconnects after ready, takes 1-2 minutes to reconnect every time
The full debug log is attached below After restarting my Bot I get a ready, then all shards seemingly disconnect and after 1-2 minutes reconnect Is there a simple answer to this behavior, like "it's normal on some clients" or "definitely caused by x"? Just wanna see if there's a known answer before I start taking my code apart and exhausting my daily logins. Comprehensive order of events as outlined by the debug log: - Ready - Shards send the first heartbeat - Shards Destroyed - "Connection status during destroy" - Connecting to WS - Waiting for Hello - Reconnect - Preparing Heartbeat - Identifying - Waiting for ready - Ready - Heartbeats start Node ver: 21.2.0 Djs Ver: 14.14.1
5 replies
DIAdiscord.js - Imagine an app
Created by Lolo on 1/16/2024 in #djs-questions
Set Presence on Identify per shard using internal sharding?
Is there a way to set a different presence on different shards when using internal sharding?
18 replies
DIAdiscord.js - Imagine an app
Created by Lolo on 11/1/2023 in #djs-questions
[TS] Nodemon x ShardingManager never emits ready
As stated above, using nodemon with Djs sharding manager never emits ready for any of the shards. The Debug Event does not emit anything dev script: npx nodemon ./src/index.ts package.json https://github.com/AyakoBot/Ayako-v2/blob/main/package.json nodemon.json https://github.com/AyakoBot/Ayako-v2/blob/main/nodemon.json tsconfig.json https://github.com/AyakoBot/Ayako-v2/blob/main/tsconfig.json index.ts https://github.com/AyakoBot/Ayako-v2/blob/main/src/index.ts D.js v14.13.0 Node v20.4.0
10 replies
DIAdiscord.js - Imagine an app
Created by Lolo on 6/14/2023 in #djs-questions
Why use @discordjs/broker rather than node-redis-pubsub?
I can imagine there being a benefit for discord.js-based applications, but i'm not sure what it is
4 replies
DIAdiscord.js - Imagine an app
Created by Lolo on 2/1/2023 in #djs-questions
webhookUpdate event not received
I seem to be unable to receive the webhookUpdate event https://discord.js.org/#/docs/discord.js/main/class/Client?scrollTo=e-webhookUpdate My client intents have Discord.IntentsBitField.Flags.GuildWebhooks listed and I'm listing all received events. webhookUpdate is not one of them
9 replies