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

Error in logs while posting #152

Open
SuperMohit opened this issue Nov 21, 2024 · 2 comments
Open

Error in logs while posting #152

SuperMohit opened this issue Nov 21, 2024 · 2 comments

Comments

@SuperMohit
Copy link

"level":50,"time":1732209216754,"pid":6,"hostname":"ubuntu-s-1vcpu-1gb-blr1-01","name":"xrpc-server","status":400,"message":"Post not found: at://did:plc:4wghgnexbtp7kxjxyu7wakex/app.bsky.feed.post/3lbhxlhgir22m","name":"NotFound","msg":"error in xrpc method app.bsky.feed.getPostThread"}

Is it because of email verification?

@sparksis
Copy link

sparksis commented Dec 1, 2024

I'm here to post roughly the same thing:

Posting creates/returns a commit:

{
    "commit": {
        "cid": "bafyreibyottunjaqtbxocbvqmqulq7oof53wteytym6oy7x7vyxhklsyqa",
        "rev": "3lcbkb7jkic2z"
    },
    "results": [
        {
            "$type": "com.atproto.repo.applyWrites#createResult",
            "cid": "bafyreihiutlgkeenunusfmdoyxufdihs74ryttnc5huhvzk7pbkhdxs3vm",
            "uri": "at://did:plc:oxgjq3l7f4pee6y3jdywsii4/app.bsky.feed.post/3lcbkb7gtl22u",
            "validationStatus": "valid"
        }
    ]
}

but the subsequent fetch fails:

fetch("https://bsky.coltonenglish.me/xrpc/app.bsky.feed.getPostThread?uri=at%3A%2F%2Fdid%3Aplc%3Aoxgjq3l7f4pee6y3jdywsii4%2Fapp.bsky.feed.post%2F3lcbkb7gtl22u&depth=0", {
  "headers": {
    "accept": "*/*",
    "accept-language": "en-CA,en-GB;q=0.9,en-US;q=0.8,en;q=0.7",
    "atproto-accept-labelers": "did:plc:ar7c4by46qjdydhdevvrndac;redact",
    "authorization": "Bearer eyJ0eXAiOiJhdCtqd3QiLCJhbGciOiJIUzI1NiJ9.redacted.JGBlerdDaN6Odqb2GvtJ_KkDAaXmdTAAT7Nbpfnl1V0",
    "priority": "u=1, i",
    "sec-ch-ua": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Linux\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "cross-site"
  },
  "referrer": "https://bsky.app/",
  "referrerPolicy": "origin-when-cross-origin",
  "body": null,
  "method": "GET",
  "mode": "cors",
  "credentials": "include"
});

GET https://bsky.coltonenglish.me/xrpc/app.bsky.feed.getPostThread?uri=at%3A%2F%2Fdid%3Aplc%3Aoxgjq3l7f4pee6y3jdywsii4%2Fapp.bsky.feed.post%2F3lcbkb7gtl22u&depth=0
access-control-allow-origin: *
alt-svc: h3=":443"; ma=86400
cache-control: private
cf-cache-status: DYNAMIC
cf-ray: 8eb624d39fbc15d0-SJC
content-length: 119
content-type: application/json; charset=utf-8
date: Sun, 01 Dec 2024 21:24:24 GMT
etag: W/"77-7cSJhKySSL2xyrO8yIjeZ+oYIjc"
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
priority: u=1,i
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=Nuf021LLyOxRDuWHw1c6McwzfnTiTwaFvZVXP7l3ONxPA6ObHwHVDx57UpIyQv1KxJwS5tLRQytK4TpgJ4dqc4tNMzGS%2F2M78IUW1yWomxkhZmmvTAaQD64c5lCXr3fTqmW%2FUcbO4ELpiu1adkOTL8%2FjsG8%3D"}],"group":"cf-nel","max_age":604800}
server: cloudflare
server-timing: cfL4;desc="?proto=QUIC&rtt=57148&min_rtt=48135&rtt_var=10631&sent=232&recv=145&lost=0&retrans=3&sent_bytes=154550&recv_bytes=48628&delivery_rate=7056&cwnd=25500&unsent_bytes=0&cid=76b111e54ee094ee&ts=113560&x=1"
server-timing: cfExtPri
server-timing: cfHdrFlush;dur=0
strict-transport-security: max-age=0; includeSubDomains; preload vary: Authorization, Accept-Encoding
x-content-type-options: nosniff
x-powered-by: Express

{"error":"NotFound","message":"Post not found: at://did:plc:oxgjq3l7f4pee6y3jdywsii4/app.bsky.feed.post/3lcbkb7gtl22u"}

@SuperMohit
Copy link
Author

@sparksis It started working automatically after sometime. Didn't have time to look for 'why'. But it did.

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

No branches or pull requests

2 participants