ruan
ruan
Explore posts from servers
CDCloudflare Developers
Created by ruan on 1/17/2025 in #general-help
How to know if my tunnel is getting throttled?
With 100 client connections locally on my websocket server like std::string url = "ws://localhost:8091"; (client) I calculated latency ~200ms until client receive server response But routing the same 100 connections from the cloudflared tunnel like "ws://abc.domain.com"; the latency goes 1000ms + each client connection is sending data of around ~120kb , it only send a new request when server replied Could be Cloudflare throttling it? or my network not being able to handle all data? Checking on Windows Task Manager i can see Network 68% ~280Mbps, i have an internet of "500 mega" Is it possible somehow to check if im getting throttled?
3 replies
CDCloudflare Developers
Created by ruan on 1/15/2025 in #general-help
How to configure multiple tunnels on the config.yml file?
I tried it this way but is not working: C:\Users\RUAN\.cloudflared\config.yml
tunnel: 7f33eee0-...
credentials-file: C:\Users\RUAN\.cloudflared\7f33eee0-...json

ingress:
- hostname: zzz.com
service: http://localhost:8090
- service: http_status:404
origin-ca-pool: C:\Users\RUAN\.cloudflared\cert.pem

tunnel: 8fe9e2ed-...
credentials-file: C:\Users\RUAN\.cloudflared\8fe9e2ed-....json
ingress:
- hostname: zzz.com
service: http://localhost:8090
- service: http_status:404
origin-ca-pool: C:\Users\RUAN\.cloudflared\cert.pem
tunnel: 7f33eee0-...
credentials-file: C:\Users\RUAN\.cloudflared\7f33eee0-...json

ingress:
- hostname: zzz.com
service: http://localhost:8090
- service: http_status:404
origin-ca-pool: C:\Users\RUAN\.cloudflared\cert.pem

tunnel: 8fe9e2ed-...
credentials-file: C:\Users\RUAN\.cloudflared\8fe9e2ed-....json
ingress:
- hostname: zzz.com
service: http://localhost:8090
- service: http_status:404
origin-ca-pool: C:\Users\RUAN\.cloudflared\cert.pem
3 replies
CC#
Created by ruan on 11/5/2024 in #help
How to add a keyboard shortcut on a Visual Studio extension?
I'm trying to learn how to add keyboard shortcuts to a Visual Studio 2022 extension. I shared my current attempt here on MSFT Q&A: https://learn.microsoft.com/en-us/answers/questions/2115590/how-to-add-a-keyboard-shortcut-on-a-visual-studio Appreciate any help on this!
1 replies
CC#
Created by ruan on 10/24/2024 in #help
Help with creating a Visual Studio 2022 extension
If someone with experience on creating Visual Studio extensions could take a look on this question: https://stackoverflow.com/questions/79123778/visual-studio-extension-to-render-clickable-character-before-searched-string#79123778
2 replies
CC#
Created by ruan on 10/14/2024 in #help
✅ How to debug a visual studio extension?
No description
5 replies
DIAdiscord.js - Imagine an app
Created by ruan on 1/31/2024 in #djs-questions
How to update about me?
How to update the bot about me using the djs api? I'm referring that 'description' section which is available in the developer's portal:
DESCRIPTION (MAXIMUM 400 CHARACTERS) Your description will appear in the About Me section of your bot's profile.
6 replies
DDeno
Created by ruan on 1/31/2024 in #help
Fetch request from own server
try
{
const response = await fetch('.../ping',
{
method: "GET",
headers: {
"Content-Type": "application/json",
},
});
if (!response.ok)
throw new Error('Fetch failed');

console.log(response.ok);
console.log(response.status)
}
catch (error)
{
console.error('Error:', error);
}
try
{
const response = await fetch('.../ping',
{
method: "GET",
headers: {
"Content-Type": "application/json",
},
});
if (!response.ok)
throw new Error('Fetch failed');

console.log(response.ok);
console.log(response.status)
}
catch (error)
{
console.error('Error:', error);
}
why when i make a get request to my own deno deploy server it fails?
19 replies
DDeno
Created by ruan on 1/6/2024 in #help
Deno deploy: "Error The deployment failed: ISOLATE_INTERNAL_FAILURE"
what's this error?
Cloning repository (100%)
Project linked successfully. Building first deployment:
Downloaded
file:///src/config.js
Packaging complete
Error The deployment failed: ISOLATE_INTERNAL_FAILURE
Cloning repository (100%)
Project linked successfully. Building first deployment:
Downloaded
file:///src/config.js
Packaging complete
Error The deployment failed: ISOLATE_INTERNAL_FAILURE
i'm trying to deploy this MongoDB project: https://github.com/Pamel-a/mongo
23 replies
DDeno
Created by ruan on 10/22/2023 in #help
GitHub CLI from deno
Is it possible/how to use the GitHub cli (gh) from JavaScript on deno? Using the Github cli I'm able to generate download_urls for files on a private repo without exposing my github token to the application My idea is to call it from javascript side and return the url from an api, but i've no idea if its possible to run such tool from deno server
3 replies
DDeno
Created by ruan on 9/27/2022 in #help
newbie help on deploying first project to deno
I asked on deno github and was told to ask on discord: https://github.com/denoland/deno/discussions/16039 I wonder if someone could help me on this, im trying to deploy a mongodb nodejs project
8 replies