Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Federation problems

Technical Support
3 1 0

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @jimmunroe@community.nodebb.org sure, won't say no to success 🤣

    v4.9.0 was also just released so you can also update to the latest version 👍

    read more

  • Also, while I'm here, it looks like your test post did get a response from a friendica instance, which is great! Looks like federation is working, but not 100% because of the regression I mentioned earlier, I think.

    read more

  • Hi @jimmunroe@community.nodebb.org, are you able to see the message I sent you via chat (on your torontogamesweek site)?

    I think you might also need to update to the latest development version.

    The latest stable version has a regression that breaks federation (oops!)... we're cutting a fresh release tonight or tomorrow.

    read more

  • Konrad-Moskal yes, we're open to those updates to the OpenAPI spec.

    If you use LLMs to write your commits we kindly ask you utilise the Assisted-By line in your commit messages.

    read more

  • julian I was able to make a request to write api: POST to create a user, using a master token :grin:

    There are w few issues though, when using a token _uid, must be specified, shame it's not in the OA spec. Error handling is also tricky, since OA spec does not have all responses types, like 400 (https://docs.nodebb.org/api/write/#tag/users/paths/~1users~1/post).

    I made good progress though so I am happy, it's a side project :) Thank you for your help. Will you guys look into improving these types or are open for contributions?

    EDIT: actually _uid is not an issue, I created myself a token for admin user and it does what I want without needing to pass _uid

    read more

  • Konrad-Moskal okay, best of luck getting the schema to load :)

    read more

  • I am pointing to the input correcty. My LLM wanted me to extract TopicObjectSlim into its own file, it didn't help, I tried to inline TopicObjectSlim and that worked, but there was another error of the same kind just with a different object.

    I was able to fix it, it seems at least, I'll need to test it. Adding a flag to skip validation allowed it to compete sucessfully: openapi-generator-cli generate -i src/specs/read.yaml -g typescript-fetch -o src/sdks/read --skip-validate-spec

    read more

  • I asked ChatGPT for thoughts (because I literally have no idea what to say), and it theorized that openapi-generator-cli was pointed to the file topic_id.yaml directly.

    That would indeed cause issues because the file topic_id.yaml isn't meant to be loaded in isolation.

    You need to point your tool at either read.yaml or write.yaml, which are the OpenAPI schema entry points for the two APIs NodeBB exposes.

    read more
Post suggeriti