GenieFramework / DockerizedGBApp

Genie 🧞‍♂️ on Docker 🐳
1 stars 1 forks source link

Brounds Error Encryption.jl #1

Open AbhimanyuAryan opened 1 year ago

AbhimanyuAryan commented 1 year ago
[11:22:59] ~\..\DockerizedGBApp on master ❯ docker run -p 8000:8000 gbapp:01

 ██████╗ ███████╗███╗   ██╗██╗███████╗    ███████╗
██╔════╝ ██╔════╝████╗  ██║██║██╔════╝    ██╔════╝
██║  ███╗█████╗  ██╔██╗ ██║██║█████╗      ███████╗
██║   ██║██╔══╝  ██║╚██╗██║██║██╔══╝      ╚════██║
╚██████╔╝███████╗██║ ╚████║██║███████╗    ███████║
 ╚═════╝ ╚══════╝╚═╝  ╚═══╝╚═╝╚══════╝    ╚══════╝

| Website  https://genieframework.com
| GitHub   https://github.com/genieframework
| Docs     https://genieframework.com/docs
| Discord  https://discord.com/invite/9zyZbD6J7H
| Twitter  https://twitter.com/essenciary

Active env: PROD

┌ Warning:
│             No secret token is defined through `Genie.Secrets.secret_token!("token")`. Such a token
│             is needed to hash and to encrypt/decrypt sensitive data in Genie, including cookie
│             and session data.
│
│             If your app relies on cookies or sessions make sure you generate a valid token,
│             otherwise the encrypted data will become unreadable between app restarts.
│
│             You can resolve this issue by generating a valid `config/secrets.jl` file with a
│             random token, calling `Genie.Generator.write_secrets_file()`.
│
└ @ Genie.Secrets ~/.julia/packages/Genie/G38XX/src/Secrets.jl:27

Ready!

┌ Info:
└ Web Server starting at http://0.0.0.0:8000 - press Ctrl/Cmd+C to stop the server.
[ Info: Listening on: 0.0.0.0:8000
┌ Error: BoundsError(UInt8[0x17, 0xd3, 0x0c, 0x52, 0xb5, 0xc4, 0x8e, 0x64, 0xf9, 0x41, 0xcc, 0x0b, 0xfc, 0x12, 0xb6, 0xa4, 0x7b, 0xf5, 0x2c, 0x79, 0xcb, 0x41, 0x1b, 0xb2, 0xcd, 0x36, 0x23, 0x1e, 0x32, 0x66, 0x39, 0x75, 0xe1, 0xa5, 0xc6, 0xdf, 0x5d, 0x96, 0xe9, 0x1f, 0xb2, 0x40, 0x21, 0xb8, 0xeb, 0xe2, 0x28, 0x49, 0x7d, 0x53, 0xc9, 0x9b, 0xbf, 0xe5, 0x7b, 0x5f, 0xc8, 0x73, 0x29, 0x15, 0xc2, 0x44, 0x6c, 0xd8, 0x35, 0xa4, 0x3b, 0x33, 0x7e, 0x3d, 0x74, 0x1b, 0x42, 0xc0, 0x65, 0x04, 0x67, 0x8d, 0x69, 0xb1], (-96:79,))
└ @ Genie.Encryption ~/.julia/packages/Genie/G38XX/src/Encryption.jl:38
┌ Error: Could not decrypt data
└ @ Genie.Encryption ~/.julia/packages/Genie/G38XX/src/Encryption.jl:39
[ Info: GET / 200
┌ Error: GET /favicon.ico 404
└ @ Genie.Router ~/.julia/packages/Genie/G38XX/src/Router.jl:204
[ Info: GET /stipple.jl/master/assets/img/genie-logo.img 200
[ Info: GET /stipple.jl/master/assets/img/genie-logo.img 200
"App is loaded" = "App is loaded"
sasadat commented 1 year ago

I am having the same issue

AbhimanyuAryan commented 1 year ago

@ssadat this is just a warning. It should work however

AbhimanyuAryan commented 1 year ago

I documented it so I can look at his later. Usually it fixes on itself. Can you try with Genie 5.13?