Changxin
Livebook: Failed to connect runtime - Elixir terminated unexpectedly
I’ve installed livebook by livebook_websetup.exe, but I can’t connect to Elixir runtime in livebook with Elixir Standalone on my Windows laptop.
once I click evaluate or Connect button, it shows:
Failed to connect runtime - Elixir terminated unexpectedly, please check the terminal for errors.
I don’t know what to do, I started it by clicking desktop ico…
Anyone can help? Any operations I should try or some settings I should check?
Marked As Solved
Changxin
Well, the solution is change my Livebook installation path, because the old path has space ![]()
Also Liked
mardukbp
I had the same issue after installing Livebook on Windows as a user with no admin rights. I fixed it by editing the file %LOCALAPPDATA%\rel\releases\{livebook-version}\env.bat as follows:
- if not defined RELEASE_DISTRIBUTION set RELEASE_DISTRIBUTION=sname
+ if not defined RELEASE_DISTRIBUTION set RELEASE_DISTRIBUTION=name
- if not defined RELEASE_NODE set RELEASE_NODE=livebook-app-!TIMESTAMP:~8,6!-!RANDOM!
+ if not defined RELEASE_NODE set RELEASE_NODE=livebook-app-!TIMESTAMP:~8,6!-!RANDOM!@127.0.0.1
Hope that helps ![]()
Last Post!
mardukbp
I had the same issue after installing Livebook on Windows as a user with no admin rights. I fixed it by editing the file %LOCALAPPDATA%\rel\releases\{livebook-version}\env.bat as follows:
- if not defined RELEASE_DISTRIBUTION set RELEASE_DISTRIBUTION=sname
+ if not defined RELEASE_DISTRIBUTION set RELEASE_DISTRIBUTION=name
- if not defined RELEASE_NODE set RELEASE_NODE=livebook-app-!TIMESTAMP:~8,6!-!RANDOM!
+ if not defined RELEASE_NODE set RELEASE_NODE=livebook-app-!TIMESTAMP:~8,6!-!RANDOM!@127.0.0.1
Hope that helps ![]()
Popular in Questions
Other popular topics
Latest Livebook Threads
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #hex
- #security









