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

Qonsole: issue with error reporting. #93

Open
der opened this issue Mar 18, 2022 · 2 comments
Open

Qonsole: issue with error reporting. #93

der opened this issue Mar 18, 2022 · 2 comments
Assignees
Labels
app/landing Issues affecting the landing page service bug Something isn't working

Comments

@der
Copy link
Member

der commented Mar 18, 2022

In production attempting a long running query via the Sparql form, such as:

PREFIX  ppi:  <http://landregistry.data.gov.uk/def/ppi/>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  common: <http://landregistry.data.gov.uk/def/common/>

SELECT  (COUNT(?transaction) AS ?count) (SUM(?price) AS ?total) ?area ?type
WHERE
{ { SELECT DISTINCT  ?propertyAddress
            WHERE
              { ?propertyAddress
                          <http://jena.apache.org/text#query>  ( "town: bristol" 3000000 )
              }
          }
    ?transaction  ppi:propertyAddress  ?propertyAddress .
    ?transaction  ppi:pricePaid     ?price ;
              ppi:propertyType      ?pt ;
              ppi:transactionDate   ?date ;
              ppi:transactionCategory  ?category .
    ?propertyAddress common:district ?area .
    ?pt  rdfs:label  ?type .
  }
GROUP BY ?area ?type
ORDER BY ?area ?type

results in a timeout after 1 min with the the error message Sorry, that didn't work because: 'GATEWAY_TIMEOUT'

In hmlr-dev the same test results in embedded error page.

The underlying cause may well be due to some change in how the backend is responding, rather than a regression with qonsole.
Screenshot from 2022-03-18 15-58-01

@der der added the bug Something isn't working label Mar 18, 2022
@jonrandahl jonrandahl self-assigned this Jan 27, 2023
@jonrandahl
Copy link

Shelving this for the time being as it looks like we've got more dependency issues with this package as a whole and will need more time to investigate the best way forward:

An error occurred while installing mimemagic (0.3.10), and Bundler cannot continue.

In Gemfile:
  qonsole-rails was resolved to 0.6.2, which depends on
    rails was resolved to 5.2.4.3, which depends on
      activestorage was resolved to 5.2.4.3, which depends on
        marcel was resolved to 0.3.3, which depends on
          mimemagic

Which was an attempt to resolve the locked version of mimemagic which no longer exists:

Your bundle is locked to mimemagic (0.3.5) from rubygems repository https://rubygems.org/ or 
installed locally, but that version can no longer be found in that source. That means the author 
of mimemagic (0.3.5) has removed it. You'll need to update your bundle to a version other than 
mimemagic (0.3.5) that hasn't been removed in order to install.

@der
Copy link
Member Author

der commented Jun 6, 2023

This one remains and issue is potentially blocker to release since it's a visible regression from current production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app/landing Issues affecting the landing page service bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants