mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3331] [bug]: Collections view does not refresh after creating a collection or adding a new request #1109
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#1109
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 @lovaszvencel on GitHub (Sep 8, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3331
Is there an existing issue for this?
Current behavior
When I switch the workspace from my workspace to any other team workspace the collection view top refreshing it after adding items into it.
For example, if I create a new collection and save it it does not appear in the list (list remains empty). I expect to see the newly created collection in the list (as works in my workspace). After I refresh the page the newly created collection appears on the list.
Other example, if I create a new request and save it it does not appear in the list (list contains the collection only). I expect to see the newly created request in the list (as works in my workspace). After I refresh the page the newly created request appears on the list.
Steps to reproduce
Actual result: Collection list is empty
Expected result: Newly created collection is appear
Environment
Production
Version
Self-hosted
@frnk01 commented on GitHub (Sep 13, 2023):
Same for me. Need to refresh manually after performing actions. Self hosted.
@JamesSFL commented on GitHub (Nov 17, 2023):
Same here. Occurs in case of team workspace. Self hosted too.
@KatyaGolyagina commented on GitHub (Feb 13, 2024):
Same on https://hoppscotch.io/ not only Self hosted.
We're really looking forward to the fix! 😔🙏
@buderjoh commented on GitHub (Mar 5, 2024):
I think this might be a configuration issue?
https://github.com/hoppscotch/hoppscotch/issues/3587#issuecomment-1845447776
If its running under https -> VITE_BACKEND_WS_URL=wss://localhost:3170/graphql works for me
and i think it would work the other way around for http -> VITE_BACKEND_WS_URL=ws://localhost:3170/graphql
Nevertheless if you do it with your local workspace there is still this issue: https://github.com/hoppscotch/hoppscotch/issues/3208
@KatyaGolyagina commented on GitHub (Apr 18, 2024):
doesn't work
@AlirezaAbsolution commented on GitHub (Sep 2, 2024):
Hi, i have same problem. I use hoppscotch as reverse proxy for mine. The problem is wss if anyone using reverse proxy add this lines in location / in nginx and problem will be fixed.
#Solved
@MrNoize commented on GitHub (Oct 15, 2024):
Hi. If you deploy hoppscotch on k8s cluster add this to annotation of ingress(snippets should be enabled):
(Probably you shouldn't set headers for / location, try /graphql)
@Systemko commented on GitHub (Oct 30, 2024):
I can confirm that this is a configuration issue. If you are running your hoppscotch instance under https, you have to use secure web socket connection in VITE_BACKEND_WS_URL(wss not ws). But there is still an issue that we've stumbled upon. You really need to delete cookies from your browser because hoppscotch graphql backend path is cached.
P.S. To delete cookies in google chrome you need to proceed to chrome://settings/content/all, find your hoppscotch site address and click the bin icon.
@am071092 commented on GitHub (Jan 8, 2025):
Hi, I am facing the same issue as above, even after using secure web connection via wss. Is there a fix for this?
@Systemko commented on GitHub (Jan 9, 2025):
Did you clear hoppscotch cache in your browser as I had mentioned above?
@QuentinDEME97 commented on GitHub (Jul 3, 2025):
Using Traefik, the only thing I changed is:
@Moundlen commented on GitHub (Mar 13, 2026):
Hi,
I can confirm the bug is still there but only on desktop client. The web client everything updates properly but on desktop some updates are not refreshed especially duplicating a route or creating a new directory.
Makes it quite hard to properly work on it. And yes wss is properly configured no issue on the webapp.