Southpaw
Southpaw
Explore posts from servers
CDCloudflare Developers
Created by Southpaw on 11/8/2023 in #general-help
Firewall is blocking some legitimate traffic to our API servers
I've been watching the firewall events for our domain, and some traffic that I think is legitimate (based on the user agent) is being blocked. The traffic in question is from China, which may explain it. Is the best option to simply lower the security level with a configuration rule? It's already on Low.
21 replies
CDCloudflare Developers
Created by Southpaw on 9/15/2023 in #pages-help
Changing a GitHub project to a Direct Upload project
Right now, one of my websites uses the GitHub integration to upload builds, but I want to switch to using Direct Upload. How can I do this?
9 replies
CDCloudflare Developers
Created by Southpaw on 7/12/2023 in #general-help
`cloudflared access` asking for SSH password instead of using Zero Trust for authentication.
I'm setting up Cloudflare Zero Trust, and trying to manage SSH connections to a server with cloudflared access, following https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/use-cases/ssh/#connect-to-ssh-server-with-cloudflared-access. I have already set up the server as a Tunnel and given it a public hostname, and it is showing as healthy. I have also installed Cloudflared on my Mac and set up the ProxyCommand in my ssh config. However, when I type ssh <hostname>, instead of launching a browser window for authentication, it simply asks for my password, as it would for a regular SSH connection. I also tried visiting the browser terminal, but the server "unexpectedly dropped the connection". Why might this be? I do know that password login over SSH is not best practice: I intend to disable it as soon as Cloudflare Access is set up.
2 replies
CDCloudflare Developers
Created by Southpaw on 6/21/2023 in #general-help
CSP is blocking Cloudflare even though I rewrote the CSP header
8 replies
CDCloudflare Developers
Created by Southpaw on 5/20/2023 in #pages-help
"Unable to find pages project" error with GitHub Actions
I'm using the pages action to deploy my site from GitHub Pages. This is the part of the Action that defines the Pages deployment
- name: Deploy uses: https://github.com/cloudflare/pages-action@v1 with: apiToken: $ {{ secrets.CLOUDFLARE_API_TOKEN }} accountID: $ {{ secrets.CLOUDFLARE_ACCOUNT_ID }} projectName: "website" directory: "dist" gitHubToken: $ {{ secrets.GITHUB_TOKEN }}
- name: Deploy uses: https://github.com/cloudflare/pages-action@v1 with: apiToken: $ {{ secrets.CLOUDFLARE_API_TOKEN }} accountID: $ {{ secrets.CLOUDFLARE_ACCOUNT_ID }} projectName: "website" directory: "dist" gitHubToken: $ {{ secrets.GITHUB_TOKEN }}
When I run it, it fails with this error:
run/act/actions/https---github.com-cloudflare-pages-action@v1/index.js:221582 throw new Error("Unable to find pages project");3 ^45Error: Unable to find pages project6 at /run/act/actions/https---github.com-cloudflare-pages-action@v1/index.js:22158:137 at processTicksAndRejections (node:internal/process/task_queues:96:5)
run/act/actions/https---github.com-cloudflare-pages-action@v1/index.js:221582 throw new Error("Unable to find pages project");3 ^45Error: Unable to find pages project6 at /run/act/actions/https---github.com-cloudflare-pages-action@v1/index.js:22158:137 at processTicksAndRejections (node:internal/process/task_queues:96:5)
The project I am trying to deploy is called "website" so I don't know how to tell what phase of the process is going wrong. The only thing I've thought to try is giving the token read and write permissions instead of just write. Account ID: 09646c990f5cc498559b98c4427677d6
3 replies