Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-request-id and HTTP 405 from nextcloud instance when registering for beta external server #1109

Open
S0ulf3re opened this issue Jun 9, 2022 · 2 comments

Comments

@S0ulf3re
Copy link

S0ulf3re commented Jun 9, 2022

I'm trying to setup a beta managed server but the app keeps saying this:

Sorry we couldn't complete your registration.

unknown error

Please report this to our [issue tracker](https://jsxc.ch/managed-issue-tracker) and mention the request id no-request-id.

This is what my nextcloud logs are saying:

{
  "reqId": "da7HHZPlTR3ngj504cO0",
  "level": 3,
  "time": "2022-06-09T12:06:38-04:00",
  "remoteAddr": "72.49.134.145",
  "user": "soulfire",
  "app": "index",
  "method": "POST",
  "url": "/apps/ojsxc/managedServer/register",
  "message": "Could not resolve dataRetriever! Class \"dataRetriever\" does not exist",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36",
  "version": "24.0.1.1",
  "exception": {
    "Exception": "OCP\\AppFramework\\QueryException",
    "Message": "Could not resolve dataRetriever! Class \"dataRetriever\" does not exist",
    "Code": 0,
    "Trace": [
      {
        "function": "OC\\AppFramework\\Utility\\{closure}",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 108,
        "function": "array_map"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 116,
        "function": "buildClass",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 133,
        "function": "resolve",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
        "line": 465,
        "function": "query",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
        "line": 437,
        "function": "queryNoFallback",
        "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
        "line": 159,
        "function": "query",
        "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Route/Router.php",
        "line": 298,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 1023,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/index.php",
        "line": 36,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    ],
    "File": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
    "Line": 102,
    "Previous": {
      "Exception": "OCP\\AppFramework\\QueryException",
      "Message": "Could not resolve OCA\\OJSXC\\IDataRetriever! Class can not be instantiated",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 133,
          "function": "resolve",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
          "line": 465,
          "function": "query",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
          "line": 437,
          "function": "queryNoFallback",
          "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 89,
          "function": "query",
          "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
          "type": "->"
        },
        {
          "function": "OC\\AppFramework\\Utility\\{closure}",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 108,
          "function": "array_map"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 116,
          "function": "buildClass",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 133,
          "function": "resolve",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
          "line": 465,
          "function": "query",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
          "line": 437,
          "function": "queryNoFallback",
          "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
          "line": 159,
          "function": "query",
          "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/Route/Router.php",
          "line": 298,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::"
        },
        {
          "file": "/var/www/nextcloud/lib/base.php",
          "line": 1023,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/index.php",
          "line": 36,
          "function": "handleRequest",
          "class": "OC",
          "type": "::"
        }
      ],
      "File": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
      "Line": 118
    },
    "CustomMessage": "--"
  }
}
@lfajardo
Copy link

Does JSXC support Nextcloud 24? As mentioned in #1108 you have version 24 installed, and JSXC 5.0 can be deployed in Nextcloud 22 and 23, so long I know (stated in https://apps.nextcloud.com/apps/ojsxc). Have you successfully used it in version 24? That would be really good news.

@lfajardo
Copy link

It seems no new special requierement is needed (https://docs.nextcloud.com/server/latest/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_24.html). PHP can be from 7.3 to 8.1. So it fits Nextcloud 21 to 23. Is it right? Does somebody have experience deploying JSXC on Nextcloud 24?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants