Giter Site home page Giter Site logo

[FATAL] Missing stamp about dnscrypt-proxy HOT 11 CLOSED

dnscrypt avatar dnscrypt commented on August 23, 2024
[FATAL] Missing stamp

from dnscrypt-proxy.

Comments (11)

jedisct1 avatar jedisct1 commented on August 23, 2024

You are probably using an old configuration file, which is not compatible with newer betas.

As the message says, stamps are required for static definitions, and your configuration may be missing one.

from dnscrypt-proxy.

iWARR avatar iWARR commented on August 23, 2024

I'm using this:

[servers]

  [servers.'server-of-my-choice']
  provider_name = '...'
  address = '...'
  public_key = '...'

from dnscrypt-proxy.

iWARR avatar iWARR commented on August 23, 2024

I'm sorry, but what the place I can find the corresponding value of stamp = parameter for the server-of-my-choice ?

from dnscrypt-proxy.

jedisct1 avatar jedisct1 commented on August 23, 2024
provider_name = '...'
address = '...'
public_key = '...'

These don't exist any more, since they only work with DNSCrypt, and the goal is to eventually support more protocols.

If you are running your own server, dnscrypt-wrapper should have printed the stamp.

If you are using a public server, you don't need anything in that section. Just fill in a server name in servers_name.

from dnscrypt-proxy.

iWARR avatar iWARR commented on August 23, 2024

Don't work.
I'm using a public server and now leaving section [sources] as it is (except cache_file = )

• If I delete [servers] and all lines below :
[FATAL] No servers configured

• If I leave [servers] like this :

[servers]
  [servers.'server-of-my-choice']

I've got :
[FATAL] Missing stamp for the static [server-of-my-choice] definition

Seems like stamp = is the MUST value (for now)...

from dnscrypt-proxy.

jedisct1 avatar jedisct1 commented on August 23, 2024

The proxy needs to know where to download server lists from.

The example configuration file has this section:

[sources]
  [sources.'legacy resolvers list for dnscrypt-proxy v1']
  url = 'https://download.dnscrypt.info/resolvers-list/v1/dnscrypt-resolvers.csv'
  minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
  cache_file = 'dnscrypt-resolvers.csv'
  format = 'v1'
  refresh_delay = 168
  prefix = ''

Do not remove it, this is needed.

from dnscrypt-proxy.

jedisct1 avatar jedisct1 commented on August 23, 2024

Essentially, this is easy: do not change anything to the example file, except server_names = if you want to use a specific resolver.

from dnscrypt-proxy.

iWARR avatar iWARR commented on August 23, 2024

Read my last message again, please. I didn't touch the [sources], as I'm said.

cache_file = 'C:\Program Files\dnscrypt-proxy\dnscrypt-resolvers.csv'

equal to

cache_file = 'dnscrypt-resolvers.csv'

Right?

Other lines in [sources] are exactly the same as your lines.

[sources]
  [sources.'legacy resolvers list for dnscrypt-proxy v1']
  url = 'https://download.dnscrypt.info/resolvers-list/v1/dnscrypt-resolvers.csv'
  minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
  cache_file = 'C:\Program Files\dnscrypt-proxy\dnscrypt-resolvers.csv'
  format = 'v1'
  refresh_delay = 168
  prefix = ''

from dnscrypt-proxy.

jedisct1 avatar jedisct1 commented on August 23, 2024

Yes, it should be the same. Unless spaces in file names don't work. I haven't tested on Windows yet.

What does your full config file look like?

from dnscrypt-proxy.

iWARR avatar iWARR commented on August 23, 2024

It works

So, worked (default) variant :

cache_file = 'dnscrypt-resolvers.csv'

is not the same as absolute path with freshy manually downloaded file from URL to disk, for example:

cache_file = 'C:\Program Files\dnscrypt-proxy\dnscrypt-resolvers.csv'

Don't understand why.

from dnscrypt-proxy.

iWARR avatar iWARR commented on August 23, 2024

Unless spaces in file names don't work.

But I have spaces in the all other absolute pathes (rules and logs), for example:

blacklist_file = 'C:\Program Files\dnscrypt-proxy\block\Blacklisted-Domains.txt'
log_file = 'C:\Program Files\dnscrypt-proxy\log\Restricted-Domains.log'

from dnscrypt-proxy.

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.