You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I am running blocky in a docker container. Today I tried to update the image from 0.16 to 0.17. But after doing this, blocky does not want to start any longer. :(
The error messages are always:
[...]
[2021-12-07 19:21:10] FATAL wrong file structure: can't convert port to number (1 - 65535) strconv.ParseUint: parsing "": invalid syntax
[2021-12-07 19:21:12] FATAL wrong file structure: can't convert port to number (1 - 65535) strconv.ParseUint: parsing "": invalid syntax
[...]
Maybe I am missing the "config.GetConfig().HTTPPort" related entry, referenced in file root.go ("func initConfig()")?! But neither httpPort nor httpsPort is marked as mandatory.
The text was updated successfully, but these errors were encountered:
Yes. The line number where the error occurs would be nice. ;) ;)
The line number seems not be easily available in the conversion methode.
But it should be easy to modify the error message with something like err = fmt.Errorf("can't convert upstream resolver '%s' -> %w", upstream, err).
This would show the invalid upstream resolver entry in the error message.
0xERR0R
changed the title
"FATAL wrong file structure" after updating from 0.16 to 0.17
Improve error message for wrong upstream definition
Dec 11, 2021
Hi!
I am running blocky in a docker container. Today I tried to update the image from 0.16 to 0.17. But after doing this, blocky does not want to start any longer. :(
The error messages are always:
[...]
[2021-12-07 19:21:10] FATAL wrong file structure: can't convert port to number (1 - 65535) strconv.ParseUint: parsing "": invalid syntax
[2021-12-07 19:21:12] FATAL wrong file structure: can't convert port to number (1 - 65535) strconv.ParseUint: parsing "": invalid syntax
[...]
Maybe I am missing the "config.GetConfig().HTTPPort" related entry, referenced in file root.go ("func initConfig()")?! But neither httpPort nor httpsPort is marked as mandatory.
The text was updated successfully, but these errors were encountered: