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

Blokh
Hey guys, I’ve got a huge CSV ( around 10 GB ) that needs to be processed hourly Do you guys have any suggestions what is the best prac...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
Onor.io
I have what I’ve heard referred to as a “lookup table” in my database. This is a way of assigning codes to common values. One common lo...
New
jaybe78
Hello, I’m developing a online persistent chat system (what’s app) like using elixir/dynamodb/aws for a mobile app(flutter). The diffic...
New
Trolleger
What approach to take when sending live updates to “random” users Hi! I have a question, I have a little chat app, and when I create a DM...
New
matt-savvy
Anyone here using Honeybadger? My Honeybadger account is being overwhelmed with noise from some bots. Seeing a lot of Bandit.HTTPError...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge &amp; Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews