dhakkad
dhakkad
CDCloudflare Developers
Created by dhakkad on 11/3/2024 in #general-help
Can I host https://github.com/cloudflare/orange (https://demo.orange.cloudflare.dev/) in my account?
I was intially looking for actually coding a similar thing and was thinking of hosting it but as I already use cloudflare and later I found out about this demo app, can I just host it in my cloudflare account and just use it?
3 replies
CDCloudflare Developers
Created by dhakkad on 9/4/2024 in #workers-help
CF Workers SOC2 compliance?
1 replies
CDCloudflare Developers
Created by dhakkad on 3/14/2024 in #general-help
Cloud Access Security Broker (CASB) and Cloud Security Posture Management (CSPM) on cloudflare?
Are there any solutions on cloudflare for the same? I am looking for these to implement in my organization where we have under 50 people. I've used cloudflare zero trust before for my personal setup but I am looking for things/services that completely maps to these mentioned terms in the title. If anyone can help me providing details for the same, will be really appreciated, thanks in advance.
3 replies
CDCloudflare Developers
Created by dhakkad on 3/13/2024 in #general-help
Cannot set redirect from www to apex
No description
2 replies
CDCloudflare Developers
Created by dhakkad on 3/11/2024 in #general-help
Created multiple cloudflare tunnels but not a single one is getting connected
I'm getting this error Register tunnel error from server side error="Unauthorized: Failed to get tunnel" connIndex=0 event=0 ip=198.41.200.73 2024-03-11T09:57:05Z INF Retrying connection in up to 4s connIndex=0 event=0 ip=198.41.200.73 2024-03-11T09:57:06Z ERR failed to serve incoming request error="Unauthorized: Failed to get tunnel"
2 replies
CDCloudflare Developers
Created by dhakkad on 1/30/2024 in #general-help
How to open/forward TURN/STUN port using cloudflare tunnel?
I've this
version: "3.7"
services:
screego:
image: ghcr.io/screego/server:1.10.0
ports:
- 5050:5050
- 3478:3478
- 50200-50400:50200-50400/udp
environment:
SCREEGO_EXTERNAL_IP: "dns:[email protected]:53"
SCREEGO_TURN_PORT_RANGE: "50200:50400"
SCREEGO_CORS_ALLOWED_ORIGINS: "https://share.ashishjullia.com"
SCREEGO_AUTH_MODE: "none"
SCREEGO_TRUST_PROXY_HEADERS: "false"
SCREEGO_LOG_LEVEL: "debug"
cf-tunnel:
image: cloudflare/cloudflared
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=<>
version: "3.7"
services:
screego:
image: ghcr.io/screego/server:1.10.0
ports:
- 5050:5050
- 3478:3478
- 50200-50400:50200-50400/udp
environment:
SCREEGO_EXTERNAL_IP: "dns:[email protected]:53"
SCREEGO_TURN_PORT_RANGE: "50200:50400"
SCREEGO_CORS_ALLOWED_ORIGINS: "https://share.ashishjullia.com"
SCREEGO_AUTH_MODE: "none"
SCREEGO_TRUST_PROXY_HEADERS: "false"
SCREEGO_LOG_LEVEL: "debug"
cf-tunnel:
image: cloudflare/cloudflared
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=<>
And I'm tryin to forward all these ports via th cf tunnel. I can forward port 5050 which is a HTTP port but not sure whether it is possible to forward the 3478 which is a STUN/TURN port and I want to open 50200-50400/udp as well. Is there a way with which I can just forward/expose/open the complete network of this compose file? I mean the network local to this cloudflared network or container. Is it even possible? I know a complete network can be opened using the private network of a tunnel but I want to map this application to a domain/sub-domain. Here is my conversation with the owner of the application: https://github.com/screego/server/issues/167 Any help and pointers are appreciated as I really want this project to get going but want to self host it at the same time.
8 replies
CDCloudflare Developers
Created by dhakkad on 12/5/2023 in #general-help
CORS issue on/in nodejs and react application via cloudflare tunnel
No description
23 replies
CDCloudflare Developers
Created by dhakkad on 11/3/2023 in #pages-help
Custom domain and sub-domains stuck at verifying an initializing
No description
38 replies
CDCloudflare Developers
Created by dhakkad on 7/14/2023 in #workers-help
‘otplib’ library throws TypeError: crypto2.createHmac is not a function error
I’m trying to use otplib library in cloudflare workers but seems like it is not supported because of a crypto/crypto2 dependency, at least that’s what I understood from this error:
Error generating OTP: crypto2.createHmac is not a function
TypeError: crypto2.createHmac is not a function
at Object.createDigest (core:user:portunus-worker-dev:2616:30)
at hotpDigest (core:user:portunus-worker-dev:2991:24)
at hotpToken (core:user:portunus-worker-dev:2994:45)
at totpToken (core:user:portunus-worker-dev:3107:16)
at authenticatorToken (core:user:portunus-worker-dev:3254:16)
at Authenticator.generate (core:user:portunus-worker-dev:3267:18)
at module.exports.getOTP (core:user:portunus-worker-dev:5109:38)
at async Object.handle (core:user:portunus-worker-dev:2186:37)
at async jsonError (core:user:portunus-worker-dev:2149:18) {
stack: TypeError: crypto2.createHmac is not a function
…jsonError (core:user:portunus-worker-dev:2149:18),
message: crypto2.createHmac is not a function
}
Error generating OTP: crypto2.createHmac is not a function
TypeError: crypto2.createHmac is not a function
at Object.createDigest (core:user:portunus-worker-dev:2616:30)
at hotpDigest (core:user:portunus-worker-dev:2991:24)
at hotpToken (core:user:portunus-worker-dev:2994:45)
at totpToken (core:user:portunus-worker-dev:3107:16)
at authenticatorToken (core:user:portunus-worker-dev:3254:16)
at Authenticator.generate (core:user:portunus-worker-dev:3267:18)
at module.exports.getOTP (core:user:portunus-worker-dev:5109:38)
at async Object.handle (core:user:portunus-worker-dev:2186:37)
at async jsonError (core:user:portunus-worker-dev:2149:18) {
stack: TypeError: crypto2.createHmac is not a function
…jsonError (core:user:portunus-worker-dev:2149:18),
message: crypto2.createHmac is not a function
}
5 replies