03juan

03juan

Hi friends,

I’ve set up a docker instance with the latest livebook v0.9.1 image and I’ve run into an error when creating an explorer dataframe.

I expect the smartcell to render below the code, but the console throws this error:

app.js:2 Uncaught (in promise) Error: The loaded iframe content doesn't have the expected checksum

Here is a screen cap of the problem

I also stood up a new livebook instace on fly.io and interestingly that crashes when trying to install explorer. Not sure how related this is.

Any ideas how I can try to debug this before I create an issue?

Showing Posts 1 to 5

03juan

03juan OP

It’s not a problem with the dataset, just generating a simple DF also errors

josevalim

josevalim

Creator of Elixir

There should be an iframe in the page, where the output is expected. Can you find it using the browser inspector and access its src? Where does it point to? I am also wondering if you have an extension that could be modifying the iframe. Can you try in incognito mode?

josevalim

josevalim

Creator of Elixir

You can also use Livebook itself to validate the iframe signature. Add :req as a dependency and then:

resp = Req.get!("https://livebookusercontent.com/iframe/v4.html")
Base.encode64 :crypto.hash :sha256, req.body

Livebook expects it to be: vd7g1B8fLBFZH6C6KNpG4H8B0SQ/oIuqKaTW6jD053A=

But please check you are indeed downloading that iframe. :slight_smile:

03juan

03juan OP

Unfortunately incognito doesn’t make a difference.

It seems there are no iframe elements in the document?

The only reference I find to them in the source is in the cell that raises the error:

<div id="js-output-fkohxozn4bdhb7tonmpvgmtutdsjns3e-fkohxozn4bdhb7tonmpvgmtutdsjns3e" phx-hook="JSView" phx-update="ignore" data-ref="fkohxozn4bdhb7tonmpvgmtutdsjns3e" data-assets-base-path="/public/sessions/qfg6hzynirtsrajrafs5wgabng4uk27tmel54eqf/assets/fqenfgef7b2d3vq54jl42hh4ma/" data-js-path="main.js" data-session-token="SFMyNTY.g2gDdAAAAAJkAAljbGllbnRfaWRtAAAAIDJmZGtsaGg0bTJqbTZneDdpeWNyaGVmNnR2a3F2M3Z6ZAAKc2Vzc2lvbl9pZG0AAAAocWZnNmh6eW5pcnRzcmFqcmFmczV3Z2Fibmc0dWsyN3RtZWw1NGVxZm4GAEkfEnqHAWIAAVGA.jOpp23h5kbVYv1-oLyRsYlKKEMeLY4G5d3LGpHtxnjs" data-connect-token="SFMyNTY.g2gDdAAAAAFkAANwaWRYZAAlZDIydnJ5cmYtbGl2ZWJvb2tfc2VydmVyQHBkcHN0cmFja2luZwAAB8UAAAAAZDfRg24GAEkfEnqHAWIAAVGA.G-aGQIXA87QUfBUfM4PnM0Q2ZhDHVtprhgWwdwTSW28" data-iframe-local-port="8081" data-timeout-message="Not available" data-phx-component="19">
<div></div><input style="display: none;"></div>

03juan

03juan OP

I found the problem, it had to do with my having previously set up a netsh interface portproxy forwarding to 8080 in WSL that I forgot all about.

This was obviously interrupting the iframe creation in the livebook.

Deleting the forwarding solved the issue.

Apologies for the XY problem.

— All posts loaded —

Where Next? Top

Trending in Questions Top

katta
I having some trouble figuring out if I have set myself too strict of standards for my production server. Currently I can handle 75% of r...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
kpanic
Hi everyone, I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding. I sta...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
asweet-confluent
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
apz
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews