bluesky-social / atproto

Social networking technology created by Bluesky
Other
6.18k stars 433 forks source link

The value that AppView retrieves from plc.directory based on the user's did is "No `id` on document" #1696

Open forza7taka opened 1 year ago

forza7taka commented 1 year ago

Bug description

The value that AppView retrieves from plc.directory based on the user's did is "No id on document"

To reproduce

Here are the steps to reproduce the behavior:

1.Log in with PDS and AppView connected.

Expected behavior Logged-in user's timeline can be obtained

The value obtained by resolveAtprotoData in base-resolver.ts is supposed to be received in DidDocument format, but it is actually a string.

bnewbold commented 1 year ago

Can you give an example DID that reproduces this issue?

And just to confirm, you mention plc.directory so I assume this is not in the sandbox network.

forza7taka commented 1 year ago

“did” is did:plc:wgo7w4rzi4k2wtaxlqk5itgp did:plc:ofiiggyggdluzkk6e232vcrx

This problem is not SANDBOX. I built the source from "https://github.com/bluesky-social/atproto.git" and This problem occurred while building PDS, APPVIEW