question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Save query Internal Server Error

See original GitHub issue

When i want to save my query text. but sqlpad show " Internal Server Error",

Version: 5.6.0 in Docker. There is no problem using version 4.4 before, just upgraded to the latest version

The newly created query is no problem to save, I save the old one sqlpad is error, And I noticed that the newly created query id is in the form of guid, but the old one is a random string, I don’t know if it is related to this

Error Info:

{ "level": 30, "time": "2020-09-25T02:13:29.288Z", "pid": 1, "hostname": "xxx.xxx.com", "name": "sqlpad-web", "req": { "id": 34, "method": "PUT", "url": "/api/queries/Zp00kFFs7HnEZhcW" }, "res": { "statusCode": 500 }, "err": { "type": "Error", "message": "failed with status code 500", "stack": "Error: failed with status code 500\n at ServerResponse.onResFinished (/usr/app/node_modules/pino-http/logger.js:73:38)\n at ServerResponse.emit (events.js:327:22)\n at onFinish (_http_outgoing.js:723:10)\n at onCorkedFinish (_stream_writable.js:673:5)\n at afterWrite (_stream_writable.js:490:5)\n at onwrite (_stream_writable.js:470:7)\n at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:101:10)" }, "responseTime": 30, "msg": "request errored" }

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Kerwin1202commented, Mar 13, 2021

Hi, @rickbergfalk,
After upgrading to the new version, the old data has been unavailable, my data is only dozens of pieces, so I manually added to the new version from the old backup database. But, that upgrade did cause any data in the old version to be inoperable, only the newly added data in the new version is normal. In the that version, It work fine, So if you can’t reproduce it then don’t care, you can close this issue.

1reaction
rickbergfalkcommented, Sep 26, 2020

Thanks @Kerwin1202 this information is perfect! Will try to reproduce later and see if I can figure out what’s going on

Read more comments on GitHub >

github_iconTop Results From Across the Web

Internal Server Error after trying to save a Query - Elastic Discuss
Hello together, we are using Kibana with version 7.8.1, unfortunately I am completely noob on Kibana so would really appricate any help.
Read more >
How to Fix a 500 Internal Server Error on Your WordPress Site
The 500 Internal Server Error status code occurs when the server encounters an error that prevents it from fulfilling the request.
Read more >
500 Internal server error when save proccess using ajax
I want to ask why my codeigniter when add data become error 500 internal server when the save proccess. I dont know anything...
Read more >
Saving a report gives a 'Internal Server Error' in Report Builder ...
Attempts to save a report in Report Builder for IBM Jazz Reporting Service (JRS) gives an 'Internal Server Error' after 20 minutes and...
Read more >
Sharepoint Online List Query Returns internal Server Error
Requesting response from path and query $filter=Modified ge datetime'2022-03-17' failed with status code InternalServerError and message <?xml ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found