{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/2791","labels_url":"https://api.github.com/repos/grafana/grafana/issues/2791/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/2791/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/2791/events","html_url":"https://github.com/grafana/grafana/issues/2791","id":107582036,"number":2791,"title":"Render problems on grafana 2.5.0 and empty share link/render on latest build","user":{"login":"szibis","id":329831,"avatar_url":"https://avatars.githubusercontent.com/u/329831?v=3","gravatar_id":"","url":"https://api.github.com/users/szibis","html_url":"https://github.com/szibis","followers_url":"https://api.github.com/users/szibis/followers","following_url":"https://api.github.com/users/szibis/following{/other_user}","gists_url":"https://api.github.com/users/szibis/gists{/gist_id}","starred_url":"https://api.github.com/users/szibis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szibis/subscriptions","organizations_url":"https://api.github.com/users/szibis/orgs","repos_url":"https://api.github.com/users/szibis/repos","events_url":"https://api.github.com/users/szibis/events{/privacy}","received_events_url":"https://api.github.com/users/szibis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T19:29:10Z","updated_at":"2015-09-22T05:33:05Z","closed_at":null,"body":"Hi,\r\n\r\nI have build Version: 2.5.0-pre1, Commit: v2.1.2+356-g1f95927, Build date: 2015-09-16 14:28:41 +0000 UTC\r\n\r\nSystem Ubuntu 14.04 Server\r\n\r\nUnfortunately latest build from today 21.09.2015 have empty share link and render url only goes to after sharing some graphs\r\n\r\nOn working release i have some trouble with rendering. Sometimes renders ok, sometimes with \r\n\r\n![not_found](https://cloud.githubusercontent.com/assets/329831/10001775/c03333de-60a3-11e5-889b-0a719b6d1f5a.png)\r\n\r\nSometimes with:\r\n\r\n![cutted images and no auth no vars](https://cloud.githubusercontent.com/assets/329831/10001782/c66d8830-60a3-11e5-9b0a-afcda351703a.png)\r\n\r\nHow is this possible to render without auth from web browser that work with UI with no problems and renders all image, view, edit ?. Tokens are forwarder in this case as we have image render behind warning and error message.\r\n\r\nThis is not stable right now. Same results from curl some graphs renders ok, some after second time refresh, sometimes not found back after next refresh/curl get. Render times when ok 2-3 seconds, when not ok 10-14 seconds.\r\n\r\nAfter 5 parallel gets on web browser now i have only not fround renders all dead. \r\n\r\nFrom logs with Trace level:\r\n\r\n```bash\r\n2015/09/21 18:57:22 [I] Completed /api/login/ping 401 Unauthorized in 2.013791ms\r\n2015/09/21 18:57:27 [I] Completed /api/datasources/proxy/2/metrics/find/ 401 Unauthorized in 146.696µs\r\n2015/09/21 18:57:27 [I] Completed /api/datasources/proxy/2/metrics/find/ 401 Unauthorized in 149.117µs\r\n2015/09/21 18:57:27 [I] Completed /api/login/ping 401 Unauthorized in 5.276091ms\r\n2015/09/21 18:57:32 [I] Completed /dashboard-solo/db/graphite_internals 404 Not Found in 787.175µs\r\n2015/09/21 18:57:32 [I] Completed /api/dashboards/db/graphite_internals_v2 401 Unauthorized in 2.353063ms\r\n2015/09/21 18:57:32 [I] Completed /api/login/ping 401 Unauthorized in 377.218µs\r\n2015/09/21 18:57:43 [I] Completed /dashboard-solo/db/graphite_internals 404 Not Found in 776.36µs\r\n2015/09/21 18:57:43 [I] Completed /api/dashboards/db/graphite_internals 401 Unauthorized in 2.22214ms\r\n2015/09/21 18:57:43 [I] Completed /api/login/ping 401 Unauthorized in 332.589µs\r\n2015/09/21 19:10:42 [I] Completed /dashboard-solo/db/graphite_internals 404 Not Found in 2.877049ms\r\n2015/09/21 19:10:42 [I] Completed /api/dashboards/db/graphite_internals 401 Unauthorized in 2.278485ms\r\n2015/09/21 19:10:42 [I] Completed /api/login/ping 401 Unauthorized in 450.892µs\r\n2015/09/21 19:11:14 [I] PhantomRenderer::renderToPng url https://grafana.example.com/dashboard-solo/db/graphite_internals?panelId=19&fullscreen&from=1441355263555&to=1441362463557&var-env=production&var-region=xxxxx&var-clustername=xxxx&width=1000&height=500\r\n```\r\n\r\nEach of this requests from working authorized web browser with google oauth setup which work good and dashboard UI work with no problems as share function but render as described before. \r\n\r\nFrom curl same problems as decsribed\r\n\r\nWhen i log in as admin without google:\r\n\r\n```\r\n2015/09/21 19:20:10 [I] PhantomRenderer::renderToPng url https://grafana.example.com/dashboard-solo/db/es-utilization?panelId=1&fullscreen&from=1442859594441&to=1442863194445&width=1000&height=500\r\n2015/09/21 19:20:11 [I] Completed /dashboard-solo/db/es-utilization 404 Not Found in 27.734024ms\r\n2015/09/21 19:20:22 [I] PhantomRenderer::renderToPng url https://grafana.example.com/dashboard-solo/db/es-utilization?panelId=1&fullscreen&from=1442859594441&to=1442863194445&width=1000&height=500\r\n2015/09/21 19:20:33 [I] PhantomRenderer::renderToPng url https://grafana.example.com/dashboard-solo/db/es-utilization?panelId=1&fullscreen&from=1442859594441&to=1442863194445&width=1000&height=500\r\n2015/09/21 19:20:34 [I] Completed /dashboard-solo/db/es-utilization 404 Not Found in 5.872003ms\r\n2015/09/21 19:20:37 [I] PhantomRenderer::renderToPng url https://grafana.example.com/dashboard-solo/db/es-utilization?panelId=1&fullscreen&from=1442859594441&to=1442863194445&width=1000&height=500\r\n2015/09/21 19:20:50 [I] PhantomRenderer::renderToPng url https://grafana.example.com/dashboard-solo/db/es-utilization?panelId=1&fullscreen&from=1442859594441&to=1442863194445&width=1000&height=500\r\n2015/09/21 19:20:51 [I] Completed /dashboard-solo/db/es-utilization 404 Not Found in 4.348046ms\r\n2015/09/21 19:20:51 [I] Completed /api/login/ping 401 Unauthorized in 1.843355ms\r\n```\r\n\r\nFirst request:\r\n\r\n![error_render](https://cloud.githubusercontent.com/assets/329831/10002377/04558938-60a7-11e5-9643-600141871ba4.png)\r\n\r\nSecond request for render same url:\r\n\r\n![good_render](https://cloud.githubusercontent.com/assets/329831/10002383/0d48046c-60a7-11e5-98ee-3364d43179de.png)\r\n\r\nThird request with same url:\r\n\r\n![not_found_render](https://cloud.githubusercontent.com/assets/329831/10002389/14123ede-60a7-11e5-9d67-afcefe85b46f.png)\r\n\r\n\r\nNo graphite problems on backend side. Old grafana 1.9 and graphite-web performing with no problems.\r\n\r\nAny ideas why this work in such way ?"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/142185249","html_url":"https://github.com/grafana/grafana/issues/2791#issuecomment-142185249","issue_url":"https://api.github.com/repos/grafana/grafana/issues/2791","id":142185249,"user":{"login":"torkelo","id":10999,"avatar_url":"https://avatars.githubusercontent.com/u/10999?v=3","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T05:33:05Z","updated_at":"2015-09-22T05:33:05Z","body":"Strange, Have not noticed anthing like this. What do you use for session storage? Looks like the sessions are timing out or getting lost. \r\n\r\nTry cleaning up grafana data/sessions folder (think it should be in /var/lib/grafana/data). This should be done automatically by Grafana but maybe something is wrong in the cleanup process. \r\n\r\nI did discover a bug in the share modal, fixed in latest master build (not directly related to the issues you are seeing)\r\n"}}