Page MenuHomePhabricator

KaiOSAppFeedback Event Platform Migration
Closed, ResolvedPublic

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Ottomata renamed this task from KaiOSAppFeedback to Event Platform Migration to KaiOSAppFeedback Event Platform Migration.Nov 5 2020, 4:48 PM

@nshahquinn-wmf
Let us know if this schema needs client IP and/or geocoded data? If not, it will be removed as part of this migration.

@nshahquinn-wmf
Let us know if this schema needs client IP and/or geocoded data? If not, it will be removed as part of this migration.

You can remove all of it!

@nshahquinn-wmf FYI we will migrate this schema next week (week of Jan 11 2021).

Actually, I take that back. We can't migrate this; it is an app event, not an EventLogging extension based one. Will postpone.

Change 670186 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[schemas/event/secondary@master] Migrate KaiOS schemas from metawiki

https://gerrit.wikimedia.org/r/670186

Change 670186 merged by Ottomata:
[schemas/event/secondary@master] Migrate KaiOS schemas from metawiki

https://gerrit.wikimedia.org/r/670186

Change 670191 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Declare KaiOS / Inuka event streams

https://gerrit.wikimedia.org/r/670191

Change 670191 merged by Ottomata:
[operations/mediawiki-config@master] Declare KaiOS / Inuka event streams

https://gerrit.wikimedia.org/r/670191

Mentioned in SAL (#wikimedia-operations) [2021-03-09T15:27:59Z] <otto@deploy1002> Synchronized wmf-config/InitialiseSettings.php: Declare KaiOS / Inuka event streams - T267344 T267345 T267346 (duration: 00m 58s)

SBisson subscribed.

Putting on the Inuka kanban board for the client-side migration.

Let's start with this one so we figure out what to do on the "least critical" schema.

@Ottomata I've been trying to send event for the KaiOS feedback schema. I always receive a 500 Internal server error but no actual error that I can see. This is the data I'm sending:

Screen Shot 2021-03-12 at 8.22.09 PM.png (380×796 px, 61 KB)

Any help about how to debug this would be greatly appreciated. Thanks!

Hmm, what about if you set Content-Type: application/json?

Hmm, what about if you set Content-Type: application/json?

Can you do that with sendBeacon?

No, but it should accept text/plain too, which sendBeacon does. It seems
the lack of header at all is causing Express in EventGate to not parse the
content.

I'm using the same code to send client-side errors to 'kaios_app.error' and it works. Any significant differences between those streams?

They do go to different endpoints, but no they should be the same.

You on IRC/slack right now? Happy to help debug in realtime with ya.

I confirmed that the stream was migrated successfully in T283768.