RuntimeError: The session is unavailable because no secret key was set. Set the secret_ key on the application to something unique and secret.
When we run the flash project on the Linux system, we encounter this error:
Solution:
Basically, on the Internet, you can set secret under the flash object app_ Key:
if it is added to the startup file of my project, I can successfully run the project under windows10. If it cannot succeed on the Linux system, it still reports an error
if it is added to the startup file of my project, it can run successfully on Linux
Read More:
- [Solved] ERROR: The kernel module failed to load, because it was not signed by a key that is trusted by the
- [Solved] Linux ECDSA key Error: Host key verification failed
- The semget function error: errno is set to 28 [How to Solve]
- [Solved] Failed to execute/bin/bash: resource temporarily unavailable
- Error: could not fork new process for connection: Resource temporarily unavailable
- [Solved] fatal error: cannot write PCH file: required memory segment unavailable
- RuntimeError: 0:1 (10): error: GLSL 3.30 is not supported. [How to Solve]
- [Solved] SSH Startup Error: unable to load host key /etc/ssh/ssh_host_ed25519_key bad permissions
- The JSON variable is parsed in the shell to obtain the value corresponding to the key
- AFTER THE GIT SOURCE CODE IS INSTALLED, AN ERROR IS REPORTED /USR/BIN/GIT: NO SUCH FILE OR DIRECTORY
- How to Fix xterm Xt error: Can’t open display: xterm: DISPLAY is not set
- [Solved] zookeeper Cluster error: Error: JAVA_HOME is not set and java could not be found in PATH.
- [Solved] Fatal error: GLOG/logging. H: there is no such file or directory
- [Solved] linux kernel load driver Error: module verification failed: signature and/or required key missing – tainting kernel
- Set the cursor of Ubuntu terminal to turn on automatic display
- [Solved] Raspberry Pi Error: VNC error “No configured security type is supported by 3.3 VNC Viewer“
- [Solved] Module yaml error: Unexpected key in data: static_context
- Nginx Error: SSL: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
- [Solved] dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- [Solved] CentOS Install pycrypto Error: RuntimeError: autoconf error