getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.86k stars 1.55k forks source link

if my origin is abc://xxxxxx and schema is abc sentry is not work #5170

Closed qm88888888 closed 2 years ago

qm88888888 commented 2 years ago

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/nextjs

SDK Version

6.16.0

Framework Version

react 17.0.2 next: 12.0.7

Link to Sentry event

No response

Steps to Reproduce

when my web is custom schema. sentry is network error

Expected Result

need help

Actual Result

image

lforst commented 2 years ago

Hi @qm88888888 what is the exact network error that occurs?

qm88888888 commented 2 years ago

Hi @qm88888888 what is the exact network error that occurs?

console show network is error but my other https request is ok

qm88888888 commented 2 years ago

I want know sentry is support url custom protocol.

lforst commented 2 years ago

Could you share a bit more information about the error? What does it look like? Where does it occur? Is it serverside or clientside? How can we reproduce it?

qm88888888 commented 2 years ago

Sorry for being too busy lately. This question is sent on the client side. When opening a URL with a custom protocol, such as wk://xxx, this requires the upper layer (app) to intercept the protocol and specify the wk protocol as the https protocol. But the allowed hosts I configured are *. I suspect that the problem is caused by cross-domain custom protocols, so I want to know whether sentry's cross-domain support protocol is not http or https. thx.

lforst commented 2 years ago

Hi, I still don't quite understand what the error is you're getting. Can you provide a reproduction example?

Few things to try regardless:

github-actions[bot] commented 2 years ago

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀