Skip to content

IPLD Explorer not loading from Blog - Lesson 6 #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RyanBRiley opened this issue Jan 12, 2019 · 5 comments · Fixed by #168
Closed

IPLD Explorer not loading from Blog - Lesson 6 #125

RyanBRiley opened this issue Jan 12, 2019 · 5 comments · Fixed by #168
Assignees
Labels
lesson-feedback Feedback on a specific lesson

Comments

@RyanBRiley
Copy link

RyanBRiley commented Jan 12, 2019

Have a question or suggestion regarding a specific ProtoSchool lesson? Please use this template to share it!

URL of the lesson that's confusing:
eg https://proto.school/#/blog/06

What's confusing about this lesson?
Link to view correct result in IPLD explorer loads the explorer but the result is not viewable. It appears as though it is perpetually loading.

What other feedback would you like to share about ProtoSchool?
Everything else has been great so far.

@RyanBRiley RyanBRiley added the lesson-feedback Feedback on a specific lesson label Jan 12, 2019
@terichadbourne
Copy link
Member

Thanks for the catch, @RyanBRiley! I get the same perpetual loading symbol that you do.

@mikeal Is it obvious to you why this isn't working, or should we be filing a bug in the IPLD Explorer repo?

image

@mikeal
Copy link
Member

mikeal commented Jan 14, 2019

Nope, maybe @olizilla knows.

@olizilla
Copy link
Collaborator

this happens when there is an issue lazy loading the ipld dependency from the gateway, or when the in-browser js-ipfs hasn't managed to share the block created as part of the lesson with the preload nodes.

The link to the IPLD explorer has been removed from the success message, or at least, i don't see it. I suggest we close this issue out for now and keep an eye out for similar issues in the future.

@terichadbourne
Copy link
Member

@olizilla I'm guessing you clicked the link above which goes to lesson 1 instead of lesson 6 which is the one in question and does have a link to IPLD explorer. The correct lesson link is: https://proto.school/#/blog/06 and the IPLD Explorer link generated by submitting the right solution is: https://ipfs.io/ipfs/QmYJETQ15RAnKXoJxqpXzcvQ2DuQA35UHwJBTjTPCSs9Ky/#/explore/zdpuAkUysBpAE2yvWdLCBbUqXusYVe5kgFSS7YriyeLfA5F5d

I just tried again and still get the spinner. I must confess I'm enough of a beginner that your first paragraph is mostly gibberish to me, so I still don't understand whether there's a problem with this lesson, a problem with the IPLD Explorer, or neither. Any chance you'd have some time this week to give me a quick lesson on IPLD Explorer?

@terichadbourne
Copy link
Member

@olizilla has offered to tackle this with me when he's back home next week, since he's been taking point on IPLD Explorer.

@terichadbourne terichadbourne changed the title Lesson Feedback: Blog - Lesson 6 (List posts chronologically with a chain of links) IPLD Explorer not loading from Blog - Lesson 6 Feb 27, 2019
olizilla added a commit that referenced this issue Mar 5, 2019
- alias the ipfs dependency to the pre-built bundle.
- update link to explore.ipld.io
- update ipfs to latest release

This ensures the browser friendly ipfs bundle is used. Before this
PR we were seeing a bunch of errors when IPFS tried to init, which
are caused by trying to get webpack to bundle the node build and
not substituting all the browser friendly deps correctly. Luckily,
this work is done for us in the ipfs dist build, so just use that.

fixes #164
fixes #125

License: MIT
Signed-off-by: Oli Evans <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lesson-feedback Feedback on a specific lesson
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants