Open cmho opened 3 weeks ago
Pretty common issue with labelers unfortunately, and one that's hard to debug.
First you'll want to make sure that your labeler is reachable via both HTTPS and WS. Try hitting https://labeler.domain/xrpc/com.atproto.label.queryLabels?uriPatterns=* from your browser, and websocat wss://labeler.domain/xrpc/com.atproto.label.subscribeLabels?cursor=0
(output for the latter will be garbled, but any output means it's working).
Assuming that's all working fine, you can try updating the labeler declaration (run npx @skyware/labeler label edit
, add a new line or some other meaningless change, then save) to try and get the AppView to pick up your labeler.
If you've confirmed that your labeler is reachable and labels still aren't showing up 5-10 minutes after the second step, it'd be best if you could join the Bluesky API Touchers Discord server if you're not already in it and drop a message there to debug.
oh, thanks for the quick reply! I can give that a shot once i'm off of work, and also glad to see that there's a discord because i have so many questions about stupid things i want to do with the bsky api
Update: Okay, it seems that while it is definitely running on both https and wss and I updated the label declarations (and those propagated to bsky.app), the labels still aren't appearing. I joined the bsky api touchers discord, though, so hopefully that'll turn up more ideas! Will update if I find a solution.
@cmho Were you able to find a solution? I have the same problem.
This solved the problem with labeler for me:
npx @skyware/labeler clear
npx @skyware/labeler setup
npx @skyware/labeler label edit
without any changes will have the same effect without needing to redefine label values!
npx @skyware/labeler label edit
without any changes will have the same effect without needing to redefine label values!
In my case it didn't work (I tried edit/add/delete label). So one can try edit label first and if it doesn't help do "clear".
Interesting, I'll have to look into that
Unfortunately, doing the clear/setup rotation doesn't seem to work for me 😔
Hi--I have a slightly odd question which may not be an issue per se. (Or at least, the issue may be problem-between-chair-and-keyboard.)
I've gotten a labeler set up, the labeling requests are definitely hitting my server and the server is responding (using most recent version of Caddy), the labels are being written to my sqlite database, and the promise with the bsky server is resolving such that it gives a label data object and says the labels are applied... but for some reason the labels don't show up on accounts liking the posts. I'm a little stymied; it's not throwing any errors whatsoever when I look at the logs.
My code repo is here: https://tildegit.org/smallbird/hiresky (in large part forked from pronouns.adorable.mom) if that helps.