Skip to content

Dependency on /.fly/fly-src.pub #35

@prashanthpai

Description

@prashanthpai

Thanks for the cool project!

Can this be used outside of fly.io? Currently tokenizer refuses to start without a /.fly/fly-src.pub

➜  tokenizer git:(main) ✗ OPEN_KEY=xxxx LISTEN_ADDRESS=:9090 ./tokenizer
PANI[0000] Error making flysrc parser                    error="/.fly/fly-src.pub: open /.fly/fly-src.pub: no such file or directory"
panic: (*logrus.Entry) 0x1400014aaf0

goroutine 1 [running]:
github.com/sirupsen/logrus.(*Entry).log(0x1400014aa80, 0x0, {0x140000267c0, 0x1a})
	/Users/ppai/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:260 +0x434
github.com/sirupsen/logrus.(*Entry).Log(0x1400014aa80, 0x0, {0x14000033bd0?, 0x100a83b60?, 0x1400007e920?})
	/Users/ppai/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:304 +0x60
github.com/sirupsen/logrus.(*Entry).Panic(...)
	/Users/ppai/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:342
github.com/superfly/tokenizer.NewTokenizer({0x140000240a9?, 0xf?}, {0x14000033ce8, 0x0, 0x100d8d0a0?})
	/Users/ppai/src/tokenizer/tokenizer.go:128 +0x208
main.runServe()
	/Users/ppai/src/tokenizer/cmd/tokenizer/main.go:99 +0x494
main.main()
	/Users/ppai/src/tokenizer/cmd/tokenizer/main.go:64 +0xb4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions