{"action":"created","issue":{"url":"https://api.github.com/repos/NCAR/chords/issues/431","repository_url":"https://api.github.com/repos/NCAR/chords","labels_url":"https://api.github.com/repos/NCAR/chords/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/NCAR/chords/issues/431/comments","events_url":"https://api.github.com/repos/NCAR/chords/issues/431/events","html_url":"https://github.com/NCAR/chords/issues/431","id":312167246,"number":431,"title":"Error uploading data via curl","user":{"login":"ecabralcano","id":26695547,"avatar_url":"https://avatars1.githubusercontent.com/u/26695547?v=4","gravatar_id":"","url":"https://api.github.com/users/ecabralcano","html_url":"https://github.com/ecabralcano","followers_url":"https://api.github.com/users/ecabralcano/followers","following_url":"https://api.github.com/users/ecabralcano/following{/other_user}","gists_url":"https://api.github.com/users/ecabralcano/gists{/gist_id}","starred_url":"https://api.github.com/users/ecabralcano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecabralcano/subscriptions","organizations_url":"https://api.github.com/users/ecabralcano/orgs","repos_url":"https://api.github.com/users/ecabralcano/repos","events_url":"https://api.github.com/users/ecabralcano/events{/privacy}","received_events_url":"https://api.github.com/users/ecabralcano/received_events","type":"User","site_admin":false},"labels":[{"id":196161428,"url":"https://api.github.com/repos/NCAR/chords/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"zastruga","id":3188761,"avatar_url":"https://avatars2.githubusercontent.com/u/3188761?v=4","gravatar_id":"","url":"https://api.github.com/users/zastruga","html_url":"https://github.com/zastruga","followers_url":"https://api.github.com/users/zastruga/followers","following_url":"https://api.github.com/users/zastruga/following{/other_user}","gists_url":"https://api.github.com/users/zastruga/gists{/gist_id}","starred_url":"https://api.github.com/users/zastruga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zastruga/subscriptions","organizations_url":"https://api.github.com/users/zastruga/orgs","repos_url":"https://api.github.com/users/zastruga/repos","events_url":"https://api.github.com/users/zastruga/events{/privacy}","received_events_url":"https://api.github.com/users/zastruga/received_events","type":"User","site_admin":false},"assignees":[{"login":"zastruga","id":3188761,"avatar_url":"https://avatars2.githubusercontent.com/u/3188761?v=4","gravatar_id":"","url":"https://api.github.com/users/zastruga","html_url":"https://github.com/zastruga","followers_url":"https://api.github.com/users/zastruga/followers","following_url":"https://api.github.com/users/zastruga/following{/other_user}","gists_url":"https://api.github.com/users/zastruga/gists{/gist_id}","starred_url":"https://api.github.com/users/zastruga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zastruga/subscriptions","organizations_url":"https://api.github.com/users/zastruga/orgs","repos_url":"https://api.github.com/users/zastruga/repos","events_url":"https://api.github.com/users/zastruga/events{/privacy}","received_events_url":"https://api.github.com/users/zastruga/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-07T03:44:50Z","updated_at":"2018-04-25T20:10:03Z","closed_at":null,"author_association":"NONE","body":"hi\r\n\r\n I'm trying to figure out why uploading data to a CHORDS portal fails via curl (and also via wget), however the very same http command sent via a web browser is successful.. \r\nThe \"Require the security key setting\" is off\r\n\r\nany hints?\r\n \r\nThanks in advance for any help\r\n\r\nThis is what I get  using a curl command (verbosing on for clarity)\r\n\r\nCharritoAir-i7:Desktop enrique$ curl -vvv http://132.248.6.250/measurements/url_create?instrument_id=5&temp=43.9&battvolt=8.32&involt=19.41&at=2018-04-07T02:30:43\r\n[1] 754\r\n[2] 755\r\n[3] 756\r\n[4] 757\r\n[2]   Done                    temp=43.9\r\n[3]-  Done                    battvolt=8.32\r\n[4]+  Done                    involt=19.41\r\nCharritoAir-i7:Desktop enrique$ *   Trying 132.248.6.250...\r\n* TCP_NODELAY set\r\n* Connected to 132.248.6.250 (132.248.6.250) port 80 (#0)\r\n> GET /measurements/url_create?instrument_id=5 HTTP/1.1\r\n> Host: 132.248.6.250\r\n> User-Agent: curl/7.57.0\r\n> Accept: */*\r\n> \r\n< HTTP/1.1 200 OK\r\n< Server: nginx/1.6.2\r\n< Date: Sat, 07 Apr 2018 02:42:51 GMT\r\n< Content-Type: application/json; charset=utf-8\r\n< Transfer-Encoding: chunked\r\n< Connection: keep-alive\r\n< X-Frame-Options: SAMEORIGIN\r\n< X-XSS-Protection: 1; mode=block\r\n< X-Content-Type-Options: nosniff\r\n< Access-Control-Allow-Origin: *\r\n< ETag: W/\"c2759effffc94bb9acc71d69fe3e8a1f\"\r\n< Cache-Control: max-age=0, private, must-revalidate\r\n< X-Request-Id: 919d45be-ac45-44a5-ad28-d0684c508a92\r\n< X-Runtime: 0.025342\r\n< \r\n* Connection #0 to host 132.248.6.250 left intact\r\nFAIL\r\n[1]+  Done                    curl -vvv http://132.248.6.250/measurements/url_create?instrument_id=5\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NCAR/chords/issues/comments/384418007","html_url":"https://github.com/NCAR/chords/issues/431#issuecomment-384418007","issue_url":"https://api.github.com/repos/NCAR/chords/issues/431","id":384418007,"user":{"login":"zastruga","id":3188761,"avatar_url":"https://avatars2.githubusercontent.com/u/3188761?v=4","gravatar_id":"","url":"https://api.github.com/users/zastruga","html_url":"https://github.com/zastruga","followers_url":"https://api.github.com/users/zastruga/followers","following_url":"https://api.github.com/users/zastruga/following{/other_user}","gists_url":"https://api.github.com/users/zastruga/gists{/gist_id}","starred_url":"https://api.github.com/users/zastruga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zastruga/subscriptions","organizations_url":"https://api.github.com/users/zastruga/orgs","repos_url":"https://api.github.com/users/zastruga/repos","events_url":"https://api.github.com/users/zastruga/events{/privacy}","received_events_url":"https://api.github.com/users/zastruga/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T20:10:03Z","updated_at":"2018-04-25T20:10:03Z","author_association":"COLLABORATOR","body":"@ecabralcano Can you please verify that you are still having a problem with measurement creation?  A couple things to check would be that an instrument with `id=5` does exist as well as the associated variables that you are assigning in the URL.  Likewise, doublecheck that the measurement key option is in fact disabled in the site configuration."}}
{"actor":{"display_login":"zastruga"}}