thảo luận Hướng dẫn dùng Cloudflare Zero Trust

2 list của bạn bị sai định dạng, dẫn đến không chạy được hoặc chạy được sẽ bị chặn sai
Mình test thử vẫn thấy chặn tốt mà, hay 1 bộ lọc đã cân hết rồi
 

Attachments

  • Screenshot_2024-06-08-05-54-58-165_com.microsoft.bing.jpg
    Screenshot_2024-06-08-05-54-58-165_com.microsoft.bing.jpg
    422.5 KB · Views: 58
Bộ lọc mình như cũ, thường tầm 95 list, bình thường chạy tầm gần 2 phút, mấy bữa nay nó lên 15 phút, ko fail nhưng lâu vl
 
bao nhiêu list mà chạy lắm thế
:bad_smelly:
Thằng lâu phe này xài tk free nó từ chối truy cập port 853 phải ko cụ, cài cái dot trên adguard home miền cf tịt ngúm, đóng cái ddns free chạy xé gió :s. Làm lọ mọ mấy hôm ko đc. Mà cái thằng sâm android 14 cũng khắm lọ ko hỗ trợ doh phải qua dot.
 
Thằng lâu phe này xài tk free nó từ chối truy cập port 853 phải ko cụ, cài cái dot trên adguard home miền cf tịt ngúm, đóng cái ddns free chạy xé gió :s. Làm lọ mọ mấy hôm ko đc. Mà cái thằng sâm android 14 cũng khắm lọ ko hỗ trợ doh phải qua dot.
vừa test thử vẫn bt sốp
1717841303649.png
 
Cứu với các fen ơi, nay tự nhiên vào git check thì thấy 3 tuần rồi nó ko tự update nữa, mình đã sync folk mới nhất xong rerun chạy lại vẫn báo lỗi, mở action ra coi thì thấy nó toàn skip action 🥲🥲🥲
IMG_0049.png
 
Đợi các cao thủ vào chỉ xem sao, ko đc thì lại xoá đi làm lại.
Update: đã tìm ra nguyên nhân action bị skip, do reposity id không đúng, @Fioren fen ơi, fen chỉnh code xóa cái đoạn check if này dc hem.
Với cả mình thấy workflow action ko có thấy file nào để nó tự chạy update nhỉ?
 

Attachments

  • Screenshot 2024-06-09 071355.png
    Screenshot 2024-06-09 071355.png
    4.2 KB · Views: 35
  • Screenshot 2024-06-09 071355.png
    Screenshot 2024-06-09 071355.png
    4.2 KB · Views: 33
Last edited:
Đợi các cao thủ vào chỉ xem sao, ko đc thì lại xoá đi làm lại.
Update: đã tìm ra nguyên nhân action bị skip, do reposity id không đúng, @Fioren fen ơi, fen chỉnh code xóa cái đoạn check if này dc hem.
Với cả mình thấy workflow action ko có thấy file nào để nó tự chạy update nhỉ?
Tạo file chạy update trong folder workflow, với nội dung là file auto update github action ở folder gốc
 
Tạo file chạy update trong folder workflow, với nội dung là file auto update github action ở folder gốc
báo lỗi rồi fen ơi huhu, có phải sửa tên cái file workflow này thành update... gì ko fen? hay cứ để main?

Code:
Run npm run cloudflare-delete

> cloudflare-delete
> npm run cloudflare-delete:rule && npm run cloudflare-delete:list


> cloudflare-delete:rule
> node cf_gateway_rule_delete.js

No rule(s) with matching name found - this is not an issue if you haven't run the create script yet. Exiting.

> cloudflare-delete:list
> node cf_list_delete.js

Got 214 lists, 214 of which are CGPS lists that will be deleted.
Deleting 214 lists...
Error occurred while deleting lists - SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
undefined:1
<!DOCTYPE html>
^

SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
    at JSON.parse (<anonymous>)
    at parseJSONFromBytes (node:internal/deps/undici/undici:4306:19)
    at successSteps (node:internal/deps/undici/undici:4288:27)
    at fullyReadBody (node:internal/deps/undici/undici:2724:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async consumeBody (node:internal/deps/undici/undici:4297:7)
    at async request (file:///home/runner/work/cloudflare-gateway-pihole-scripts/cloudflare-gateway-pihole-scripts/lib/helpers.js:107:16)
    at async Promise.all (index 26)
    at async deleteZeroTrustListsAtOnce (file:///home/runner/work/cloudflare-gateway-pihole-scripts/cloudflare-gateway-pihole-scripts/lib/api.js:136:5)
    at async file:///home/runner/work/cloudflare-gateway-pihole-scripts/cloudflare-gateway-pihole-scripts/cf_list_delete.js:35:5

Node.js v20.14.0
Error: Process completed with exit code 1.
 
Back
Top