腾讯云发 Sentry 是有什么问题吗?总是报错 ETIMEDOUT 和 ECONNRESET

2023-08-19 11:14:43 +08:00
 fyxtc
调用 Sentry.captureException(str)的时候就有如下报错,可是本地关梯子测试也没问题啊,很郁闷

2023-08-19 00:20:32: Failed to proxy https://o450545xxxx297280.ingest.sentry.io/api/45054xxxx7047936/envelope/?o=450545xxxx297280&p=45054xxxx7047936 Error: connect ETIMEDOUT 34.120.195.249:443
2023-08-19 00:20:32: at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
2023-08-19 00:20:32: at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
2023-08-19 00:20:32: errno: -110,
2023-08-19 00:20:32: code: 'ETIMEDOUT',
2023-08-19 00:20:32: syscall: 'connect',
2023-08-19 00:20:32: address: '34.120.195.249',
2023-08-19 00:20:32: port: 443
2023-08-19 00:20:32: }
2023-08-19 00:20:32: Error: connect ETIMEDOUT 34.120.195.249:443
2023-08-19 00:20:32: at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
2023-08-19 00:20:32: at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
2023-08-19 00:20:32: errno: -110,
2023-08-19 00:20:32: code: 'ETIMEDOUT',
2023-08-19 00:20:32: syscall: 'connect',
2023-08-19 00:20:32: address: '34.120.195.249',
2023-08-19 00:20:32: port: 443
2023-08-19 00:20:32: }





2023-08-19 00:21:14: Failed to proxy https://o450545xxxx297280.ingest.sentry.io/api/45054xxxx7047936/envelope/?o=450545xxxx297280&p=45054xxxx7047936 Error: socket hang up
2023-08-19 00:21:14: at connResetException (node:internal/errors:705:14)
2023-08-19 00:21:14: at TLSSocket.socketOnEnd (node:_http_client:518:23)
2023-08-19 00:21:14: at TLSSocket.emit (node:events:525:35)
2023-08-19 00:21:14: at TLSSocket.emit (node:domain:489:12)
2023-08-19 00:21:14: at endReadableNT (node:internal/streams/readable:1358:12)
2023-08-19 00:21:14: at processTicksAndRejections (node:internal/process/task_queues:83:21) {
2023-08-19 00:21:14: code: 'ECONNRESET'
2023-08-19 00:21:14: }
2023-08-19 00:21:14: Error: socket hang up
2023-08-19 00:21:14: at connResetException (node:internal/errors:705:14)
2023-08-19 00:21:14: at TLSSocket.socketOnEnd (node:_http_client:518:23)
2023-08-19 00:21:14: at TLSSocket.emit (node:events:525:35)
2023-08-19 00:21:14: at TLSSocket.emit (node:domain:489:12)
2023-08-19 00:21:14: at endReadableNT (node:internal/streams/readable:1358:12)
2023-08-19 00:21:14: at processTicksAndRejections (node:internal/process/task_queues:83:21) {
2023-08-19 00:21:14: code: 'ECONNRESET'
2023-08-19 00:21:14: }
1157 次点击
所在节点    程序员
2 条回复
cqu1980
2023-08-20 17:24:37 +08:00
连不上撒,估计域名有问题
wynemo
2023-08-20 21:24:09 +08:00
如果是国内 需要代理

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/966618

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX