ConnectTimeoutError error in robot framework for api testing - robotframework

-
-
Removes all the session objects
Delete All Sessions
-
-
-
WaldoJive
${BASE_URL}
verify=${False}
cookies=${last_cookie}
Create Session: create a HTTP session to a server
Creating Session using : alias=WaldoJive, url=https://one.sterbc.com, headers={}, cookies=, auth=None, timeout=None, proxies=None, verify=False, debug=0
-
-
${last_cookie}
-
${rbcurl}
${browser}
options=add_argument("--incognito")
options=add_experimental_option("excludeSwitches", ["enable-logging"])
Opens a new browser instance to the optional url.
Opening browser 'chrome' to base url 'https://one.sterbc.com/'.
-
Maximizes current browser window.
-
8
Pauses the test executed for the given time.
Slept 8 seconds
-
xpath://*[#id="i0116"]
user id
Types the given text into the text field identified by locator.
Typing text 'user id' into text field 'xpath://*[#id="i0116"]'.
-
5
Pauses the test executed for the given time.
Slept 5 seconds
-
xpath://*[#id="idSIButton9"]
Click the element identified by locator.
Clicking element 'xpath://*[#id="idSIButton9"]'.
-
8
Pauses the test executed for the given time.
Slept 8 seconds
-
xpath://*[#id="i0118"]
user pwd
Types the given text into the text field identified by locator.
Typing text 'user pwd' into text field 'xpath://*[#id="i0118"]'.
-
8
Pauses the test executed for the given time.
Slept 8 seconds
-
xpath://*[#id="idSIButton9"]
Click the element identified by locator.
Clicking element 'xpath://*[#id="idSIButton9"]'.
-
8
Pauses the test executed for the given time.
Slept 8 seconds
-
${cookies}
Returns all cookies of the current page.
${cookies} = _csrf=1DB0WOaJwCcsiUeaitcmbawO; jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwia...
-
${cookies}
Logs the given message with the given level.
_csrf=1DB0WOaJwCcsiUeaitcmbawO; jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjYxMzI3Njk3LCJqdGkiOiJjN3o3Ukg5djE5VmVxcEhSWGhyVzNBIiwibmJmIjoxNjYxMzI3NTc3LCJzdWIiOiJqaXZlLWF1dGhlbnRpY2F0aW9uIiwidGVuYW50SWQiOiIyY2Y1MWIwNy05NDNmLTQzOWEtODA3MC0yMDExNGE4NDAzMjYiLCJ1c2VySWQiOjE3NDQzNCwidHlwIjoiSldUIiwiYXV0aF90aW1lIjoxNjYxMzI3Njk3LCJleHAiOjE2NjE1MDA0OTcsImlhdFRUTCI6MTY2MTUwMDQ5N30.KjXA3stJAWVb-ge-6YGyCZzuNWIv0IBqODJyVmgVUDlwdgcTuoJOq1pbM5I9I3ZEQH1SRVKZaXhXgOCLFIo6QfgEJwY-X7xM_9Yq-X5VVycFj71Li7l8m3L2wtdKaK-Acwu0x1CrczoiQUEWMaLfrb1i1b5TR_7drYwybLA_AoXOf8py3pTKo7UPughulD7t7mt4Kgor1igW7rTkaELSaDiL1any-1P_Q5uWceqeD8vbjPnvjezdvSYhovSL5TqvtXMue8Hxg5xKc0S1-VRh0FSwNRSJM35pmpCsjP4W7ug-D0ghMQTI-XbJFacqe82JQE3MLGc0jWrEXjLunRAMZA; jive.login.type=saml; X-JCAPI-Token=pdCyXU7V; jive.server.info=serverName=one.sterbc.com:serverPort=443:contextPath=:localName=webapp-deploy-fb68d47dc-gr5zq:localPort=9443:localAddr=172.16.85.63; containerSecurityToken="default:0G3cZyd6asBZU_XapaTiWIqEd5HfEO0SHfsPYCXOEiRrfyQJAqBUX_zxMMT7yRLHGhLIa1YPdHgXGjzmChPNs3QQDjS7qgJJ6G7xCfOpl2qrALOq#3600#false#1661331300337"; _gid=GA1.2.1195859472.1661327665; remember-me=UHJlZXRpLlNhaGFuaUBpc3RyYmMuY29tOjE2NjM5NTU2OTc0NjA6NWM0NjM5NTkxZTg2ODE0ZTg5NDYxYjBjMzY2YThiZTQ; _gat=1; jive.user.loggedIn=true; jive.loginEventFired=true; jive.security.refresh_token=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoicmVmcmVzaF90b2tlbiIsImlhdCI6MTY2MTMyNzY5NywianRpIjoiT19LTHdvUTRQSUVicUpXV2pTSERmQSIsIm5iZiI6MTY2MTMyNzU3Nywic3ViIjoiaml2ZS1hdXRoZW50aWNhdGlvbiIsInRlbmFudElkIjoiMmNmNTFiMDctOTQzZi00MzlhLTgwNzAtMjAxMTRhODQwMzI2IiwidXNlcklkIjoxNzQ0MzQsInR5cCI6IkpXVCIsImF1dGhfdGltZSI6MTY2MTMyNzY5NywiZXhwIjoyMTM1MDU4ODk3LCJpYXRUVEwiOjIxMzUwNTg4OTd9.IN11XDEIQJyy6mggGfiMIKlKri7zywLik-Sj1OjprHmzUd9TSutneqCr1s8GGOJ0sO87eBJnlUX2oWS68bMgPTqIZbRo9_euw9tTqN1doGtGQeClcNIUVyMm_vYM1SXvsTgnUKY99sjJM2l8WNzuPA9mvfgqp90sKfAqzciKbip1NAEr6PcibUIxMdk9vL2IfqMcAV06l_6H0SjVq-tbAW6FQnQHiIsh0B-bjo79hHuNBHEVXsFe_RnrxVlziobPR1s9B1ZKH4OXbygsdK3KGyG9H7mUW_IKrgJ6y_2J_2JXGwPiZFWK7YgvCvIec36mKNaOzQHfgbuA48FXVJkRxQ; _ga=GA1.2.647724367.1661327665; jive.login.ts=1661327662886; JSESSIONID=57530E4C47A8E18B89C636E9D62762CA; INGRESSCOOKIE=1661327663.862.119.655076
-
${str}
${cookies}
Splits the string using separator as a delimiter string.
${str} = ['_csrf=1DB0WOaJwCcsiUeaitcmbawO;', 'jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2Vu...
-
${str}
Logs the given message with the given level.
['_csrf=1DB0WOaJwCcsiUeaitcmbawO;', 'jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjYxMzI3Njk3LCJqdGkiOiJjN3o3Ukg5djE5VmVxcEhSWGhyVzNBIiwibmJmIjoxNjYxMzI3NTc3LCJzdWIiOiJqaXZlLWF1dGhlbnRpY2F0aW9uIiwidGVuYW50SWQiOiIyY2Y1MWIwNy05NDNmLTQzOWEtODA3MC0yMDExNGE4NDAzMjYiLCJ1c2VySWQiOjE3NDQzNCwidHlwIjoiSldUIiwiYXV0aF90aW1lIjoxNjYxMzI3Njk3LCJleHAiOjE2NjE1MDA0OTcsImlhdFRUTCI6MTY2MTUwMDQ5N30.KjXA3stJAWVb-ge-6YGyCZzuNWIv0IBqODJyVmgVUDlwdgcTuoJOq1pbM5I9I3ZEQH1SRVKZaXhXgOCLFIo6QfgEJwY-X7xM_9Yq-X5VVycFj71Li7l8m3L2wtdKaK-Acwu0x1CrczoiQUEWMaLfrb1i1b5TR_7drYwybLA_AoXOf8py3pTKo7UPughulD7t7mt4Kgor1igW7rTkaELSaDiL1any-1P_Q5uWceqeD8vbjPnvjezdvSYhovSL5TqvtXMue8Hxg5xKc0S1-VRh0FSwNRSJM35pmpCsjP4W7ug-D0ghMQTI-XbJFacqe82JQE3MLGc0jWrEXjLunRAMZA;', 'jive.login.type=saml;', 'X-JCAPI-Token=pdCyXU7V;', 'jive.server.info=serverName=one.sterbc.com:serverPort=443:contextPath=:localName=webapp-deploy-fb68d47dc-gr5zq:localPort=9443:localAddr=172.16.85.63;', 'containerSecurityToken="default:0G3cZyd6asBZU_XapaTiWIqEd5HfEO0SHfsPYCXOEiRrfyQJAqBUX_zxMMT7yRLHGhLIa1YPdHgXGjzmChPNs3QQDjS7qgJJ6G7xCfOpl2qrALOq#3600#false#1661331300337";', '_gid=GA1.2.1195859472.1661327665;', 'remember-me=UHJlZXRpLlNhaGFuaUBpc3RyYmMuY29tOjE2NjM5NTU2OTc0NjA6NWM0NjM5NTkxZTg2ODE0ZTg5NDYxYjBjMzY2YThiZTQ;', '_gat=1;', 'jive.user.loggedIn=true;', 'jive.loginEventFired=true;', 'jive.security.refresh_token=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoicmVmcmVzaF90b2tlbiIsImlhdCI6MTY2MTMyNzY5NywianRpIjoiT19LTHdvUTRQSUVicUpXV2pTSERmQSIsIm5iZiI6MTY2MTMyNzU3Nywic3ViIjoiaml2ZS1hdXRoZW50aWNhdGlvbiIsInRlbmFudElkIjoiMmNmNTFiMDctOTQzZi00MzlhLTgwNzAtMjAxMTRhODQwMzI2IiwidXNlcklkIjoxNzQ0MzQsInR5cCI6IkpXVCIsImF1dGhfdGltZSI6MTY2MTMyNzY5NywiZXhwIjoyMTM1MDU4ODk3LCJpYXRUVEwiOjIxMzUwNTg4OTd9.IN11XDEIQJyy6mggGfiMIKlKri7zywLik-Sj1OjprHmzUd9TSutneqCr1s8GGOJ0sO87eBJnlUX2oWS68bMgPTqIZbRo9_euw9tTqN1doGtGQeClcNIUVyMm_vYM1SXvsTgnUKY99sjJM2l8WNzuPA9mvfgqp90sKfAqzciKbip1NAEr6PcibUIxMdk9vL2IfqMcAV06l_6H0SjVq-tbAW6FQnQHiIsh0B-bjo79hHuNBHEVXsFe_RnrxVlziobPR1s9B1ZKH4OXbygsdK3KGyG9H7mUW_IKrgJ6y_2J_2JXGwPiZFWK7YgvCvIec36mKNaOzQHfgbuA48FXVJkRxQ;', '_ga=GA1.2.647724367.1661327665;', 'jive.login.ts=1661327662886;', 'JSESSIONID=57530E4C47A8E18B89C636E9D62762CA;', 'INGRESSCOOKIE=1661327663.862.119.655076']
-
${str}[0]
Logs the given message with the given level.
_csrf=1DB0WOaJwCcsiUeaitcmbawO;
-
${str}[1]
Logs the given message with the given level.
jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjYxMzI3Njk3LCJqdGkiOiJjN3o3Ukg5djE5VmVxcEhSWGhyVzNBIiwibmJmIjoxNjYxMzI3NTc3LCJzdWIiOiJqaXZlLWF1dGhlbnRpY2F0aW9uIiwidGVuYW50SWQiOiIyY2Y1MWIwNy05NDNmLTQzOWEtODA3MC0yMDExNGE4NDAzMjYiLCJ1c2VySWQiOjE3NDQzNCwidHlwIjoiSldUIiwiYXV0aF90aW1lIjoxNjYxMzI3Njk3LCJleHAiOjE2NjE1MDA0OTcsImlhdFRUTCI6MTY2MTUwMDQ5N30.KjXA3stJAWVb-ge-6YGyCZzuNWIv0IBqODJyVmgVUDlwdgcTuoJOq1pbM5I9I3ZEQH1SRVKZaXhXgOCLFIo6QfgEJwY-X7xM_9Yq-X5VVycFj71Li7l8m3L2wtdKaK-Acwu0x1CrczoiQUEWMaLfrb1i1b5TR_7drYwybLA_AoXOf8py3pTKo7UPughulD7t7mt4Kgor1igW7rTkaELSaDiL1any-1P_Q5uWceqeD8vbjPnvjezdvSYhovSL5TqvtXMue8Hxg5xKc0S1-VRh0FSwNRSJM35pmpCsjP4W7ug-D0ghMQTI-XbJFacqe82JQE3MLGc0jWrEXjLunRAMZA;
-
${str}[2]
Logs the given message with the given level.
jive.login.type=saml;
-
${str}[3]
Logs the given message with the given level.
X-JCAPI-Token=pdCyXU7V;
-
${str}[4]
Logs the given message with the given level.
jive.server.info=serverName=one.sterbc.com:serverPort=443:contextPath=:localName=webapp-deploy-fb68d47dc-gr5zq:localPort=9443:localAddr=172.16.85.63;
-
${final_cookie}
${str}[1]
Returns the given values which can then be assigned to a variables.
${final_cookie} = jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjYxMzI3Njk3LCJqdGkiOiJjN...
-
${str}
${final_cookie}
;
Splits the string using separator as a delimiter string.
${str} = ['jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjYxMzI3Njk3LCJqdGkiOiJ...
-
${str}[0]
Logs the given message with the given level.
jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjYxMzI3Njk3LCJqdGkiOiJjN3o3Ukg5djE5VmVxcEhSWGhyVzNBIiwibmJmIjoxNjYxMzI3NTc3LCJzdWIiOiJqaXZlLWF1dGhlbnRpY2F0aW9uIiwidGVuYW50SWQiOiIyY2Y1MWIwNy05NDNmLTQzOWEtODA3MC0yMDExNGE4NDAzMjYiLCJ1c2VySWQiOjE3NDQzNCwidHlwIjoiSldUIiwiYXV0aF90aW1lIjoxNjYxMzI3Njk3LCJleHAiOjE2NjE1MDA0OTcsImlhdFRUTCI6MTY2MTUwMDQ5N30.KjXA3stJAWVb-ge-6YGyCZzuNWIv0IBqODJyVmgVUDlwdgcTuoJOq1pbM5I9I3ZEQH1SRVKZaXhXgOCLFIo6QfgEJwY-X7xM_9Yq-X5VVycFj71Li7l8m3L2wtdKaK-Acwu0x1CrczoiQUEWMaLfrb1i1b5TR_7drYwybLA_AoXOf8py3pTKo7UPughulD7t7mt4Kgor1igW7rTkaELSaDiL1any-1P_Q5uWceqeD8vbjPnvjezdvSYhovSL5TqvtXMue8Hxg5xKc0S1-VRh0FSwNRSJM35pmpCsjP4W7ug-D0ghMQTI-XbJFacqe82JQE3MLGc0jWrEXjLunRAMZA
-
${str}[1]
Logs the given message with the given level.
-
${last_cookie}
${str}[0]
Returns the given values which can then be assigned to a variables.
${last_cookie} = jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjYxMzI3Njk3LCJqdGkiOiJjN...
-
${last_cookie}
Logs the given message with the given level.
jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjYxMzI3Njk3LCJqdGkiOiJjN3o3Ukg5djE5VmVxcEhSWGhyVzNBIiwibmJmIjoxNjYxMzI3NTc3LCJzdWIiOiJqaXZlLWF1dGhlbnRpY2F0aW9uIiwidGVuYW50SWQiOiIyY2Y1MWIwNy05NDNmLTQzOWEtODA3MC0yMDExNGE4NDAzMjYiLCJ1c2VySWQiOjE3NDQzNCwidHlwIjoiSldUIiwiYXV0aF90aW1lIjoxNjYxMzI3Njk3LCJleHAiOjE2NjE1MDA0OTcsImlhdFRUTCI6MTY2MTUwMDQ5N30.KjXA3stJAWVb-ge-6YGyCZzuNWIv0IBqODJyVmgVUDlwdgcTuoJOq1pbM5I9I3ZEQH1SRVKZaXhXgOCLFIo6QfgEJwY-X7xM_9Yq-X5VVycFj71Li7l8m3L2wtdKaK-Acwu0x1CrczoiQUEWMaLfrb1i1b5TR_7drYwybLA_AoXOf8py3pTKo7UPughulD7t7mt4Kgor1igW7rTkaELSaDiL1any-1P_Q5uWceqeD8vbjPnvjezdvSYhovSL5TqvtXMue8Hxg5xKc0S1-VRh0FSwNRSJM35pmpCsjP4W7ug-D0ghMQTI-XbJFacqe82JQE3MLGc0jWrEXjLunRAMZA
-
Closes the current browser.
-
${params}
fields=jive
Creates and returns a dictionary based on the given items.
${params} = {'fields': 'jive'}
-
${headers}
Cookie=${last_cookie}
Creates and returns a dictionary based on the given items.
${headers} = {'Cookie': 'jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjYxMzI3Njk3L...
-
${response}
WaldoJive
/api/core/v3/people/#me?
params=${params}
headers=${headers}
Send a GET request on the session object found using the given alias
GET Request using : uri=/api/core/v3/people/#me?, params={'fields': 'jive'}, allow_redirects=True, timeout=None headers={'User-Agent': 'python-requests/2.23.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '/', 'Connection': 'keep-alive', 'Cookie': 'jive.security.context=eyJraWQiOiI4M2ZjZjc5OC1mNzFhLTQ1NWMtOGU3Ni01MDIxODQ1YWVlYzciLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJKaXZlIiwiYXVkIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjYxMzI3Njk3LCJqdGkiOiJjN3o3Ukg5djE5VmVxcEhSWGhyVzNBIiwibmJmIjoxNjYxMzI3NTc3LCJzdWIiOiJqaXZlLWF1dGhlbnRpY2F0aW9uIiwidGVuYW50SWQiOiIyY2Y1MWIwNy05NDNmLTQzOWEtODA3MC0yMDExNGE4NDAzMjYiLCJ1c2VySWQiOjE3NDQzNCwidHlwIjoiSldUIiwiYXV0aF90aW1lIjoxNjYxMzI3Njk3LCJleHAiOjE2NjE1MDA0OTcsImlhdFRUTCI6MTY2MTUwMDQ5N30.KjXA3stJAWVb-ge-6YGyCZzuNWIv0IBqODJyVmgVUDlwdgcTuoJOq1pbM5I9I3ZEQH1SRVKZaXhXgOCLFIo6QfgEJwY-X7xM_9Yq-X5VVycFj71Li7l8m3L2wtdKaK-Acwu0x1CrczoiQUEWMaLfrb1i1b5TR_7drYwybLA_AoXOf8py3pTKo7UPughulD7t7mt4Kgor1igW7rTkaELSaDiL1any-1P_Q5uWceqeD8vbjPnvjezdvSYhovSL5TqvtXMue8Hxg5xKc0S1-VRh0FSwNRSJM35pmpCsjP4W7ug-D0ghMQTI-XbJFacqe82JQE3MLGc0jWrEXjLunRAMZA'} data=None json=None
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000021E36EB5120>, 'Connection to one.sterbc.com timed out. (connect timeout=None)')': /api/core/v3/people/#me?fields=jive
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000021E36EB7B50>, 'Connection to one.sterbc.com timed out. (connect timeout=None)')': /api/core/v3/people/#me?fields=jive
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000021E36EB7460>, 'Connection to one.sterbc.com timed out. (connect timeout=None)')': /api/core/v3/people/#me?fields=jive
ConnectTimeout: HTTPSConnectionPool(host='one.sterbc.com', port=443): Max retries exceeded with url: /api/core/v3/people/#me?fields=jive (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000021E35DB4610>, 'Connection to one.sterbc.com timed out. (connect timeout=None)'))
Hello Everyone ,Here i am finding the failure reason . Is this proxy error or code error?
Scenario :
login a portal and the cookies value for jive.security.context using selenium library
use the above cookie to get request using requests library

Related

Airflow task succeed but returns sigterm

I have a task in Airflow 2.1.2 which is finishing with success status, but after that log shows a sigterm:
[2021-12-07 06:11:45,031] {python.py:151} INFO - Done. Returned value was: None
[2021-12-07 06:11:45,224] {taskinstance.py:1204} INFO - Marking task as SUCCESS. dag_id=DAG_ID, task_id=TASK_ID, execution_date=20211207T050000, start_date=20211207T061119, end_date=20211207T061145
[2021-12-07 06:11:45,308] {local_task_job.py:197} WARNING - State of this instance has been externally set to success. Terminating instance.
[2021-12-07 06:11:45,309] {taskinstance.py:1265} INFO - 0 downstream tasks scheduled from follow-on schedule check
[2021-12-07 06:11:45,310] {process_utils.py:100} INFO - Sending Signals.SIGTERM to GPID 6666
[2021-12-07 06:11:45,310] {taskinstance.py:1284} ERROR - Received SIGTERM. Terminating subprocesses.
[2021-12-07 06:11:45,362] {process_utils.py:66} INFO - Process psutil.Process(pid=6666, status='terminated', exitcode=1, started='06:11:19') (6666) terminated with exit code 1
As you can see the first row returns Done, and the previous rows of this log showed that all script worked fine and data has been inserted in the Datawarehouse.
In the line number 8 it shows SIGTERM due some external trigger mark it as success but I am sure that nobody used the API, or CLI to mark it as success neither the UI.
Any idea how to avoid it and why could this be happening?
I don't know if maybe increasing the AIRFLOW_CORE_KILLED_TASK_CLEANUP_TIME could fix it, but I would like to understand it.

HTTPSConnectionPool with extra /

The code I use in Eclipse , file.robot is
${resp}= Get Request localhost http://localhost:8080/UI/core/other/htmlreport/ params=apikey=${API_KEY}
at that point there is no extra / character
but the response is with an extra /
ConnectionError: HTTPSConnectionPool(host='localhost', port=443): Max retries exceeded with url: /http://localhost:8080/UI/core/other/htmlreport/?apikey=d9i7qom4p7m12rd2eqf2612s95 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000021C6BD54D90>: Failed to establish a new connection: [WinError 10061] Kan geen verbinding maken omdat de doelcomputer de verbinding actief heeft geweigerd'))
zoom in:
/http://
Where does that extra character / come from?
it is something with the session,
but this causes an error in the next step as well:
KEYWORD RequestsLibrary . Create Session localhost, http://localhost:8080/UI/core/other/htmlreport/, params=apikey=${API_KEY}
Documentation:
Create Session: create a HTTP session to a server
Start / End / Elapsed:
20201104 14:55:45.917 / 20201104 14:55:45.930 / 00:00:00.013
14:55:45.918 INFO Creating Session using : alias=localhost, url=http://localhost:8080/UI/core/other/htmlreport/, headers=params=apikey=d9i7qom4p7m12rd2eqf2612s95, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
14:55:45.929 FAIL ValueError: not enough values to unpack (expected 2, got 1)
The docs aren't completely clear, but it's exepected that your create a session first and then use that session to call Get Request
Create Session localhost http://localhost:8080
${resp}= Get request localhost /UI/core/other/htmlreport/
You can see in the code that it expects the session to have a schema and host, while the uri parameter is the path - https://github.com/MarketSquare/robotframework-requests/blob/c1e63fdc2738b1f95cbfd9968911261b7c8829ae/src/RequestsLibrary/RequestsKeywords.py#L990

Initiating flow session failed

when we try to submit a transaction, it always failed, and from the Corda log, below is the last error message we got, anyone can help what does this error mean? How should I further do the trouble shooting. Thanks.
[INFO ] 2018-08-24T07:49:19,739Z [Node thread-1] flow.[c833dc79-501e-4484-9c43-a6924b472542].initiateSession - Initiating flow session with party O=CompanyC, L=Paris, C=FR. Session id for tracing purposes is SessionId(toLong=4256917187941908080). {}
[WARN ] 2018-08-24T07:50:01,777Z [Messaging DLGQRf63MNQ2zpywoVzUZ3eBVB4Yp5oaA5aYSogUwzuCCA] messaging.P2PMessagingClient.sendWithRetry - Reached the maximum number of retries (3) for message ClientMessageImpl[messageID=0, durable=true, address=internal.peers.DL2zA4g5QWv3dzx985Q9PMcvrNX4DUGv2pc7DcVjNgA8Hj,userID=null,properties=TypedProperties[platform-version=3,corda-vendor=Corda Open Source,release-version=3.2-corda,platform-topic=platform.session,_AMQ_DUPL_ID=8473dd65-96e3-4a45-8076-92016a03c56c]] redelivery to internal.peers.DL2zA4g5QWv3dzx985Q9PMcvrNX4DUGv2pc7DcVjNgA8Hj {}
[WARN ] 2018-08-24T07:50:01,808Z [Messaging DLGQRf63MNQ2zpywoVzUZ3eBVB4Yp5oaA5aYSogUwzuCCA] messaging.P2PMessagingClient.sendWithRetry - Reached the maximum number of retries (3) for message ClientMessageImpl[messageID=0, durable=true, address=internal.peers.DL2zA4g5QWv3dzx985Q9PMcvrNX4DUGv2pc7DcVjNgA8Hj,userID=null,properties=TypedProperties[platform-version=3,corda-vendor=Corda Open Source,release-version=3.2-corda,platform-topic=platform.session,_AMQ_DUPL_ID=66467ea0-56b9-4655-8311-f0806bf7fa97]] redelivery to internal.peers.DL2zA4g5QWv3dzx985Q9PMcvrNX4DUGv2pc7DcVjNgA8Hj {}
This error would occur if one node cannot reach another node, e.g. due to the node being down or incorrect firewall settings. Use a tool to see whether you can ping the receiving node's messaging port from the sending node's machine.

Why does Openstack swift swift-recon -rla command gives HTTP Error 400: Bad Request

I am told by this documentation below that running swift-recon -rla on the swift_proxy_server can help determine if I have a healthy swift system
[https://docs.openstack.org/swift/latest/ops_runbook/maintenance.html][1]
But when I run swift-recon -rla I get the output below
(swift-proxy-server)[root#openstackstorage1 /]# swift-recon -rla
===============================================================================
--> Starting reconnaissance on 1 hosts (object)
===============================================================================
[2018-01-30 21:00:26] Checking async pendings
-> http://170.28.9.7:6000/recon/async: HTTP Error 400: Bad Request
[async_pending] - No hosts returned valid data.
===============================================================================
[2018-01-30 21:00:26] Checking on replication
-> http://170.28.9.7:6000/recon/replication/object: HTTP Error 400: Bad Request
[failure] - No hosts returned valid data.
[success] - No hosts returned valid data.
[replication_time] - No hosts returned valid data.
[attempted] - No hosts returned valid data.
===============================================================================
[2018-01-30 21:00:26] Checking load averages
-> http://170.28.9.7:6000/recon/load: HTTP Error 400: Bad Request
[5m_load_avg] - No hosts returned valid data.
[15m_load_avg] - No hosts returned valid data.
[1m_load_avg] - No hosts returned valid data.
===============================================================================
Anybody know what this means and what action I need to take to trouble shoot this or fix it??

Unable to send a message using BTAHL72XSendPipeline

I have a recieve port, and location accepting an HL7 2.x message over MLLP. I have created a party, and configured the acknowledgement settings using the BTAHL7 configuration explorer. The message parses fine, ACKS are returned to the originating system and I am able to send the deserialized xml to a file using a passthrough pipeline, and send the resulting ACKs to a file also using a passthrough pipeline, so I can confirm successful reception parsing and validation of the inbound xml.
As a simple test, I create a send port using the BTAHL72XSendPipeline to dump the HL7 2.x message to a file. To do this, I put a filter on the send port
BTS.MessageType ==
http://microsoft.com/HealthCare/HL7/2X#ADT_A04_21_GLO_DEF
And I recieve the following parsing errors, which I don't understand because the message parsed fine when I received it:
There was a failure executing the send pipeline:
"BTAHL72XPipelines.BTAHL72XSendPipeline, BTAHL72XPipelines, Version=1.3.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Source: "BTAHL7 2.X Assembler"
Send Port: "Send.HL7" URI: "C:\Demo\HL7\In\HL7\%MessageID%.txt"
Reason: Serialization errors:
Error # 1
Segment Id: NK1_NextOfKin
Sequence Number: 1
Field Number: 5
Error Number: 207
Error Description: Application internal error
Encoding System: HL7nnnn
Alternate Error Number: Z100
Alternate Error Description: Trailing delimiter found
Alternate Encoding System: HL7-BTA
Error # 2
Segment Id: PV1_PatientVisit
Sequence Number: 1
Field Number: 45
Error Number: 207
Error Description: Application internal error
Encoding System: HL7nnnn
Alternate Error Number: Z100
Alternate Error Description: Trailing delimiter found
Alternate Encoding System: HL7-BTA
Right click on your send pipeline and choose properties then click on the ".." button next to the Send pipeline and select "true" for the "TrailingDelmitierAllowed" option. Also make sure these are checked on the receive pipeline.

Resources