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

  • Người tạo chủ đề Người tạo chủ đề Fioren
  • Ngày bắt đầu Ngày bắt đầu
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
 
e mới resync fork rồi tạo lại workflow mà nó bị như này là sao các bác ơi?

swappy-20240608-160428.png
swappy-20240608-161155.png
 
Sửa lần cuối:
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
 
Hết tháng này hết hạn nextdns rồi. Chắc phải ngâm cứu qua CF :( giờ anh nextdns giá x5 lần mặn quá
 
m.n cho em hỏi update ip ddns sao ko đc vậy ạ. Mọi khi đều cập nhật đều đều mấy nay em để ý log nó ko hiện ở router
1717852183471.png

1717852235785.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ỉ?
 

Tệp đính kèm

  • Screenshot 2024-06-09 071355.png
    Screenshot 2024-06-09 071355.png
    4,2 KB · Lượt xem: 101
  • Screenshot 2024-06-09 071355.png
    Screenshot 2024-06-09 071355.png
    4,2 KB · Lượt xem: 102
Sửa lần cuối:
Đợ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?

Mã:
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.
 
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?

Mã:
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.
Cloudflare đang bị lỗi giới hạn tốc độ. Bạn xem vài post trước, sếp có hướng dẫn cách cho nghỉ vài giây khi xóa/tạo list.
Đây là cách tạm thời, thời gian chạy tăng đáng kể khi list của bạn lớn
 
Cloudflare đang bị lỗi giới hạn tốc độ. Bạn xem vài post trước, sếp có hướng dẫn cách cho nghỉ vài giây khi xóa/tạo list.
Đây là cách tạm thời, thời gian chạy tăng đáng kể khi list của bạn lớn
Chạy 1 commit mà nó cứ hiện 2 action cái được cái ko là sao v fen? Mình làm theo hd 2s bạn nói.
 

Thống kê chủ đề

Ngày tạo
Fioren,
Người trả lời cuối
tuananhhd88,
Trả lời
4.335
Lượt xem
418.288
Quay lại
Lên đầu trang