GraphQL Explorer accessing GraphQL API endpoint on wrong port

I am trying to use the GraphQL Explorer. The System Admin / Port Management sets the ports for the various endpoints, and will not allow the same port to be used for both Admin and REST/GraphQL. However, when I try even the simplest GraphQL query in GraphQL Explorer, the display window shows html that says “The requested URL was not found on this server” and indicates the IP address and port, and the port is the Admin port rather than the REST/GraphQL port.

The same thing happens whether I access over https or http.

If GraphQL Explorer ever works, then I am obviously missing something fundamental.

What I was missing was to set AllowOverrides in my apache2 config, as described here:

With that, I got GraphQL Explorer to work.

Also, the demos at https://www.freepbx.org/graphql-support-in-freepbx-15/ no longer seem to work, at least with FreePBX 17 . For reference, here is a query that works:
query {
fetchAllModuleStatus(first: 10) {
totalCount
modules {
name
version
}
}
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.