{"action":"created","issue":{"url":"https://api.github.com/repos/phase/o/issues/34","labels_url":"https://api.github.com/repos/phase/o/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/phase/o/issues/34/comments","events_url":"https://api.github.com/repos/phase/o/issues/34/events","html_url":"https://github.com/phase/o/issues/34","id":116478023,"number":34,"title":"Internal Server Error on Heroku","user":{"login":"phase","id":7685133,"avatar_url":"https://avatars.githubusercontent.com/u/7685133?v=3","gravatar_id":"","url":"https://api.github.com/users/phase","html_url":"https://github.com/phase","followers_url":"https://api.github.com/users/phase/followers","following_url":"https://api.github.com/users/phase/following{/other_user}","gists_url":"https://api.github.com/users/phase/gists{/gist_id}","starred_url":"https://api.github.com/users/phase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase/subscriptions","organizations_url":"https://api.github.com/users/phase/orgs","repos_url":"https://api.github.com/users/phase/repos","events_url":"https://api.github.com/users/phase/events{/privacy}","received_events_url":"https://api.github.com/users/phase/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phase/o/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/phase/o/labels/webIDE","name":"webIDE","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/phase/o/milestones/1","html_url":"https://github.com/phase/o/milestones/C%20Rewrite","labels_url":"https://api.github.com/repos/phase/o/milestones/1/labels","id":1399038,"number":1,"title":"C Rewrite","description":"Rewrite the interpreter in C and set up the WebIDE.","creator":{"login":"phase","id":7685133,"avatar_url":"https://avatars.githubusercontent.com/u/7685133?v=3","gravatar_id":"","url":"https://api.github.com/users/phase","html_url":"https://github.com/phase","followers_url":"https://api.github.com/users/phase/followers","following_url":"https://api.github.com/users/phase/following{/other_user}","gists_url":"https://api.github.com/users/phase/gists{/gist_id}","starred_url":"https://api.github.com/users/phase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase/subscriptions","organizations_url":"https://api.github.com/users/phase/orgs","repos_url":"https://api.github.com/users/phase/repos","events_url":"https://api.github.com/users/phase/events{/privacy}","received_events_url":"https://api.github.com/users/phase/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":8,"state":"open","created_at":"2015-11-07T07:04:53Z","updated_at":"2015-11-12T04:39:59Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-11-12T04:39:59Z","updated_at":"2015-11-12T15:14:25Z","closed_at":null,"body":"Works fine locally, gives Internal Server Error on Heroku. The logs show it trying to run the code, then stalling."},"comment":{"url":"https://api.github.com/repos/phase/o/issues/comments/156134491","html_url":"https://github.com/phase/o/issues/34#issuecomment-156134491","issue_url":"https://api.github.com/repos/phase/o/issues/34","id":156134491,"user":{"login":"phase","id":7685133,"avatar_url":"https://avatars.githubusercontent.com/u/7685133?v=3","gravatar_id":"","url":"https://api.github.com/users/phase","html_url":"https://github.com/phase","followers_url":"https://api.github.com/users/phase/followers","following_url":"https://api.github.com/users/phase/following{/other_user}","gists_url":"https://api.github.com/users/phase/gists{/gist_id}","starred_url":"https://api.github.com/users/phase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase/subscriptions","organizations_url":"https://api.github.com/users/phase/orgs","repos_url":"https://api.github.com/users/phase/repos","events_url":"https://api.github.com/users/phase/events{/privacy}","received_events_url":"https://api.github.com/users/phase/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T15:14:25Z","updated_at":"2015-11-12T15:14:25Z","body":"```\r\n2015-11-12T06:12:57.038385+00:00 heroku[web.1]: State changed from starting to up\r\n2015-11-12T06:45:40.703288+00:00 heroku[web.1]: Idling\r\n2015-11-12T06:45:40.703890+00:00 heroku[web.1]: State changed from up to down\r\n2015-11-12T06:45:44.424230+00:00 heroku[web.1]: Stopping all processes with SIGTERM\r\n2015-11-12T06:45:45.650236+00:00 app[web.1]: 2015-11-12 06:45:45 [9] [INFO] Worker exiting (pid: 9)\r\n2015-11-12T06:45:45.771759+00:00 app[web.1]: 2015-11-12 06:45:45 [3] [INFO] Shutting down: Master\r\n2015-11-12T06:45:45.651238+00:00 app[web.1]: 2015-11-12 06:45:45 [3] [INFO] Handling signal: term\r\n2015-11-12T06:45:46.688745+00:00 heroku[web.1]: Process exited with status 0\r\n2015-11-12T08:15:27.747002+00:00 heroku[web.1]: Unidling\r\n2015-11-12T08:15:27.747405+00:00 heroku[web.1]: State changed from down to starting\r\n2015-11-12T08:15:30.721996+00:00 heroku[web.1]: Starting process with command `gunicorn ide:app --log-file=-`\r\n2015-11-12T08:15:33.289905+00:00 app[web.1]: 2015-11-12 08:15:33 [3] [INFO] Listening at: http://0.0.0.0:55497 (3)\r\n2015-11-12T08:15:33.290037+00:00 app[web.1]: 2015-11-12 08:15:33 [3] [INFO] Using worker: sync\r\n2015-11-12T08:15:33.294183+00:00 app[web.1]: 2015-11-12 08:15:33 [9] [INFO] Booting worker with pid: 9\r\n2015-11-12T08:15:33.289134+00:00 app[web.1]: 2015-11-12 08:15:33 [3] [INFO] Starting gunicorn 0.17.2\r\n2015-11-12T08:15:34.465562+00:00 heroku[web.1]: State changed from starting to up\r\n2015-11-12T08:15:35.848871+00:00 heroku[router]: at=info method=GET path=\"/link/code=M(.e%5C2%2F.%40%7B_%7Ddmrr%5Dp&input=3\" host=o-lang.herokuapp.com request_id=60c20086-cce9-470d-891a-924eb78e4a1d fwd=\"100.43.85.22\" dyno=web.1 connect=5ms service=19ms status=404 bytes=391\r\n2015-11-12T08:51:31.773181+00:00 heroku[web.1]: Idling\r\n2015-11-12T08:51:31.773946+00:00 heroku[web.1]: State changed from up to down\r\n2015-11-12T08:51:31.774688+00:00 heroku[web.1]: State changed from down to starting\r\n2015-11-12T08:51:34.903213+00:00 heroku[web.1]: Starting process with command `gunicorn ide:app --log-file=-`\r\n2015-11-12T08:51:37.145319+00:00 app[web.1]: 2015-11-12 08:51:37 [3] [INFO] Starting gunicorn 0.17.2\r\n2015-11-12T08:51:37.145708+00:00 app[web.1]: 2015-11-12 08:51:37 [3] [INFO] Listening at: http://0.0.0.0:56242 (3)\r\n2015-11-12T08:51:37.145780+00:00 app[web.1]: 2015-11-12 08:51:37 [3] [INFO] Using worker: sync\r\n2015-11-12T08:51:37.149074+00:00 app[web.1]: 2015-11-12 08:51:37 [9] [INFO] Booting worker with pid: 9\r\n2015-11-12T08:51:37.746655+00:00 heroku[web.1]: Stopping all processes with SIGTERM\r\n2015-11-12T08:51:38.628879+00:00 heroku[web.1]: State changed from starting to up\r\n2015-11-12T08:51:39.449597+00:00 app[web.1]: 2015-11-12 08:51:39 [3] [INFO] Handling signal: term\r\n2015-11-12T08:51:39.449876+00:00 app[web.1]: 2015-11-12 08:51:39 [9] [INFO] Worker exiting (pid: 9)\r\n2015-11-12T08:51:39.673875+00:00 app[web.1]: 2015-11-12 08:51:39 [3] [INFO] Shutting down: Master\r\n2015-11-12T08:51:40.705123+00:00 heroku[web.1]: Process exited with status 0\r\n2015-11-12T09:24:42.949842+00:00 heroku[web.1]: Idling\r\n2015-11-12T09:24:42.950675+00:00 heroku[web.1]: State changed from up to down\r\n2015-11-12T09:24:46.684566+00:00 heroku[web.1]: Stopping all processes with SIGTERM\r\n2015-11-12T09:24:47.982859+00:00 app[web.1]: 2015-11-12 09:24:47 [9] [INFO] Worker exiting (pid: 9)\r\n2015-11-12T09:24:48.100407+00:00 app[web.1]: 2015-11-12 09:24:48 [3] [INFO] Shutting down: Master\r\n2015-11-12T09:24:47.984926+00:00 app[web.1]: 2015-11-12 09:24:47 [3] [INFO] Handling signal: term\r\n2015-11-12T09:24:48.794328+00:00 heroku[web.1]: Process exited with status 0\r\n2015-11-12T13:38:44.355924+00:00 heroku[web.1]: Unidling\r\n2015-11-12T13:38:44.356298+00:00 heroku[web.1]: State changed from down to starting\r\n2015-11-12T13:38:46.649163+00:00 heroku[web.1]: Starting process with command `gunicorn ide:app --log-file=-`\r\n2015-11-12T13:38:48.453768+00:00 app[web.1]: 2015-11-12 13:38:48 [3] [INFO] Listening at: http://0.0.0.0:58917 (3)\r\n2015-11-12T13:38:48.453884+00:00 app[web.1]: 2015-11-12 13:38:48 [3] [INFO] Using worker: sync\r\n2015-11-12T13:38:48.459090+00:00 app[web.1]: 2015-11-12 13:38:48 [9] [INFO] Booting worker with pid: 9\r\n2015-11-12T13:38:48.453374+00:00 app[web.1]: 2015-11-12 13:38:48 [3] [INFO] Starting gunicorn 0.17.2\r\n2015-11-12T13:38:49.092293+00:00 heroku[web.1]: State changed from starting to up\r\n2015-11-12T13:38:50.400542+00:00 app[web.1]: ('Link:', u'code=io&input=This+is+a+Cat+program+in+O!')\r\n2015-11-12T13:38:50.413241+00:00 heroku[router]: at=info method=GET path=\"/link/code=io&input=This+is+a+Cat+program+in+O!\" host=o-lang.herokuapp.com request_id=2b4fee5c-b9f2-422b-bdc9-305dd4596e09 fwd=\"83.11.109.43\" dyno=web.1 connect=0ms service=16ms status=200 bytes=806\r\n2015-11-12T13:38:52.638855+00:00 app[web.1]: ('Got code:', u'io', 'input:', u'This+is+a+Cat+program+in+O!')\r\n2015-11-12T13:38:52.638860+00:00 app[web.1]: Running O code...\r\n2015-11-12T13:38:52.670970+00:00 heroku[router]: at=info method=POST path=\"/\" host=o-lang.herokuapp.com request_id=f688d149-af52-4f88-881f-93f033fbbf86 fwd=\"83.11.109.43\" dyno=web.1 connect=0ms service=34ms status=500 bytes=456\r\n2015-11-12T13:38:53.054797+00:00 heroku[router]: at=info method=GET path=\"/favicon.ico\" host=o-lang.herokuapp.com request_id=e41d55e6-1646-48ee-aeeb-718f6e215c2c fwd=\"83.11.109.43\" dyno=web.1 connect=0ms service=2ms status=404 bytes=391\r\n2015-11-12T13:38:55.518012+00:00 heroku[router]: at=info method=GET path=\"/link/code=H%2C%3B%5D*o&input=5\" host=o-lang.herokuapp.com request_id=694c1541-a9fe-439e-962d-416b39433719 fwd=\"83.11.109.43\" dyno=web.1 connect=0ms service=3ms status=200 bytes=784\r\n2015-11-12T13:38:55.518553+00:00 app[web.1]: ('Link:', u'code=H,;]*o&input=5')\r\n2015-11-12T13:38:55.933462+00:00 heroku[router]: at=info method=POST path=\"/\" host=o-lang.herokuapp.com request_id=04726675-7f0c-4e6e-b928-9d190ea551a9 fwd=\"83.11.109.43\" dyno=web.1 connect=1ms service=29ms status=500 bytes=456\r\n2015-11-12T13:38:55.910439+00:00 app[web.1]: ('Got code:', u'H,;]*o', 'input:', u'5')\r\n2015-11-12T13:38:55.910445+00:00 app[web.1]: Running O code...\r\n2015-11-12T13:51:50.957539+00:00 heroku[router]: at=info method=GET path=\"/link/code=%22Hello%2C+World!%22o&input=\" host=o-lang.herokuapp.com request_id=ea44de99-4fbd-402f-a870-19449a4bbda6 fwd=\"96.236.224.120\" dyno=web.1 connect=1ms service=2ms status=200 bytes=801\r\n2015-11-12T13:51:50.956186+00:00 app[web.1]: ('Link:', u'code=\"Hello,+World!\"o&input=')\r\n2015-11-12T13:51:51.598384+00:00 heroku[router]: at=info method=GET path=\"/favicon.ico\" host=o-lang.herokuapp.com request_id=c81c77c5-da42-4306-861c-efdffad8d881 fwd=\"96.236.224.120\" dyno=web.1 connect=0ms service=6ms status=404 bytes=391\r\n2015-11-12T13:51:51.624812+00:00 heroku[router]: at=info method=POST path=\"/\" host=o-lang.herokuapp.com request_id=9fe168b2-54ea-41be-ab37-d558e1c027b1 fwd=\"96.236.224.120\" dyno=web.1 connect=0ms service=6ms status=500 bytes=456\r\n2015-11-12T13:51:51.620315+00:00 app[web.1]: ('Got code:', u'\"Hello,+World!\"o', 'input:', u'')\r\n2015-11-12T13:51:51.620319+00:00 app[web.1]: Running O code...\r\n2015-11-12T13:51:54.778005+00:00 heroku[router]: at=info method=GET path=\"/link/code=H%2C%3B%5D*o&input=5\" host=o-lang.herokuapp.com request_id=567f6b60-c763-4b17-93e5-e045c4714106 fwd=\"96.236.224.120\" dyno=web.1 connect=0ms service=2ms status=200 bytes=784\r\n2015-11-12T13:51:54.777241+00:00 app[web.1]: ('Link:', u'code=H,;]*o&input=5')\r\n2015-11-12T13:51:54.994091+00:00 heroku[router]: at=info method=POST path=\"/\" host=o-lang.herokuapp.com request_id=da795639-a495-40c1-bfea-dce0c79b75bd fwd=\"96.236.224.120\" dyno=web.1 connect=0ms service=12ms status=500 bytes=456\r\n2015-11-12T13:51:54.984432+00:00 app[web.1]: ('Got code:', u'H,;]*o', 'input:', u'5')\r\n2015-11-12T13:51:54.984437+00:00 app[web.1]: Running O code...\r\n2015-11-12T14:27:57.761580+00:00 heroku[web.1]: Idling\r\n2015-11-12T14:27:57.761580+00:00 heroku[web.1]: State changed from up to down\r\n2015-11-12T14:28:01.394677+00:00 heroku[web.1]: Stopping all processes with SIGTERM\r\n2015-11-12T14:28:02.604084+00:00 app[web.1]: 2015-11-12 14:28:02 [9] [INFO] Worker exiting (pid: 9)\r\n2015-11-12T14:28:02.604211+00:00 app[web.1]: 2015-11-12 14:28:02 [3] [INFO] Handling signal: term\r\n2015-11-12T14:28:02.745057+00:00 app[web.1]: 2015-11-12 14:28:02 [3] [INFO] Shutting down: Master\r\n2015-11-12T14:28:03.575743+00:00 heroku[web.1]: Process exited with status 0\r\n2015-11-12T15:09:11.880206+00:00 heroku[web.1]: Unidling\r\n2015-11-12T15:09:11.880602+00:00 heroku[web.1]: State changed from down to starting\r\n2015-11-12T15:09:14.525846+00:00 heroku[web.1]: Starting process with command `gunicorn ide:app --log-file=-`\r\n2015-11-12T15:09:16.764338+00:00 app[web.1]: 2015-11-12 15:09:16 [3] [INFO] Starting gunicorn 0.17.2\r\n2015-11-12T15:09:16.765526+00:00 app[web.1]: 2015-11-12 15:09:16 [3] [INFO] Using worker: sync\r\n2015-11-12T15:09:16.765337+00:00 app[web.1]: 2015-11-12 15:09:16 [3] [INFO] Listening at: http://0.0.0.0:54220 (3)\r\n2015-11-12T15:09:16.775717+00:00 app[web.1]: 2015-11-12 15:09:16 [9] [INFO] Booting worker with pid: 9\r\n2015-11-12T15:09:18.226331+00:00 heroku[web.1]: State changed from starting to up\r\n2015-11-12T15:09:19.022478+00:00 heroku[router]: at=info method=GET path=\"/\" host=o-lang.herokuapp.com request_id=291df7af-03d2-4f99-84db-e945016e4c4a fwd=\"98.170.215.209,66.249.85.137\" dyno=web.1 connect=2ms service=70ms status=200 bytes=2071\r\n2015-11-12T15:09:19.409241+00:00 heroku[router]: at=info method=GET path=\"/static/explanations.js\" host=o-lang.herokuapp.com request_id=c1fb631d-0a26-4bf9-8bbd-a05b2c8fa5b6 fwd=\"98.170.215.209,66.102.7.135\" dyno=web.1 connect=3ms service=64ms status=200 bytes=3021\r\n2015-11-12T15:09:19.431038+00:00 heroku[router]: at=info method=GET path=\"/static/o.js\" host=o-lang.herokuapp.com request_id=4a2a8532-c4fd-472f-a638-74a9565253da fwd=\"98.170.215.209,66.249.85.141\" dyno=web.1 connect=2ms service=89ms status=200 bytes=5805\r\n2015-11-12T15:09:19.977443+00:00 heroku[router]: at=info method=GET path=\"/\" host=o-lang.herokuapp.com request_id=0d1e20e7-b2ea-4a8d-a51d-4e5dce793b8a fwd=\"98.170.215.209,66.249.85.141\" dyno=web.1 connect=2ms service=16ms status=200 bytes=2071\r\n2015-11-12T15:09:20.135905+00:00 heroku[router]: at=info method=GET path=\"/static/logo.ico\" host=o-lang.herokuapp.com request_id=4d5b9f08-1d4c-460d-b413-04b74e80904a fwd=\"98.170.215.209,66.102.7.142\" dyno=web.1 connect=0ms service=6ms status=200 bytes=100010\r\n2015-11-12T15:09:24.963511+00:00 app[web.1]: ('Got code:', u'1p', 'input:', u'')\r\n2015-11-12T15:09:24.963516+00:00 app[web.1]: Running O code...\r\n2015-11-12T15:09:25.016149+00:00 heroku[router]: at=info method=POST path=\"/\" host=o-lang.herokuapp.com request_id=e74c9c97-de68-4fff-9ffe-b3f7244ad749 fwd=\"98.170.215.209,66.249.85.133\" dyno=web.1 connect=13ms service=56ms status=500 bytes=456\r\n2015-11-12T15:09:25.468237+00:00 heroku[router]: at=info method=GET path=\"/favicon.ico\" host=o-lang.herokuapp.com request_id=e38185b3-db2c-4bd3-a6bc-78199311c8e8 fwd=\"98.170.215.209\" dyno=web.1 connect=1ms service=14ms status=404 bytes=391\r\n2015-11-12T15:09:29.179393+00:00 heroku[router]: at=info method=POST path=\"/\" host=o-lang.herokuapp.com request_id=ddde40e7-d92a-4623-9613-222ba215377d fwd=\"98.170.215.209\" dyno=web.1 connect=1ms service=20ms status=500 bytes=456\r\n2015-11-12T15:09:29.159623+00:00 app[web.1]: ('Got code:', u'1p', 'input:', u'')\r\n2015-11-12T15:09:29.159630+00:00 app[web.1]: Running O code...\r\n2015-11-12T15:12:16.418702+00:00 heroku[router]: at=info method=GET path=\"/\" host=o-lang.herokuapp.com request_id=3b0a006a-9e25-4670-858b-111f70225043 fwd=\"99.17.0.59\" dyno=web.1 connect=1ms service=4ms status=200 bytes=2071\r\n2015-11-12T15:12:16.980625+00:00 heroku[router]: at=info method=GET path=\"/static/explanations.js\" host=o-lang.herokuapp.com request_id=419a7dbd-6eee-450b-83b6-69633852f739 fwd=\"99.17.0.59\" dyno=web.1 connect=1ms service=5ms status=200 bytes=3021\r\n2015-11-12T15:12:17.134182+00:00 heroku[router]: at=info method=GET path=\"/static/o.js\" host=o-lang.herokuapp.com request_id=26833fba-637f-4100-b3fb-717e883dcaf6 fwd=\"99.17.0.59\" dyno=web.1 connect=14ms service=6ms status=200 bytes=5805\r\n2015-11-12T15:12:22.385483+00:00 heroku[router]: at=info method=POST path=\"/\" host=o-lang.herokuapp.com request_id=615bf822-3e1e-4381-a1f3-7ae78ccaf8c1 fwd=\"99.17.0.59\" dyno=web.1 connect=18ms service=9ms status=500 bytes=456\r\n2015-11-12T15:12:22.377683+00:00 app[web.1]: ('Got code:', u'1o1o1o', 'input:', u'')\r\n2015-11-12T15:12:22.377711+00:00 app[web.1]: Running O code...\r\n```\r\nThese are the private ones (tell me if there is any information in here that shouldn't be public :stuck_out_tongue_closed_eyes: )"}}