Skip to content

Error: Illegal base64 data at input byte 20 #895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rajesh1084 opened this issue Apr 10, 2025 · 0 comments
Open

Error: Illegal base64 data at input byte 20 #895

rajesh1084 opened this issue Apr 10, 2025 · 0 comments

Comments

@rajesh1084
Copy link

I'm on Mac M2 (15.4) and looks like there is an issue with data conversion.

$ brew install edgevpn
...

$ edgevpn --version
edgevpn version 0.30.2

$ EDGEVPNTOKEN=$(edgevpn -b -g)

$ echo $EDGEVPNTOKEN
b3RwOgogIGRodDoKICAgIGludGVydmFsOiAzNjAKICAgIGtleTogc1poUUwyUWh1WUpmTjZzSzhvWU03ZFIxbzE1NUc4N2gxQmNTWTNmaG5kNwogICAgbGVuZ3RoOiA0MwogIGNyeXB0bzoKICAgIGludGVydmFsOiAzNjAKICAgIGtleTogYmxyZ3VFbDJneFg3YjVoaE1FQ3RBSkxQRHZRU3haZlhDSTBiTEkzemdoYgogICAgbGVuZ3RoOiA0Mwpyb29tOiBDcnFTVE52a245aG5ZSkg5RTJ0Mzc0eWdwUHRTMFQ5ZXhKTWFubTBTeDhXCnJlbmRlenZvdXM6IGhYaHE3VnZ1Q0pkSW16Szh5QXJoUk1BUXd1WnA1NnlZN0drTVpmcGtDYnIKbWRuczogdmF3SGtLRTlIRVUxcThZTWJPTG82VlNpVkZkRzZUYnI1T0NabTh5U0ZLQwptYXhfbWVzc2FnZV9zaXplOiAyMDk3MTUyMAo=

$ edgevpn --dhcp --api
{"level":"FATAL","time":"2025-04-10T09:42:47.305+0530","caller":"cmd/util.go:540","message":" EDGEVPNCONFIG or EDGEVPNTOKEN not supplied. At least a config file is required"}

$ echo $EDGEVPNTOKEN > ~/tokenfile

$ edgevpn --dhcp --api --token ~/tokenfile
{"level":"INFO","time":"2025-04-10T09:43:14.959+0530","caller":"config/config.go:300","message":"connmanager disabled\n"}
{"level":"INFO","time":"2025-04-10T09:43:14.960+0530","caller":"config/config.go:304","message":" go-libp2p resource manager protection disabled"}
illegal base64 data at input byte 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant