New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Network Error. Check console for details #704
Comments
Are you sure the requested endpoint have CROS disabled? |
Can we reopen this? I have the same issue, with/without the extension. I cannot open any connection to localhost. |
Thanks.
I tried installing the extension and also including the URL into unsafely-treat-insecure-origin-as-secure origins to no avail. Thanks for help. |
Please check these hotfixes:
|
However when I explicitly enabled CORS with Access-Control-Allow-Origin: * everything works now. Is it now enforced that the host MUST enable CORS otherwise the behavior is equal to invalid origin? |
If that's the case, we'll have to look further into it. Huge thanks for debugging and reporting the issue. |
You're welcome. Thanks for having a look. |
Hi there, Sorry for the late response, I am really swamped with personal stuff and end of the semester university work. Due to security concerns of allowing open access to the extension hooks, the Postwoman Extension only hooks into the following domains
What that implies is that, you aren't allowed to access the extension if you are not in the above domains, so your locally hosted Postwoman builds can't access the official browser extension. If you are using localhost, you will need to make your own build of the extension (more info on that here) with the permissions activated for your localhost page in the manifest. I would love to make the extension an open system but this is implemented to prevent unauthorized bypassing of CORS by malicious sites that are not Postwoman. Feel free to ask questions regarding this though, but I am closing this issue as this is an intended safeguard. Thanks for using Postwoman ❤️ |
how to do ? |
|
thank you very much.
Could you tell me how to turn off the cros ?I am is tester。 I would appreciate it if you could give me some advice at your convenience.
------------------ Original ------------------
From: "Liyas Thomas"<notifications@github.com>;
Date: Fri, Dec 4, 2020 06:36 PM
To: "hoppscotch/hoppscotch"<hoppscotch@noreply.github.com>;
Cc: "刘学义"<liuxueyi@xsyxsc.com>; "Comment"<comment@noreply.github.com>;
Subject: Re: [hoppscotch/hoppscotch] Error: Network Error. Check console for details (#704)
Check endpoints don't have CROS restrictions
how to do ?
CORS is a security mechanism imposed on API endpoints. Its easily discoverable from the developers side. You can simple try hitting the endpoint from Hoppscotch.io and if there's no issue, and you got Okay 200 response, then it doesn't have CORS. If API response got any error, check console to know where it's due to CORS restrictions. You can fix CORS issues with Hoppscotch Extension.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thank you very much for your help.Hoppscotch is installed to my local computer, which is the same computer as my browser.According to your information, There is something wrong with my Browser extension.
…------------------ Original ------------------
From: "Liyas Thomas"<notifications@github.com>;
Date: Fri, Dec 4, 2020 06:45 PM
To: "hoppscotch/hoppscotch"<hoppscotch@noreply.github.com>;
Cc: "刘学义"<liuxueyi@xsyxsc.com>; "Comment"<comment@noreply.github.com>;
Subject: Re: [hoppscotch/hoppscotch] Error: Network Error. Check console for details (#704)
https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Why can't My self-installed server show Extension Version. Could you please tell me where I am wrong? If you are convenient, please guide me.
------------------ Original ------------------
From: "刘学义"<liuxueyi@xsyxsc.com>;
Date: Fri, Dec 4, 2020 07:21 PM
To: "hoppscotch/hoppscotch"<reply@reply.github.com>;
Subject: Re: [hoppscotch/hoppscotch] Error: Network Error. Check console for details (#704)
Thank you very much for your help.Hoppscotch is installed to my local computer, which is the same computer as my browser.According to your information, There is something wrong with my Browser extension.
…------------------ Original ------------------
From: "Liyas Thomas"<notifications@github.com>;
Date: Fri, Dec 4, 2020 06:45 PM
To: "hoppscotch/hoppscotch"<hoppscotch@noreply.github.com>;
Cc: "刘学义"<liuxueyi@xsyxsc.com>; "Comment"<comment@noreply.github.com>;
Subject: Re: [hoppscotch/hoppscotch] Error: Network Error. Check console for details (#704)
https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
如果我访问我本地的自己部署的 hoppscotch 意思我要自己弄个浏览器扩展。 |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
response OK
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: