[GH-ISSUE #1059] [bug]: Browser extension is not work with socket.io #371

Open
opened 2026-03-16 14:56:28 +03:00 by kerem · 2 comments
Owner

Originally created by @mnixry on GitHub (Aug 8, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1059

Describe the bug
The CORS bypass provided by browser extensions does not work on Socket.io

To Reproduce
Steps to reproduce the behavior:

  1. Put up a localhost socket.io server with CORS policy
  2. Test the socket.io using Postwoman

Expected behavior
Postwoman could work fine with socket.io like http request

Screenshots

  • Console
  • Postwoman

Desktop:

  • OS: Windows 10
  • Browser Microsoft Edge
  • Version 84.0.522.52
Originally created by @mnixry on GitHub (Aug 8, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1059 **Describe the bug** The CORS bypass provided by browser extensions does not work on Socket.io **To Reproduce** Steps to reproduce the behavior: 1. Put up a localhost socket.io server with CORS policy 2. Test the socket.io using Postwoman **Expected behavior** Postwoman could work fine with socket.io like http request **Screenshots** - ![Console](https://user-images.githubusercontent.com/32300164/89702115-12036b80-d970-11ea-9d9f-c19c4d88883b.png) - ![Postwoman](https://user-images.githubusercontent.com/32300164/89702147-54c54380-d970-11ea-8c1f-23223ef50c96.png) **Desktop:** - OS: Windows 10 - Browser Microsoft Edge - Version 84.0.522.52
Author
Owner

@AndrewBastin commented on GitHub (Aug 8, 2020):

Extensions currently only offer it's features to the REST and GraphQL systems.

This would a useful (but a bit difficult) thing to be implemented.

I am a bit busy with some university work right now, I will look into implementing this later this month,
But if anybody want's to give it a shot, feel free to!

<!-- gh-comment-id:670821464 --> @AndrewBastin commented on GitHub (Aug 8, 2020): Extensions currently only offer it's features to the REST and GraphQL systems. This would a useful (but a bit difficult) thing to be implemented. I am a bit busy with some university work right now, I will look into implementing this later this month, But if anybody want's to give it a shot, feel free to!
Author
Owner

@PSY27 commented on GitHub (Dec 18, 2021):

As this is implemented on the web I would like to integrate this for the extension as an externship project

<!-- gh-comment-id:997277749 --> @PSY27 commented on GitHub (Dec 18, 2021): As this is implemented on the web I would like to integrate this for the extension as an externship project
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#371
No description provided.