Skip to content

"Connection problems" in Incognito Mode #265

Open
@pcb-astro

Description

@pcb-astro

Information:

  • Browser and OS: Chrome on Mac OS Catalina 10.15.6
  • Browser version: Chrome 111.0.5563.146 (Official Build) (x86_64)
  • Codeit version: 3.4.5 (from the console logs below)

Description
Thanks for this cool software. I'm using it to embed a web-based visualization in my Medium blog post. Everything works fine when running in a "normal" Chrome window. However, when I switch to Incognito mode (for testing), the embed does not load and I get a message "Connection Problems? Let us know"

I get the following errors in browser console

Codeit 3.4.5. utils.js:81 
worker-channel.js:130 Uncaught (in promise) DOMException: Failed to register a ServiceWorker for scope ('https://codeit.codes/') with script ('https://codeit.codes/service-worker.js'): The user denied permission to use Service Worker.
utils.js:447 Uncaught (in promise) DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
    at getStorage (https://codeit.codes/utils.js:447:3)
    at https://codeit.codes/git/gitauth.js:6:14

Example
Blog post URL- https://humanastronomy.medium.com/hoping-that-it-works-8c140c18ed29

Cde.run URL which is being embedded - https://cde.run/pcb-astro/qm/view1_show.html
(view1_show.html just creates an iframe which calls https://pcb-astro.github.io/qm/view1.html )

Medium seems to use embedly and calls this URL
https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodeit.codes%2Fapi%2Flink%3Furl%3Dhttps%3A%2F%2Fcodeit.codes%2Fapi%2Flink%3Furl%3Dpcb-astro%252Fqm%252Fview1_show.html%26oembed%3Dtrue&display_name=Codeit&url=https%3A%2F%2Fcodeit.codes%2Fapi%2Flink%3Furl%3Dpcb-astro%252Fqm%252Fview1_show.html&image=https%3A%2F%2Fcodeit.codes%2Fimages%2Fbanner-og.png&key=a19fcc184b9711e1b4764040d3dc5c07&type=text%2Fhtml&schema=codeit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions