Giter Club home page Giter Club logo

Comments (7)

py7hon avatar py7hon commented on May 14, 2024 1

Fixed
I replaced it with 1638959365361 in CF_LATEST_BLOCKLIST_TIMESTAMP

from serverless-dns.

amithm7 avatar amithm7 commented on May 14, 2024 1

@ignoramous It's already mentioned in .env.example file at the top:

# Refer to `wrangler.toml` or `fly.toml` file to find values of empty ("").

from serverless-dns.

amithm7 avatar amithm7 commented on May 14, 2024

Probably because there is a whitespace in CF_BLOCKLIST_URL's value: "https://cf.rethinkdns.com/blocklists/ "

Try setting CF_BLOCKLIST_URL again?

Edit: Or you may have set CF_LATEST_BLOCKLIST_TIMESTAMP to space: " "?

from serverless-dns.

py7hon avatar py7hon commented on May 14, 2024

Same can't fetch because whitespace



{"isException":true,"exceptionStack":"Error: [\"https://cf.rethinkdns.com/blocklists/ /td02.txt\",{},\"response status unsuccessful at fileFetch\"]\n    at fileFetch (file:///src/http.bundle.js:6162:15)\n    at async Promise.all (index 2)\n    at async makeTd (file:///src/http.bundle.js:6187:17)\n    at async Promise.all (index 1)\n    at async downloadBuildBlocklist (file:///src/http.bundle.js:6128:25)\n    at async BlocklistWrapper.initBlocklistConstruction (file:///src/http.bundle.js:6098:22)\n    at async BlocklistWrapper.RethinkModule (file:///src/http.bundle.js:6061:24)\n    at async RethinkPlugin.executePlugin (file:///src/http.bundle.js:7050:25)\n    at async proxyRequest (file:///src/http.bundle.js:7418:9)\n    at async Event.respondWith (deno:ext/http/01_http.js:153:18)","exceptionFrom":"blocklistWrapper.js initBlocklistConstruction","data":{}}
In blocklistFilterCallBack
exec-plugin.wdsdy09xhy: 842ms blocklistFilter got-res
Error: ["https://cf.rethinkdns.com/blocklists/ /td02.txt",{},"response status unsuccessful at fileFetch"]     at fileFetch (file:///src/http.bundle.js:6162:15)     at async Promise.all (index 2)     at async makeTd (file:///src/http.bundle.js:6187:17)     at async Promise.all (index 1)     at async downloadBuildBlocklist (file:///src/http.bundle.js:6128:25)     at async BlocklistWrapper.initBlocklistConstruction (file:///src/http.bundle.js:6098:22)     at async BlocklistWrapper.RethinkModule (file:///src/http.bundle.js:6061:24)     at async RethinkPlugin.executePlugin (file:///src/http.bundle.js:7050:25)     at async proxyRequest (file:///src/http.bundle.js:7418:9)     at async Event.respondWith (deno:ext/http/01_http.js:153:18)
7 | https://cf.rethinkdns.com/blocklists/ /td02.txt Response {   body: ReadableStream { locked: false },   bodyUsed: false,   headers: Headers {   "content-type": "application/xml",   date: "Mon, 27 Dec 2021 08:34:14 GMT",   server: "AmazonS3",   via: "1.1 f8e64d8534487ab105627956713b04b2.cloudfront.net (CloudFront)",   "x-amz-cf-id": "XXjQEYs6fYJxsI78-MA_NUvuq-lhvcV3z0yiWdlnpd4Sre6qQb_rlA==",   "x-amz-cf-pop": "SIN5-C1",   "x-cache": "Error from cloudfront" },   ok: false,   redirected: false,   status: 403,   statusText: "Forbidden",   url: "https://cf.rethinkdns.com/blocklists/%20/td02.txt" }

from serverless-dns.

amithm7 avatar amithm7 commented on May 14, 2024

CF_LATEST_BLOCKLIST_TIMESTAMP is a required variable:

# Required - Time when blocklists were generated.
CF_LATEST_BLOCKLIST_TIMESTAMP=""

Please set it referring to wrangler.toml file.

from serverless-dns.

ignoramous avatar ignoramous commented on May 14, 2024

CF_LATEST_BLOCKLIST_TIMESTAMP is a required variable:

Perhaps we should add a comment in .env.example to ask folks to refer to Wrangler.toml?

from serverless-dns.

ignoramous avatar ignoramous commented on May 14, 2024

@py7hon your homepage is on the Indian government's ban-list, for some reason (:

from serverless-dns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.