mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3338] [bug]: Cannot access 'o' before initialization #1112
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @radrianhp on GitHub (Sep 11, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3338
Is there an existing issue for this?
Current behavior
When I try to access demo project. I want to access URL, but the result not show and showing some error in console.
Steps to reproduce
how to solve this error ?
Environment
Production
Version
Cloud
@sebzz2002 commented on GitHub (Sep 11, 2023):
I have found the same issue on
os - ubuntu 20.04
browser - firefox
I am not able to send or recive respone
@lili21 commented on GitHub (Sep 11, 2023):
same issue here
@pupca commented on GitHub (Sep 11, 2023):
i have the same issue
@anubhavhazarika commented on GitHub (Sep 11, 2023):
Same issue as well. Self-host, intercepter via browser extension: Chrome
@shahwan42 commented on GitHub (Sep 12, 2023):
Same!
Self-host, with/out the extension. Chrome.
Uncaught ReferenceError: Cannot access 'o' before initialization

Update: Same on Safari after login. Works without login.
@giosueDelgado commented on GitHub (Sep 12, 2023):
Agree with you also for me!
@AndrewBastin commented on GitHub (Sep 12, 2023):
So, from my triages this seems to be a bug with the extension handling code updates. We will get this fixed in an upcoming point release.
But, this error seems to only happen if the app origin is not registered into the extension (which will be the case for Self Hosted). See https://docs.hoppscotch.io/documentation/features/interceptor#browser-extension and follow the steps there to add your self-hosted instance's origin into the extension.
You will know the extension is registered with the app, when you see "Browser Extension: vX.XX" instead of "Browser Extension: Not Reported"
@giosueDelgado @shahwan42 @anubhavhazarika @lili21 @sebzz2002 @radrianhp please verify if so and if the issue still persists, please let me know.
@shahwan42 commented on GitHub (Sep 13, 2023):
@AndrewBastin Thanks. Yes, it worked once I added the hosting domain to the origins list in the extension.
@sebzz2002 commented on GitHub (Sep 13, 2023):
@AndrewBastin I am not using a self-hosted version of hoppscotch but the one available freely. I am facing this issue. I also checked the browser extensions and it already has the origin.
Thank you
@giosueDelgado commented on GitHub (Sep 13, 2023):
I'm using the self-hosted behind a Nginx configuration and I have already the issue, I just added the localhost in the extension when I made some tests on the first days.
Thanks for the support, I'm trying to use also for some clients and I think this is a blocking point.
@mjhcorporate commented on GitHub (Sep 15, 2023):
I just tried hoppscotch for the first time, using https://hoppscotch.io/, and ran into this bug. I'm on MacOS 13.5.1 using Edge 116.0.1938.76.
The timing is really unfortunate -- Postman is sunsetting scratchpad today, so I imagine lots of users will be evaluating hoppscotch today!
@j4k0xb commented on GitHub (Oct 12, 2023):
It works again by turning this off (I don't have the extension installed)
@IeuanWalker commented on GitHub (Oct 25, 2023):
same issue here when trying to use the browser extension to test a local API.
For some reason it doesn't detect the extension -

@beeant0512 commented on GitHub (Nov 1, 2023):
@giosueDelgado commented on GitHub (Nov 1, 2023):
I install the tool on one of my client, we will give you feedback in the next weeks if it works or not
Thanks!