简体   繁体   English

Segment.IO请求失败,状态为“已取消”

[英]Segment.IO requests failing with Status of cancelled

I've followed the steps here: https://segment.io/libraries/analytics.js without deviating from their instructions. 我在这里遵循了以下步骤: https : //segment.io/libraries/analytics.js,而没有偏离其说明。

Here are the headers from one of the requests: 以下是其中一个请求的标头:

Request URL:http://api2.segment.io/v1/t
Request Headersview source
  Content-Type:text/plain
  Origin:http://staging.mywebsite.com
  Referer:http://staging.mywebsite.com/
  User-Agent:Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36
Request Payloadview source
  {userId:null, sessionId:ccea006ec74cc613, event:Loaded a Page,…}
    apiKey: "eijofijoi4r"
    callbackId: 350
    context: {}
    event: "Loaded a Page"
    properties: {url:http://staging.mywebsite.com/, referrer:,…}
    sessionId: "ccea006ec74cc613"
    userId: null

Both the Preview and the Response have no data available. PreviewResponse都没有可用数据。 Other attributes worth mentioning: 其他值得一提的属性:

Method: POST
Status: (cancelled)
Type: Pending

What are the reasons that could cause a status of (cancelled) ? 导致(cancelled)状态的原因是什么?

Are there any steps I can take to gather more information? 我可以采取任何步骤来收集更多信息吗?

我也看到了这一点-事实证明,AdBlock扩展程序阻止了请求。

It could possibly be due to a deeply nested object inside properties that the API doesn't like. 可能是由于API不喜欢的属性中嵌套的对象太深所致。 I think we take objects nested up to 7 levels deep last I checked. 我认为我们上次检查时最多带了7个嵌套的对象。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 设置 Segment.io - Setting up Segment.io segment.io javascript发布失败,出现CORS错误 - segment.io javascript publish fails with a CORS error Segment.io的Analytics.js跟踪:传递对象? - Segment.io's Analytics.js Track: Pass an Object? 反应应用程序中的 risklySetInnerHTML 不适用于包含 Segment.io 标签 - dangerouslySetInnerHTML in react application not working for including Segment.io tags 如何将Segment.io服务器和客户端事件连接到同一个匿名用户? - How do I connect Segment.io server and client side events to the same anonymous user? 用于生产和非生产环境的Segment.io和mixpanel实现配置文件? - Segment.io and mixpanel implementation config file for production and non-production environments? 来自 segment.io 的 Track.form 片段取消了表单的重定向 - Track.form snippet from segment.io cancels redirect of the form 如何在淘汰定制绑定中使用segment.io的analytics.js - How to use segment.io's analytics.js in a knockout custom bindings 为什么Segment.io loader脚本将方法名称/ args推送到看似被覆盖的队列? - Why does the Segment.io loader script push method names/args onto a queue which seemingly gets overwritten? Localhost请求混合面板被“取消” - Localhost requests to mixpanel being “cancelled”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM