Community > Meetups Page Broken


#1

The following page doesn’t work:

https://dev.twitter.com/community/meetups

Here’s a screenshot:

& here’s the console output:

common.js:661Uncaught TypeError: Cannot read property 'addEventListener' of undefined
    at Object._public (common.js:661)
    at new App (common.js:121)
    at Object.<anonymous> (common.js:61)
    at __webpack_require__ (common.js:20)
    at Object.<anonymous> (common.js:47)
    at __webpack_require__ (common.js:20)
    at common.js:40
    at common.js:43
_public @ common.js:661
App @ common.js:121
(anonymous) @ common.js:61
__webpack_require__ @ common.js:20
(anonymous) @ common.js:47
__webpack_require__ @ common.js:20
(anonymous) @ common.js:40
(anonymous) @ common.js:43
meetups:1 OPTIONS https://ton.twimg.com/dtc/8504dc03-f045-49a7-bf81-7aa8b104c088/_static/data/meetup.json 400 (Bad Request)
meetups:1 OPTIONS https://ton.twimg.com/dtc/8504dc03-f045-49a7-bf81-7aa8b104c088/_static/data/meetup.json 400 (Bad Request)
meetups:1 XMLHttpRequest cannot load https://ton.twimg.com/dtc/8504dc03-f045-49a7-bf81-7aa8b104c088/_static/data/meetup.json. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://dev.twitter.com' is therefore not allowed access. The response had HTTP status code 400.

#2

Eeeek. Thanks for raising this. It works for me in Chrome, but this could be either intermittent, or browser specific. Any additional info you can share?

Sorry about this!


#3

It’s cool - apparently there’s no group in my city anyway :cry: . It works on my work desktop in Google Chrome (Stable), but not on my iPhone in Safari. Firefox, Firefox Nightly, and Google Chrome Canary throw the same Access-Control errors, but Chromium Dev (but not nightly/canary/whatever) doesn’t (though it throws other errors).

Firefox Nightly throws a deprecation warning for Content Security Policy: Directive ‘frame-src’ has been deprecated. Please use directive ‘child-src’ instead and returns a 400 Bad Request on the OPTIONS request to https://ton.twimg.com/dtc/8504dc03-f045-49a7-bf81-7aa8b104c088/_static/data/meetup.json.

Google Chrome Canary Log:
google-chrome - 57.0.2950.4 (Official Build) dev (64-bit)

common.js:661 Uncaught TypeError: Cannot read property 'addEventListener' of undefined
    at Object._public (common.js:661)
    at new App (common.js:121)
    at Object.<anonymous> (common.js:61)
    at __webpack_require__ (common.js:20)
    at Object.<anonymous> (common.js:47)
    at __webpack_require__ (common.js:20)
    at common.js:40
    at common.js:43
_public @ common.js:661
App @ common.js:121
(anonymous) @ common.js:61
__webpack_require__ @ common.js:20
(anonymous) @ common.js:47
__webpack_require__ @ common.js:20
(anonymous) @ common.js:40
(anonymous) @ common.js:43
ton.twimg.com/dtc/8504dc03-f045-49a7-bf81-7aa8b104c088/_static/data/meetup.json Failed to load resource: the server responded with a status of 400 (Bad Request)
ton.twimg.com/dtc/8504dc03-f045-49a7-bf81-7aa8b104c088/_static/data/meetup.json Failed to load resource: the server responded with a status of 400 (Bad Request)
meetups:1 XMLHttpRequest cannot load https://ton.twimg.com/dtc/8504dc03-f045-49a7-bf81-7aa8b104c088/_static/data/meetup.json. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://dev.twitter.com' is therefore not allowed access. The response had HTTP status code 400.

Chromium
chromium - 55.0.2883.87 (64-bit)

https://ton.twimg.com/dtc/8504dc03-f045-49a7-bf81-7aa8b104c088/_static/scripts/google-analytics.js Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
common.js:661 Uncaught TypeError: Cannot read property 'addEventListener' of undefined
    at Object._public (common.js:661)
    at new App (common.js:121)
    at Object.<anonymous> (common.js:61)
    at __webpack_require__ (common.js:20)
    at Object.<anonymous> (common.js:47)
    at __webpack_require__ (common.js:20)
    at common.js:40
    at common.js:43
meetups:1 Refused to load the image 'http://photos4.meetupstatic.com/photos/event/e/8/7/a/thumb_448139514.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos2.meetupstatic.com/photos/event/9/2/c/thumb_448202348.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos2.meetupstatic.com/photos/event/a/e/d/6/thumb_450164758.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos1.meetupstatic.com/photos/event/6/c/4/b/thumb_451107723.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos4.meetupstatic.com/photos/event/7/2/a/7/thumb_451109351.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos3.meetupstatic.com/photos/event/8/f/a/thumb_451622298.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos2.meetupstatic.com/photos/event/6/8/8/6/thumb_452366758.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos4.meetupstatic.com/photos/event/2/3/a/c/thumb_454329132.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos4.meetupstatic.com/photos/event/2/3/3/c/thumb_454329020.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos2.meetupstatic.com/photos/event/2/3/f/9/thumb_454329209.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos1.meetupstatic.com/photos/event/2/2/e/4/thumb_454328932.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos4.meetupstatic.com/photos/event/2/3/9/3/thumb_454329107.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos2.meetupstatic.com/photos/event/3/8/5/3/thumb_454334419.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos3.meetupstatic.com/photos/event/9/f/1/0/thumb_454960720.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos1.meetupstatic.com/photos/event/1/6/8/9/thumb_456125769.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos4.meetupstatic.com/photos/event/1/6/b/b/thumb_456125819.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

meetups:1 Refused to load the image 'http://photos1.meetupstatic.com/photos/event/1/6/8/1/thumb_456125761.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data: *.twitter.com *.twimg.com https://www.google-analytics.com".

Hope that helps!