GithubHelp home page GithubHelp logo

Comments (8)

harryhb avatar harryhb commented on July 29, 2024

I can confirm: connecting with (new) clients is currently not possible

Setup:
Debian stable; nginx - php5-fpm
Owncloud 9.0.0
Grauphel 0.6.2

Tomboy: "Server not responding"

  • In owncloud logs:
    Error PHP Missing argument 1 for OCA\Grauphel\Lib\TokenStorage::__construct(), called in /var/www/owncloud/apps/grauphel/lib/dependencies.php on line 69 and defined at /var/www/owncloud/apps/grauphel/lib/tokenstorage.php#34
  • https://cloud.xxx.yy/index.php/apps/grauphel/oauth/authorize
    oauth_token missing

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

@harryhb: Which PHP version, which php-oauth version?

The error message is fixed in git now; but it has nothing to do with this issue here.

from nextcloud-grauphel.

harryhb avatar harryhb commented on July 29, 2024

PHP 5.6.17-0+deb8u1

php-oauth installed through apt: Version: 1.2.3-1+b1
Installed through pecl too (v 1.2.3), no difference.

This is the first time and only application using oauth on this server, but it seems oauth is correctly loaded, attached is phpinfo-section.

oauth

If I can / should test something else, I am happy to do so...
Tomdroid is also failing to connect.

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

@harryhb: I already tried reproducing the issue here locally with nginx and php-fpm but failed. The only thing that could actually help is SSH access to a server where this issue occurs, with the ability to modify the grauphel source code. I could then debug the issue. If you're willing to give me that access to your server, drop me a mail to [email protected]

from nextcloud-grauphel.

harryhb avatar harryhb commented on July 29, 2024

@cweiske: I was preparing your access and I found the cause of the error.

I had the checkbox enabled to restrict the use for a group of users (in "apps"). Unchecking enables the oauth function...

Do not know if this is a bug or a feature? :-)

Thank you for this great piece of software and the support!

from nextcloud-grauphel.

cweiske avatar cweiske commented on July 29, 2024

I've dug to the root of the cause:

  • ownCloud completely blocks anything on an app when it's only available to some users
  • Note sync clients make requests as unauthenticated (not logged in, null) users and thus don't even have a chance to access the app.

There is nothing I can do here except making a note in the README - see 07939af.


@zoide: Did you also have the app only available for a selected group of users? I guess not.

from nextcloud-grauphel.

zoide avatar zoide commented on July 29, 2024

Hi, sorry for the answer-delay.

For me this issue was resolved as soon as I grabbed the version from here: http://git.cweiske.de/grauphel.git/

Seems that github and that repo were out of sync.

from nextcloud-grauphel.

zoide avatar zoide commented on July 29, 2024

I didn't even know that you can restrict apps to certain users.

from nextcloud-grauphel.

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.