Comments (5)
Could you point out the specific error with Owncast? Upon looking at that screenshot it's not clear what exactly you're talking about, I'm just seeing Ruby errors.
from owncast.
Owncast didn't send a valid message it looks like? The object
key is missing here and mastodon can't index the value since its nil
. Owncast's apub code definitely tries to add it however, so some lacking error checking on owncast's end I think.
from owncast.
How are you able to see the full payload? I'm getting a 404 when I try to look at https://stream.labr.online/federation/OL5KD9yIg. Unless I made a typo?
live dj sets, soulful house music, eclectic jams#music #dj #mashups #house #dance #rock #LABR #housemusic #soulful #footwork #jungle #juke #fediwave #freeform #mixes #80s #livesets #djsets
from owncast.
"{"@context":"https://www.w3.org/ns/activitystreams\",\"actor\":\"https://stream.labr.online/federation/user/video\",\"id\":\"https://stream.labr.online/federation/OL5KD9yIg\",\"type\":\"Accept\"}"
I'm going off of mastodon's code. It errors here:
https://github.com/mastodon/mastodon/blob/929b9fdaff1e6d4223efd8f00bd0b53fae1c7ce1/app/lib/activitypub/activity/accept.rb#L8
@object
is set here:
https://github.com/mastodon/mastodon/blob/929b9fdaff1e6d4223efd8f00bd0b53fae1c7ce1/app/lib/activitypub/activity.rb#L14
Takes the json, indexes it for the object
key which gives nil
. Then tries to index the nil
for type
but can't since nil
can't be indexed.
The object
key needs to be at the same level as type
and actor
. I don't see any code that would work with an id
at that level, but there might be? Would need working examples to check if they have the object
property or if mastodon works with this syntax and this is an edge case.
Owncast constructs an object here:
It should match up with mastodon since it tries to append an object specifically of type "Follow" in the next line
Your self-hosted, globally interconnected microblogging community - mastodon/mastodon
Your self-hosted, globally interconnected microblogging community - mastodon/mastodon
from owncast.
I just don't know if that message is showing the entire payload or not. It's difficult to know exactly what was sent to that server without being able to see the entire thing. If it said it was explicitly missing an object, or it was looking for a specific key that would be helpful, but it's not giving anything to work with. All we have is a truncated message and no example of the raw message it's acting upon.
If we were confident that the message shows the entire payload, then yes, object is missing, but I don't know what I'm looking at in this case.
from owncast.
Related Issues (20)
- Timestamp of message as title attribute to chat messages no longer working post v0.1.0 HOT 4
- Documentation broken link: https://inv.riverside.rocks/embed/wc3spGMq-Uo HOT 5
- Offline message renders raw html HOT 2
- Player stream time can show "undefined" HOT 8
- Elestio logo not loading on Documentation site HOT 1
- Discuss how to handle Owncast hosting providers in our documentation
- Remove broadcast.owncast.online reference from demo page HOT 12
- don't spam the screenreader for how much the channel is live. HOT 1
- Add support for h264_rkmpp HOT 17
- Remove Raspberry Pi + OMX references from codec documentation
- Documentation broken link: https://videos.owncast.online/t/xaJ3xNn9Y6pWTdB25m9ai3 HOT 4
- Feature request: enable word wrap on the Markdown editor HOT 4
- Feature request: Icons for custom social links HOT 5
- Vjs Deprecation warning: beforeRequest is deprecated, use onRequest instead
- HLS tests are failing after an update to Jest HOT 1
- Documentation broken link: https://www.nvidia.com/drivers HOT 7
- Use the chat feature by itself standalone HOT 1
- embed metadata works in http, fails in HTTPS HOT 5
- .well-known/nodeinfo and .well-known/host-meta paths respond even if federation is disabled
- ERROR: Your Owncast installation did not complete successfully. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owncast.