Giter Site home page Giter Site logo

Comments (11)

herpaderpaldent avatar herpaderpaldent commented on May 28, 2024

So the issue might arise from here: https://github.com/herpaderpaldent/seat-discourse/blob/master/src/Action/Discourse/Users/ListUsers.php

Smth in wrong with the listing of users and i noticed i wasn't very verbose on the error loggging. There might be a log entry in laravel.log.

If not check your enviroment credentials for discourse.

from seat-discourse.

DanFraserUK avatar DanFraserUK commented on May 28, 2024

I changed the username in the following part of the .env :

DISCOURSE_URL=https://forum.obviousevecorp.com DISCOURSE_API_USERNAME= DISCOURSE_API_KEY=**MATCHES** DISCOURSE_SECRET=**MATCHES**

to match the user name of the admin login and now I cannot log out lol.

from seat-discourse.

herpaderpaldent avatar herpaderpaldent commented on May 28, 2024

If you changes the name you probably now why the generated api key isnt working anymore?

from seat-discourse.

DanFraserUK avatar DanFraserUK commented on May 28, 2024

That's set for all users though?

from seat-discourse.

herpaderpaldent avatar herpaderpaldent commented on May 28, 2024

Ill post an update tomororrow for more verbosity in error log, but until then: api username and secret must match for the one creating the api

from seat-discourse.

herpaderpaldent avatar herpaderpaldent commented on May 28, 2024

Hey @DanFraserUK

i come back to you with your issue. I have created an update which is currently on a release branch. Could you alter your composer.json to require the following branch?

"require": {
        "herpaderpaldent/seat-discourse": "dev-release/1.0.2",
    }

and try to create your error again? Also errors should be reported to laravel.log

from seat-discourse.

DanFraserUK avatar DanFraserUK commented on May 28, 2024

Sorry for not getting on it quickly. I've updated the composer.json, unfortunately this happens:

`

(1/1) FatalThrowableError Call to undefined method GuzzleHttp\Exception\ClientException::map()

in Sync.php line 33
at Sync->execute()in SsoController.php line 175
at SsoController->login(object(Request), object(Sync))
at call_user_func_array(array(object(SsoController), 'login'), array(object(Request), object(Sync)))in Controller.php line 54
at Controller->callAction('login', array(object(Request), object(Sync)))in ControllerDispatcher.php line 45
at ControllerDispatcher->dispatch(object(Route), object(SsoController), 'login')in Route.php line 212
at Route->runController()in Route.php line 169
at Route->run()in Router.php line 658
at Router->Illuminate\Routing{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing{closure}(object(Request))in Authenticate.php line 67
at Authenticate->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in VerifyCsrfToken.php line 68
at VerifyCsrfToken->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in StartSession.php line 63
at StartSession->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in EncryptCookies.php line 66
at EncryptCookies->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in Pipeline.php line 102
at Pipeline->then(object(Closure))in Router.php line 660
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php line 635
at Router->runRoute(object(Request), object(Route))in Router.php line 601
at Router->dispatchToRoute(object(Request))in Router.php line 590
at Router->dispatch(object(Request))in Kernel.php line 176
at Kernel->Illuminate\Foundation\Http{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing{closure}(object(Request))in TrustProxies.php line 56
at TrustProxies->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request))in Pipeline.php line 102
at Pipeline->then(object(Closure))in Kernel.php line 151
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php line 116
at Kernel->handle(object(Request))in index.php line 54

`

from seat-discourse.

herpaderpaldent avatar herpaderpaldent commented on May 28, 2024

Ok i need you to tinker this for me:

  1. php artisan tinker (if you use docker: docker-compose exec seat-app php artisan tinker)
  2. run (new Herpaderpaldent\Seat\SeatDiscourse\Action\Discourse\Groups\Get())->execute()

let me know what the response is.

For more real-time assistance head over to our slack: https://eveseat-slack.herokuapp.com/

from seat-discourse.

herpaderpaldent avatar herpaderpaldent commented on May 28, 2024

any update on this?

from seat-discourse.

DanFraserUK avatar DanFraserUK commented on May 28, 2024

Sorry again.

The API key has been updated. I have used all the combinations of the username, name, email possible to identify a user and they all come back with the above error.

I'd really like to get this to work as people have commented concerns about email identification. My goal is to keep everything tied to only in game.

from seat-discourse.

herpaderpaldent avatar herpaderpaldent commented on May 28, 2024

join slack and we'll debug this together

from seat-discourse.

Related Issues (10)

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.