{"action":"created","issue":{"url":"https://api.github.com/repos/intuit/karate/issues/461","repository_url":"https://api.github.com/repos/intuit/karate","labels_url":"https://api.github.com/repos/intuit/karate/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/intuit/karate/issues/461/comments","events_url":"https://api.github.com/repos/intuit/karate/issues/461/events","html_url":"https://github.com/intuit/karate/issues/461","id":342527317,"node_id":"MDU6SXNzdWUzNDI1MjczMTc=","number":461,"title":"Configured connectTimeout = 100mins but still timed out after only 22 seconds","user":{"login":"thirdy","id":75921,"node_id":"MDQ6VXNlcjc1OTIx","avatar_url":"https://avatars3.githubusercontent.com/u/75921?v=4","gravatar_id":"","url":"https://api.github.com/users/thirdy","html_url":"https://github.com/thirdy","followers_url":"https://api.github.com/users/thirdy/followers","following_url":"https://api.github.com/users/thirdy/following{/other_user}","gists_url":"https://api.github.com/users/thirdy/gists{/gist_id}","starred_url":"https://api.github.com/users/thirdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thirdy/subscriptions","organizations_url":"https://api.github.com/users/thirdy/orgs","repos_url":"https://api.github.com/users/thirdy/repos","events_url":"https://api.github.com/users/thirdy/events{/privacy}","received_events_url":"https://api.github.com/users/thirdy/received_events","type":"User","site_admin":false},"labels":[{"id":534240663,"node_id":"MDU6TGFiZWw1MzQyNDA2NjM=","url":"https://api.github.com/repos/intuit/karate/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-18T23:34:32Z","updated_at":"2018-07-22T10:56:32Z","closed_at":"2018-07-19T02:50:29Z","author_association":"NONE","body":"I keep getting:\r\n```\r\n07:26:57.414 [main] ERROR com.intuit.karate - org.apache.http.conn.HttpHostConnectException: Connect to xxxxxxxxxxxxxx:8080 [/10.160.7.247] failed: Connection timed out: connect, http call failed after **21820 milliseconds** for URL: http://xxxxxxxxxxxxxxxxxxxx\r\n```\r\n\r\nEven though I have this in my karate-config.js:\r\n```\r\nkarate.configure('connectTimeout', 6000000);\r\nkarate.configure('readTimeout', 6000000);\r\n```\r\n\r\nAlso tried in my feature file:\r\n```\r\nBackground:\r\n* url 'http://xxxxxxxxxxxx.jws'\r\n* configure connectTimeout = 6000000\r\n* configure readTimeout = 6000000\r\n```\r\n\r\nIs this something that the server side controls? I'm guessing this is because of my very remote connection."},"comment":{"url":"https://api.github.com/repos/intuit/karate/issues/comments/406857347","html_url":"https://github.com/intuit/karate/issues/461#issuecomment-406857347","issue_url":"https://api.github.com/repos/intuit/karate/issues/461","id":406857347,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjg1NzM0Nw==","user":{"login":"thirdy","id":75921,"node_id":"MDQ6VXNlcjc1OTIx","avatar_url":"https://avatars3.githubusercontent.com/u/75921?v=4","gravatar_id":"","url":"https://api.github.com/users/thirdy","html_url":"https://github.com/thirdy","followers_url":"https://api.github.com/users/thirdy/followers","following_url":"https://api.github.com/users/thirdy/following{/other_user}","gists_url":"https://api.github.com/users/thirdy/gists{/gist_id}","starred_url":"https://api.github.com/users/thirdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thirdy/subscriptions","organizations_url":"https://api.github.com/users/thirdy/orgs","repos_url":"https://api.github.com/users/thirdy/repos","events_url":"https://api.github.com/users/thirdy/events{/privacy}","received_events_url":"https://api.github.com/users/thirdy/received_events","type":"User","site_admin":false},"created_at":"2018-07-22T10:56:32Z","updated_at":"2018-07-22T10:56:32Z","author_association":"NONE","body":"Thanks for the response.\r\nI think I've read somewhere that some load balancer can timeout http connections.. Not sure if I understood that correctly.\r\n\r\nRight now I'm manually uploading my karate test to the dev server via sftp.. By running it there, I don't get anymore timeouts. So at least the goal of having a reliable automated api testing is achievable.\r\n\r\nDevelopment of feature tests isn't so good though. Hopefully I can devise someway to automatically run tests in the dev server whenever a file is changed.. Or maybe just edit the feature files via `vi`.\r\n\r\nAnyway, will just open up a new issue if I see something bugged - and will provide a tests to replicate it. Cheers!"}}
{"actor":{"display_login":"thirdy"}}