所有我的python脚本在调用时都会运行并返回结果 . 但是,在这种情况下,我通过单击第一个中的链接并将参数传递给第二个来从第一个调用第二个脚本 . 在过去的不同服务器上,它运行得很完美 . 中断后项目正在复活 . 但是现在第二个脚本抛出一个502.2但是没有显示任何实际的错误条件或状态,只有大量的脚本 . 见下文 . 如果我在屏幕转储后立即注释掉该行并重新运行脚本,则运行直至更远 . 这次它在一个从Splunk搜索中读取数据的循环中途停止 . 它在停止前返回3 1/2记录 . 我在事件日志中找不到任何内容,并且看不到脚本代码本身的任何问题 . 这是屏幕转储 . 它似乎没有实际超时,但我不能确定 . 它似乎运行良好,然后只是无缘无故地疯了 .

指定的CGI应用程序因未返回完整的HTTP标头集而行为不端 . 它返回的 Headers 是“服务器场#2 Johnstown
服务器场#2 Johnstown
服务器场#2 Johnstown
服务器场#2 Johnstown
服务器场#2 Johnstown <br服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场# 2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown </ >服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
服务器农场#2 Johnstown
Server Farm#2 Johnstown
Content-Type:text \ html <html> <head> <title> Mid-Tier Stats </ title> <link rel ='stylesheet'href ='css / table.css'/> <style> table {font:0.8em Arial,Helvetica,sans-serif;边界崩溃:崩溃;背景:#e8eef7;颜色:#000; } #itsthetable {height:280px;溢出:汽车;背景:#c6dbff;填充底:3px的;宽度:635px; } #itheheheheaderheader {overflow:auto;背景:#c6dbff;填充底:3px的;宽度:635px; } caption {height:102px;字体大小:000000.1em;颜色:#c6dbff;背景:#c6dbff; } caption:hover {font-size:000000.1em;颜色:#c6dbff;背景:透明; } {font-weight:300;} tr th,tr td {border-bottom:1px solid #ccc;}表a,表a:link {text-decoration:none;颜色:#666;}表a:已访问{color:#999;} tbody tr th {width:80px;垂直对齐:顶部; padding-left:50px;背景:透明; } tbody tr td {height:1.7em;垂直对齐:顶部;填充左:10px的;背景:透明; } thead {background:#fff;} tr th td td td td {width:60px;填充左:20像素;字体大小:0.9em;背景:透明; } tr.odd {background:#FFFFFF; tfoot th,tfoot td {身高:105px;字体重量:粗体;高度:2.0em;填充左:10px的; vertical-align:top; } tfoot th {height:102px;背景:#c6dbff; } tfoot td {身高:102px;背景:#c6dbff; } </ style> </ head> <body bgcolor ='lightSteelBlue'> <h3> <div id ='content'> <img src ='images \ john2srv.PNG'width = 75 height = 85 align ='middle'服务器场#2 Johnstown </ h3> <table> <tr bgcolor ='lightSteelBlue'>“ .

OK, Here


The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are 
"Server Farm #2 Johnstown 
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Server Farm #2 Johnstown
Content-Type:text\html <html> <head> <title>Mid-Tier Stats</title> <link rel='stylesheet' href='css/table.css' /> <style> table { font: 0.8em Arial, Helvetica, sans-serif; border-collapse:collapse; background:#e8eef7; color:#000; } #itsthetable { height:280px; overflow:auto; background:#c6dbff; padding-bottom:3px; width: 635px; } #itsthetableheader { overflow:auto; background:#c6dbff; padding-bottom:3px; width: 635px; } caption { height:102px; font-size:000000.1em; color:#c6dbff; background:#c6dbff; } caption:hover{ font-size:000000.1em; color:#c6dbff; background:transparent; } th { font-weight:300; } tr th, tr td { border-bottom:1px solid #ccc; } table a, table a:link { text-decoration:none; color:#666; } table a:visited { color:#999; } tbody tr th { width:80px; vertical-align:top; padding-left: 50px; background:transparent; } tbody tr td { height:1.7em; vertical-align:top; padding-left:10px; background:transparent; } thead { background:#fff; } tr th + td + td + td + td { width:60px; padding-left:20px; font-size:0.9em; background:transparent; } tr.odd { background: #FFFFFF; } tfoot th, tfoot td { height:105px; font-weight:bold; height:2.0em; padding-left:10px; vertical-align: top; } tfoot th{ height:102px; background:#c6dbff; } tfoot td { height:102px; background:#c6dbff; } </style> </head> <body bgcolor='lightSteelBlue' ><h3> <div id='content'> <img src='images\john2srv.PNG' width=75 height=85 align='middle' />Server Farm #2 Johnstown </h3> <table><tr bgcolor='lightSteelBlue'> ".