Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Mobile
Minds Mobile
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 207
    • Issues 207
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 19
    • Merge Requests 19
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Minds
  • Minds MobileMinds Mobile
  • Issues
  • #1453

Closed
Open
Opened 4 hours ago by Narayanan KA@movingisliving2019
  • Report abuse
  • New issue
Report abuse New issue

Request Error on :api/v2/Oauth/token

Hello,

We have configured the Mobile native app for android. However we are getting this error while signing in to one of our accounts.

"Request Error on :api/v2/Oauth/token"

Getting the same error on Emulator as well as Physical device. Also the website is hosted on a separate server.

Here is the error logs from Website server

" 2019/10/22 10:44:40 [error] 6#6: *4834 FastCGI sent in stderr: "PHP message: Exception #1571741080: LogicException: Key path "file:///var/secure/oauth-priv.key" does not exist or is not readable in /var/www/ Minds/engine/vendor/league/oauth2-server/src/CryptKey.php:45 Stack trace: #0 /var/www/Minds/engine/vendor/league/oauth2-server/src/AuthorizationServer.php(104): League\OAuth2\Server\CryptKey->__construct('file:///var/sec...') #1 /var/www/Minds/engine/Core/OAuth/OAuthProvider.php(36): League\OAuth2\Server\AuthorizationServer->__construct(Object(Minds\Core\OAuth\Repositories\ClientRepository), Object(Minds\Core\OAuth\Repositories\A ccessTokenRepository), Object(Minds\Core\OAuth\Repositories\ScopeRepository), '/var/secure/oau...', '{{ jwt-secret }...') #2 (closed) [internal function]: Minds\Core\OAuth\OAuthProvider->Minds\Core\OAuth{closure}(Object(Minds\Core\Di\Di)) #3 (closed) /var/www/Minds/engine/Core/Di/Di.php(25): call_user_func(Object(Closure), Object(Minds\Core\Di\Di)) #4 (closed) /var/www/Minds/engine/Controllers/api/v2/oauth/token.php(30): Minds\Core\Di\Di->get('OAuth\Server\Au...')" while reading response header from upstream, client: 172.18.0.3, server: _, request: "POST /api /v2/oauth/token?cb=1571741078980 HTTP/1.1", upstream: "fastcgi://172.26.0.9:9000", host: "ABC.XYZ.in"

"

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Edited 4 hours ago by Narayanan KA

Related issues
0

  • Discussion 1
  • Designs 0
  • Narayanan KA @movingisliving2019 changed the description 4 hours ago

    changed the description

  • Ben Hayward
    Ben Hayward @benhayward.ben · 2 hours ago
    Developer

    CCing @msantang78 for you

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply

The one place for your designs

Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.

0 Assignees
None
Assign to
none
Epic
None
None
Milestone
None
Assign milestone
None
Time tracking
No estimate or time spent
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
None
Weight
None
Confidentiality
Not confidential
Lock issue
Unlocked
3
3 participants
user avatar
Ben Hayward
user avatar
Narayanan KA
user avatar
Martin Santangelo
Reference: minds/mobile-native#1453