-
Notifications
You must be signed in to change notification settings - Fork 1
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
500 on a particular commit #14
Comments
One more: tarantool/doc#2836. Request:
Payload: {
"ref": "refs/heads/master",
"before": "60fe9d14c1c7896aa7d961e4b68649eddb4d2d6c",
"after": "0636ec43459f3fe6e415925dcd0c1eb83e73ebb5",
"repository": {
"id": 911980,
"node_id": "MDEwOlJlcG9zaXRvcnk5MTE5ODA=",
"name": "tarantool",
"full_name": "tarantool/tarantool",
"private": false,
"owner": {
"name": "tarantool",
"email": "[email protected]",
"login": "tarantool",
"id": 2344919,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNDQ5MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2344919?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tarantool",
"html_url": "https://github.com/tarantool",
"followers_url": "https://api.github.com/users/tarantool/followers",
"following_url": "https://api.github.com/users/tarantool/following{/other_user}",
"gists_url": "https://api.github.com/users/tarantool/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tarantool/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tarantool/subscriptions",
"organizations_url": "https://api.github.com/users/tarantool/orgs",
"repos_url": "https://api.github.com/users/tarantool/repos",
"events_url": "https://api.github.com/users/tarantool/events{/privacy}",
"received_events_url": "https://api.github.com/users/tarantool/received_events",
"type": "Organization",
"site_admin": false
},
"html_url": "https://github.com/tarantool/tarantool",
"description": "Get your data in RAM. Get compute close to data. Enjoy the performance.",
"fork": false,
"url": "https://github.com/tarantool/tarantool",
"forks_url": "https://api.github.com/repos/tarantool/tarantool/forks",
"keys_url": "https://api.github.com/repos/tarantool/tarantool/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/tarantool/tarantool/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/tarantool/tarantool/teams",
"hooks_url": "https://api.github.com/repos/tarantool/tarantool/hooks",
"issue_events_url": "https://api.github.com/repos/tarantool/tarantool/issues/events{/number}",
"events_url": "https://api.github.com/repos/tarantool/tarantool/events",
"assignees_url": "https://api.github.com/repos/tarantool/tarantool/assignees{/user}",
"branches_url": "https://api.github.com/repos/tarantool/tarantool/branches{/branch}",
"tags_url": "https://api.github.com/repos/tarantool/tarantool/tags",
"blobs_url": "https://api.github.com/repos/tarantool/tarantool/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/tarantool/tarantool/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/tarantool/tarantool/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/tarantool/tarantool/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/tarantool/tarantool/statuses/{sha}",
"languages_url": "https://api.github.com/repos/tarantool/tarantool/languages",
"stargazers_url": "https://api.github.com/repos/tarantool/tarantool/stargazers",
"contributors_url": "https://api.github.com/repos/tarantool/tarantool/contributors",
"subscribers_url": "https://api.github.com/repos/tarantool/tarantool/subscribers",
"subscription_url": "https://api.github.com/repos/tarantool/tarantool/subscription",
"commits_url": "https://api.github.com/repos/tarantool/tarantool/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/tarantool/tarantool/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/tarantool/tarantool/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/tarantool/tarantool/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/tarantool/tarantool/contents/{+path}",
"compare_url": "https://api.github.com/repos/tarantool/tarantool/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/tarantool/tarantool/merges",
"archive_url": "https://api.github.com/repos/tarantool/tarantool/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/tarantool/tarantool/downloads",
"issues_url": "https://api.github.com/repos/tarantool/tarantool/issues{/number}",
"pulls_url": "https://api.github.com/repos/tarantool/tarantool/pulls{/number}",
"milestones_url": "https://api.github.com/repos/tarantool/tarantool/milestones{/number}",
"notifications_url": "https://api.github.com/repos/tarantool/tarantool/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/tarantool/tarantool/labels{/name}",
"releases_url": "https://api.github.com/repos/tarantool/tarantool/releases{/id}",
"deployments_url": "https://api.github.com/repos/tarantool/tarantool/deployments",
"created_at": 1284537566,
"updated_at": "2022-04-23T13:51:10Z",
"pushed_at": 1650869388,
"git_url": "git://github.com/tarantool/tarantool.git",
"ssh_url": "[email protected]:tarantool/tarantool.git",
"clone_url": "https://github.com/tarantool/tarantool.git",
"svn_url": "https://github.com/tarantool/tarantool",
"homepage": "https://www.tarantool.io",
"size": 85117,
"stargazers_count": 2869,
"watchers_count": 2869,
"language": "Lua",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 326,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 1298,
"license": {
"key": "other",
"name": "Other",
"spdx_id": "NOASSERTION",
"url": null,
"node_id": "MDc6TGljZW5zZTA="
},
"allow_forking": true,
"is_template": false,
"topics": [
"appserver",
"database",
"disk",
"in-memory",
"lua",
"msgpack",
"tarantool",
"transactions"
],
"visibility": "public",
"forks": 326,
"open_issues": 1298,
"watchers": 2869,
"default_branch": "master",
"stargazers": 2869,
"master_branch": "master",
"organization": "tarantool"
},
"pusher": {
"name": "kyukhin",
"email": "[email protected]"
},
"organization": {
"login": "tarantool",
"id": 2344919,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNDQ5MTk=",
"url": "https://api.github.com/orgs/tarantool",
"repos_url": "https://api.github.com/orgs/tarantool/repos",
"events_url": "https://api.github.com/orgs/tarantool/events",
"hooks_url": "https://api.github.com/orgs/tarantool/hooks",
"issues_url": "https://api.github.com/orgs/tarantool/issues",
"members_url": "https://api.github.com/orgs/tarantool/members{/member}",
"public_members_url": "https://api.github.com/orgs/tarantool/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/2344919?v=4",
"description": "In-memory computing platform with flexible data schema."
},
"sender": {
"login": "kyukhin",
"id": 9824023,
"node_id": "MDQ6VXNlcjk4MjQwMjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9824023?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kyukhin",
"html_url": "https://github.com/kyukhin",
"followers_url": "https://api.github.com/users/kyukhin/followers",
"following_url": "https://api.github.com/users/kyukhin/following{/other_user}",
"gists_url": "https://api.github.com/users/kyukhin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kyukhin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kyukhin/subscriptions",
"organizations_url": "https://api.github.com/users/kyukhin/orgs",
"repos_url": "https://api.github.com/users/kyukhin/repos",
"events_url": "https://api.github.com/users/kyukhin/events{/privacy}",
"received_events_url": "https://api.github.com/users/kyukhin/received_events",
"type": "User",
"site_admin": false
},
"created": false,
"deleted": false,
"forced": false,
"base_ref": null,
"compare": "https://github.com/tarantool/tarantool/compare/60fe9d14c1c7...0636ec43459f",
"commits": [
{
"id": "c93109b0a4e8f6d4a2c3e12a9e2ecff98b921ad6",
"tree_id": "8bd117cc816a5777535b27bc0928393282bd4519",
"distinct": true,
"message": "sql: fix error when DISTINCT applied to MAP/ARRAY\n\nAfter this patch, when DISTINCT is used with MAP or ARRAY, an error will\nbe thrown instead of a segmentation fault.\n\nPart of #6668\nNeeded for #6773\n\nNO_DOC=Will be added in another commit.\nNO_CHANGELOG=Will be added in another commit.",
"timestamp": "2022-04-25T09:49:48+03:00",
"url": "https://github.com/tarantool/tarantool/commit/c93109b0a4e8f6d4a2c3e12a9e2ecff98b921ad6",
"author": {
"name": "Mergen Imeev",
"email": "[email protected]",
"username": "ImeevMA"
},
"committer": {
"name": "Kirill Yukhin",
"email": "[email protected]",
"username": "kyukhin"
},
"added": [
"test/sql-luatest/gh_6668_problems_with_map_array_test.lua"
],
"removed": [
],
"modified": [
"src/box/sql.c"
]
},
{
"id": "36c3691197fd76a221c7554548d41cec57e522a1",
"tree_id": "1a6aefe1fac051ed06d66c65d30eefb7590d44a1",
"distinct": true,
"message": "sql: disallow incomparable values in GROUP BY\n\nAfter this patch, using MAP and ARRAY in GROUP BY will throw an error\ninstead of an assertion.\n\nPart of #6668\nNeeded for #6773\n\nNO_DOC=Will be added in another commit.\nNO_CHANGELOG=Will be added in another commit.",
"timestamp": "2022-04-25T09:49:48+03:00",
"url": "https://github.com/tarantool/tarantool/commit/36c3691197fd76a221c7554548d41cec57e522a1",
"author": {
"name": "Mergen Imeev",
"email": "[email protected]",
"username": "ImeevMA"
},
"committer": {
"name": "Kirill Yukhin",
"email": "[email protected]",
"username": "kyukhin"
},
"added": [
],
"removed": [
],
"modified": [
"src/box/sql/mem.h",
"src/box/sql/vdbe.c",
"test/sql-luatest/gh_6668_problems_with_map_array_test.lua"
]
},
{
"id": "509598d926f72664e89c4b66bdf6ab304f736835",
"tree_id": "2598fcb542cacd0006834e2ef78b0aa1c1ba30df",
"distinct": true,
"message": "sql: fix error description for comparison\n\nThis patch fixes the error description for comparison in case the left\noperand is comparable but the right operand is not.\n\nPart of #6668\nNeeded for #6668\n\nNO_DOC=Will be added in another commit.\nNO_CHANGELOG=Will be added in another commit.",
"timestamp": "2022-04-25T09:49:48+03:00",
"url": "https://github.com/tarantool/tarantool/commit/509598d926f72664e89c4b66bdf6ab304f736835",
"author": {
"name": "Mergen Imeev",
"email": "[email protected]",
"username": "ImeevMA"
},
"committer": {
"name": "Kirill Yukhin",
"email": "[email protected]",
"username": "kyukhin"
},
"added": [
],
"removed": [
],
"modified": [
"src/box/sql/mem.c",
"test/sql-luatest/gh_6668_problems_with_map_array_test.lua"
]
},
{
"id": "1c0fccbb0027cf48062b5be4f89d202494293b05",
"tree_id": "6af6fef20bdee6698686a259d5b10b8681f5bbcb",
"distinct": true,
"message": "sql: introduce field type INTERVAL\n\nThis patch introduces basic INTERVAL support in SQL. After this patch,\nit will be allowed to select INTERVAL values from spaces, insert them\ninto spaces, and use them in functions. CAST() from INTERVAL to STRING\nand ANY is also supported.\n\nPart of #6773\n\nNO_DOC=Will be added later.\nNO_CHANGELOG=Will be added later.",
"timestamp": "2022-04-25T09:49:48+03:00",
"url": "https://github.com/tarantool/tarantool/commit/1c0fccbb0027cf48062b5be4f89d202494293b05",
"author": {
"name": "Mergen Imeev",
"email": "[email protected]",
"username": "ImeevMA"
},
"committer": {
"name": "Kirill Yukhin",
"email": "[email protected]",
"username": "kyukhin"
},
"added": [
"test/sql-luatest/interval_test.lua",
"test/sql-luatest/sql_interval.c"
],
"removed": [
],
"modified": [
"extra/mkkeywordhash.c",
"src/box/sql/func.c",
"src/box/sql/mem.c",
"src/box/sql/mem.h",
"src/box/sql/parse.y",
"test/sql-luatest/CMakeLists.txt"
]
},
{
"id": "95b9c87b7a4f059c7a842fe82f8f23f1b020191c",
"tree_id": "816b5d4ed845c6cb51f232d6d2e52288c3c45139",
"distinct": true,
"message": "sql: allow to bind INTERVAL values\n\nPart of #6773\n\nNO_DOC=Will be added later.\nNO_CHANGELOG=Will be added later.",
"timestamp": "2022-04-25T09:49:48+03:00",
"url": "https://github.com/tarantool/tarantool/commit/95b9c87b7a4f059c7a842fe82f8f23f1b020191c",
"author": {
"name": "Mergen Imeev",
"email": "[email protected]",
"username": "ImeevMA"
},
"committer": {
"name": "Kirill Yukhin",
"email": "[email protected]",
"username": "kyukhin"
},
"added": [
],
"removed": [
],
"modified": [
"src/box/bind.c",
"src/box/bind.h",
"src/box/lua/execute.c",
"src/box/sql/sqlInt.h",
"src/box/sql/vdbeapi.c",
"test/sql-luatest/interval_test.lua"
]
},
{
"id": "e61f4f61d6ffe90d4a39d7504ecf6ef02d654cbd",
"tree_id": "3cfdc3f011d16f79542ae12ece2d6197be65dba4",
"distinct": true,
"message": "sql: check left operand before right in arithmetic\n\nPrior to this patch, the right operand was checked before the left. This\ncan lead to some complications when arithmetic operations are added for\nthe DATETIME and INTERVAL values. To avoid this, let's check the left\noperand before the right one. This will cause the description of the\nerror to change, but nothing else.\n\nNeeded for #6773\n\nNO_DOC=Not documented feature.",
"timestamp": "2022-04-25T09:49:48+03:00",
"url": "https://github.com/tarantool/tarantool/commit/e61f4f61d6ffe90d4a39d7504ecf6ef02d654cbd",
"author": {
"name": "Mergen Imeev",
"email": "[email protected]",
"username": "ImeevMA"
},
"committer": {
"name": "Kirill Yukhin",
"email": "[email protected]",
"username": "kyukhin"
},
"added": [
"changelogs/unreleased/gh-6773-arithmetic-operands.md",
"test/sql-luatest/gh_6773_arithmetic_operands_test.lua"
],
"removed": [
],
"modified": [
"src/box/sql/mem.c",
"test/sql-tap/tkt-a8a0d2996a.test.lua",
"test/sql/boolean.result"
]
},
{
"id": "0636ec43459f3fe6e415925dcd0c1eb83e73ebb5",
"tree_id": "2759143bd245008c46ad9fe65bd6f80396c1a535",
"distinct": true,
"message": "sql: arithmetic for DATETIME and INTERVAL\n\nAfter this patch, it will be possible to perform permitted arithmetic\noperations on DATETIME and INTERVAL values.\n\nCloses #6773\n\n@TarantoolBot document\nTitle: Field type interval is available in SQL\n\nThe INTERVAL field type is now available in SQL. INTERVAL values cannot\nbe compared. INTERVAL values can be explicitly and implicitly cast to\nANY. There are currently no literals for the INTERVAL field type.",
"timestamp": "2022-04-25T09:49:48+03:00",
"url": "https://github.com/tarantool/tarantool/commit/0636ec43459f3fe6e415925dcd0c1eb83e73ebb5",
"author": {
"name": "Mergen Imeev",
"email": "[email protected]",
"username": "ImeevMA"
},
"committer": {
"name": "Kirill Yukhin",
"email": "[email protected]",
"username": "kyukhin"
},
"added": [
"changelogs/unreleased/gh-6773-introduce-field-type-interval-to-sql.md"
],
"removed": [
],
"modified": [
"src/box/sql/mem.c",
"src/box/sql/mem.h",
"test/sql-luatest/datetime_test.lua",
"test/sql-luatest/gh_6773_arithmetic_operands_test.lua",
"test/sql-luatest/interval_test.lua",
"test/sql-tap/array.test.lua",
"test/sql-tap/map.test.lua",
"test/sql-tap/metatypes.test.lua",
"test/sql-tap/sql-errors.test.lua",
"test/sql-tap/tkt-a8a0d2996a.test.lua",
"test/sql-tap/uuid.test.lua",
"test/sql/boolean.result",
"test/sql/types.result"
]
}
],
"head_commit": {
"id": "0636ec43459f3fe6e415925dcd0c1eb83e73ebb5",
"tree_id": "2759143bd245008c46ad9fe65bd6f80396c1a535",
"distinct": true,
"message": "sql: arithmetic for DATETIME and INTERVAL\n\nAfter this patch, it will be possible to perform permitted arithmetic\noperations on DATETIME and INTERVAL values.\n\nCloses #6773\n\n@TarantoolBot document\nTitle: Field type interval is available in SQL\n\nThe INTERVAL field type is now available in SQL. INTERVAL values cannot\nbe compared. INTERVAL values can be explicitly and implicitly cast to\nANY. There are currently no literals for the INTERVAL field type.",
"timestamp": "2022-04-25T09:49:48+03:00",
"url": "https://github.com/tarantool/tarantool/commit/0636ec43459f3fe6e415925dcd0c1eb83e73ebb5",
"author": {
"name": "Mergen Imeev",
"email": "[email protected]",
"username": "ImeevMA"
},
"committer": {
"name": "Kirill Yukhin",
"email": "[email protected]",
"username": "kyukhin"
},
"added": [
"changelogs/unreleased/gh-6773-introduce-field-type-interval-to-sql.md"
],
"removed": [
],
"modified": [
"src/box/sql/mem.c",
"src/box/sql/mem.h",
"test/sql-luatest/datetime_test.lua",
"test/sql-luatest/gh_6773_arithmetic_operands_test.lua",
"test/sql-luatest/interval_test.lua",
"test/sql-tap/array.test.lua",
"test/sql-tap/map.test.lua",
"test/sql-tap/metatypes.test.lua",
"test/sql-tap/sql-errors.test.lua",
"test/sql-tap/tkt-a8a0d2996a.test.lua",
"test/sql-tap/uuid.test.lua",
"test/sql/boolean.result",
"test/sql/types.result"
]
}
} Response:
Body: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>Error: 500 Internal Server Error</title>
<style type="text/css">
html {background-color: #eee; font-family: sans;}
body {background-color: #fff; border: 1px solid #ddd;
padding: 15px; margin: 15px;}
pre {background-color: #eee; border: 1px solid #ddd; padding: 5px;}
</style>
</head>
<body>
<h1>Error: 500 Internal Server Error</h1>
<p>Sorry, the requested URL <tt>'https://docbot.tarantool.io/'</tt>
caused an error:</p>
<pre>Internal Server Error</pre>
</body>
</html> |
We were hit by something similar recently: tarantool/vshard#395. I reached the machine, where the docbot is deployed and looked at logs: [2023-01-17 21:02:27,613] ERROR in app: Exception on / [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/app/docbot/app.py", line 23, in webhook
return webhook_handler(data, event)
File "/app/docbot/handlers.py", line 35, in webhook_handler
process_commit(c, is_master_push, issue_repo)
File "/app/docbot/processors.py", line 77, in process_commit
github.create_issue(comment['title'],
File "/app/docbot/github.py", line 29, in create_issue
status_code = self._send_request(url, body)
File "/app/docbot/github.py", line 36, in _send_request
r = requests.request(method, url, json=body, headers=headers)
File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 573, in request
prep = self.prepare_request(req)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 484, in prepare_request
p.prepare(
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 368, in prepare
self.prepare_url(url, params)
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 439, in prepare_url
raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL 'None/issues': No scheme supplied. Perhaps you meant http://None/issues?
[2023-01-19 22:27:15,200] ERROR in app: Exception on / [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/app/docbot/app.py", line 23, in webhook
return webhook_handler(data, event)
File "/app/docbot/handlers.py", line 35, in webhook_handler
process_commit(c, is_master_push, issue_repo)
File "/app/docbot/processors.py", line 77, in process_commit
github.create_issue(comment['title'],
File "/app/docbot/github.py", line 29, in create_issue
status_code = self._send_request(url, body)
File "/app/docbot/github.py", line 36, in _send_request
r = requests.request(method, url, json=body, headers=headers)
File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 573, in request
prep = self.prepare_request(req)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 484, in prepare_request
p.prepare(
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 368, in prepare
self.prepare_url(url, params)
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 439, in prepare_url
raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL 'None/issues': No scheme supplied. Perhaps you meant http://None/issues? |
According to the backtrace vshard's problem is here: Lines 9 to 15 in c2e8b55
There is no vshard in this list. The original problem still unclear, need at least a backtrace. |
vshard's problem was fixed in PR #24. |
I filed it manually: tarantool/doc#2835.
Request:
Payload
Response:
Body:
The text was updated successfully, but these errors were encountered: