Skip to content

500 Internal Server Error in follow-server example with behindProxy or explicit origin #225

@bglgwyng

Description

@bglgwyng

follow-server example worked well with NodeJS, until I introduced an hono instance + fedify middleware.
https://github.com/bglgwyng/follow-server/blob/main/server.ts#L80-L93

The following error message only shows up when using an hono instance. Directly serving federation via federation.fetch doesn't make this issue.

16:46:12.295 KST POST /users/me/inbox           500 Internal Server Error 

logtape tells nothing about this failure.

versions:
@fedify/fedify: 1.5.0
@hono/node-server: 1.14.0
hono: 4.7.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/federationFederation object relatedpriority/criticalCritical issues that need immediate attentionruntime/nodeNode.js runtime relatedtype/bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions