Giter Site home page Giter Site logo

Comments (5)

lapineige avatar lapineige commented on July 23, 2024

Could you check if the API page (part of the URL here : "GET /oauth/authorize?client_id=30&redirect_uri=oauth2redirect://org.pixeldroid.app&response_type=code&scope=read%20write%20follow) is accessible without being logged in Pixelfed/Yunohost ? (in private browsing mode for instance)

from pixelfed_ynh.

ashemsay avatar ashemsay commented on July 23, 2024

On PC the link redirects me to a pixelfed login page:
image

After I log in it tries to find an app to open the link and fails (which is normal I assume)

On my phone after I login I get redirected to the app instance selection screen:
image

from pixelfed_ynh.

Wv5twkFEKh54vo4tta9yu7dHa3 avatar Wv5twkFEKh54vo4tta9yu7dHa3 commented on July 23, 2024

Hi, pixeldroid dev here (yes, I know nice username, I try not to use github).

I had someone come on the project's matrix channel #pixeldroid:gnugen.ch with this exact problem
image

The application manages to create a token, but then calls the verify_credentials endpoint which returns a 500 error with the following message in it:

{
  "error": "SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  invalid input syntax for integer: \"verify_credential\" (SQL: select * from \"profiles\" where \"profiles\".\"id\" = verify_credential and \"profiles\".\"deleted_at\" is null limit 1)"
}

This is likely because you are using Postgres as database, which although officially supported, has quite some issues still for pixelfed. See pixelfed/pixelfed#2335 for example with a similar error message.

from pixelfed_ynh.

lapineige avatar lapineige commented on July 23, 2024

Well thank you for that input 🙂

Ok, so again a Pixelfed-not-supporting-correctly-Postgres-issue :/

Let's hope it will get fixed, one day…

from pixelfed_ynh.

lapineige avatar lapineige commented on July 23, 2024

Next release should fix it : pixelfed/pixelfed#2335

from pixelfed_ynh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.