Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add federation tests for Friendica, improve parsing of source field #2070

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

Nutomic
Copy link
Member

@Nutomic Nutomic commented Jan 27, 2022

I love how easily this works now, seems like Lemmy is already very compatible.

@xundeenergie
Copy link

I upgraded to 0.15.4 today and checked again...

The error still persists:
`lemmy_1 | 2022-03-06T02:07:18.162972Z WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: data did not match any variant of untagged enum SharedInboxActivitie
s at line 1 column 4172
lemmy_1 | 0: lemmy_apub::http::shared_inbox
lemmy_1 | at crates/apub/src/http/mod.rs:40
lemmy_1 | 1: lemmy_server::root_span_builder::HTTP request
lemmy_1 | with http.method=POST http.scheme="http" http.host=lemmy.schuerz.at http.target=/inbox otel.kind="server" request_id=c0df5b1a-1a89-4a57-8b8b-106e36950936 http.status_code=400 otel.status
_code="OK"
lemmy_1 | at src/root_span_builder.rs:16
lemmy_1 | 2: tokio::task::runtime.spawn
lemmy_1 | with kind=local task.name= loc.file="/root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/task/local.rs" loc.line=302 loc.col=22
lemmy_1 | at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/util/trace.rs:16
lemmy_1 | 3: tokio::task::runtime.spawn
lemmy_1 | with kind=local task.name= loc.file="/root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/task/local.rs" loc.line=302 loc.col=22
lemmy_1 | at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/util/trace.rs:16
lemmy_1 | 4: tokio::task::runtime.spawn
lemmy_1 | with kind=local task.name= loc.file="/root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/task/local.rs" loc.line=302 loc.col=22
lemmy_1 | at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/util/trace.rs:16
lemmy_1 | 5: tokio::task::runtime.spawn
lemmy_1 | with kind=local task.name= loc.file="/root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/task/local.rs" loc.line=302 loc.col=22
lemmy_1 | at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/util/trace.rs:16
lemmy_1 | 6: tokio::task::runtime.spawn
lemmy_1 | with kind=block_on task.name= loc.file="/root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/task/local.rs" loc.line=466 loc.col=12
lemmy_1 | at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/util/trace.rs:16
lemmy_1 | LemmyError { message: None, inner: data did not match any variant of untagged enum SharedInboxActivities at line 1 column 4172, context: "SpanTrace" }

`

@dessalines
Copy link
Member

data did not match any variant of untagged enum

I'd suggest opening up a new issue for this if one doesn't already exist.

@xundeenergie
Copy link

Should it be fixed in 0.15.4?
@Nutomic wrote in matrix, i should wait a few days for 0.16...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants