mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #1105] Request that returns status code 500 is stuck #387
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#387
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 @blikblum on GitHub (Aug 23, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1105
Originally assigned to: @AndrewBastin on GitHub.
Describe the bug
A GET request that returns status code 500 is stuck (no result is displayed and not possible to cancel) when used in Firefox with the browser extension
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The returned value should be displayed
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
EDIT: add info to about browser extension
@liyasthomas commented on GitHub (Aug 23, 2020):
This isn't an issue with Hoppscotch. Can't reproduce this issue on
https://httpbin.org/get.Most probably, the endpoint
https://postman-echo.com/status/500have CORS restrictions which can be resolved by Turning Proxy mode On.Goto Settings (https://hoppscotch.io/settings) > Proxy > Turn on Proxy mode.
Proxy Wiki: https://github.com/hoppscotch/hoppscotch/wiki/Proxy
UPDATE: Working when Proxy is turned on.
@AndrewBastin commented on GitHub (Aug 23, 2020):
@liyasthomas but should the request be stuck then ? shouldn't we just error out ?
@blikblum commented on GitHub (Aug 23, 2020):
When doing a request that returns 200 (https://postman-echo.com/status/200) It works fine, so it does not seems a CORS issue
The same for my local server. When the request returns 200 is ok. The issue only occurs when the same request returns 500
BTW. Enabling proxy (default one) for both 200 and 500 returns: Error: (Proxy Error) Request failed.. Check console for details.
Console: Error: (Proxy Error) Request failed.
@blikblum commented on GitHub (Aug 23, 2020):
https://httpbin.org/status/500 also is stuck
@liyasthomas commented on GitHub (Aug 23, 2020):
I'll look into this.
@liyasthomas commented on GitHub (Aug 23, 2020):
@blikblum I can't reproduce this issue at my end. Can you confirm the issue still persist for you.
@blikblum commented on GitHub (Aug 24, 2020):
I did some more tests:
So the issue is specific for Firefox in desktop
@blikblum commented on GitHub (Aug 24, 2020):
Found the reason: if i disable the Hoppscotch Browser Extension, it works
@liyasthomas commented on GitHub (Aug 24, 2020):
I think it's only a minor browser specific issue with Extension. On both mobile and PC there seems to be no issue. @AndrewBastin
@AndrewBastin commented on GitHub (Aug 24, 2020):
@blikblum Thanks for the info, I will look into it.
@AndrewBastin commented on GitHub (Aug 24, 2020):
Turns out it is an issue with the Firefox's strong memory ownership system. I have fixed it in the extension with commit
github.com/hoppscotch/hoppscotch-extension@c760da9ecbThe fix will be rolled out to Firefox by the end of the day with the 0.17 extension update.
Closing the issue.
@blikblum commented on GitHub (Aug 24, 2020):
Many thanks