f"Backward compatibility (v1.2.2 to v1.2.3): Add new key ServerDict > ListenDict. Transfer port from ServerDict > ListenPort")# Log about compatibility
<codeclass="sig-prename descclassname">pyOpenRPA.Orchestrator.__Orchestrator__.</code><codeclass="sig-name descname">WebAuditMessageCreate</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inRequest</span></em>, <emclass="sig-param"><spanclass="n">inOperationCodeStr</span><spanclass="o">=</span><spanclass="default_value">'-'</span></em>, <emclass="sig-param"><spanclass="n">inMessageStr</span><spanclass="o">=</span><spanclass="default_value">'-'</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Orchestrator/__Orchestrator__.html#WebAuditMessageCreate"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Orchestrator.__Orchestrator__.WebAuditMessageCreate"title="Permalink to this definition">¶</a></dt>
<dd><p>Create message string with request user details (IP, Login etc…). Very actual for IT security in big company.</p>
<spanclass="s2">"AgentConnectionLifetimeSecFloat"</span><spanclass="p">:</span><spanclass="mf">300.0</span><spanclass="p">,</span><spanclass="c1"># Time in seconds to handle the open connection to the Agent</span>
<spanclass="s2">"AgentConnectionLifetimeSecFloat"</span><spanclass="p">:</span><spanclass="mf">300.0</span><spanclass="p">,</span><spanclass="c1"># Time in seconds to handle the open connection to the Agent</span>
<spanclass="s2">"AgentLoopSleepSecFloat"</span><spanclass="p">:</span><spanclass="mf">2.0</span><spanclass="p">,</span><spanclass="c1"># Time in seconds to sleep between loops when check to send some activity to the agent</span>
<spanclass="s2">"AgentLoopSleepSecFloat"</span><spanclass="p">:</span><spanclass="mf">2.0</span><spanclass="p">,</span><spanclass="c1"># Time in seconds to sleep between loops when check to send some activity to the agent</span>
<spanclass="s2">"WorkingDirectoryPathStr"</span><spanclass="p">:</span><spanclass="kc">None</span><spanclass="p">,</span><spanclass="c1"># Will be filled automatically</span>
<spanclass="s2">"WorkingDirectoryPathStr"</span><spanclass="p">:</span><spanclass="kc">None</span><spanclass="p">,</span><spanclass="c1"># Will be filled automatically</span>
<spanclass="s2">"RequestTimeoutSecFloat"</span><spanclass="p">:</span><spanclass="mi">300</span><spanclass="p">,</span><spanclass="c1"># Time to handle request in seconds</span>
<spanclass="s2">"RequestTimeoutSecFloat"</span><spanclass="p">:</span><spanclass="mi">300</span><spanclass="p">,</span><spanclass="c1"># Time to handle request in seconds,</span>
<spanclass="s2">"ListenPort_"</span><spanclass="p">:</span><spanclass="s2">"Порт, по которому можно подключиться к демону"</span><spanclass="p">,</span>
<spanclass="s2">"URL_"</span><spanclass="p">:</span><spanclass="s2">"Сетевое расположение сервера демона"</span><spanclass="p">,</span>
<spanclass="s2">"AccessUsers"</span><spanclass="p">:</span><spanclass="p">{</span><spanclass="c1"># Default - all URL is blocked</span>
<spanclass="s2">"AccessUsers"</span><spanclass="p">:</span><spanclass="p">{</span><spanclass="c1"># Default - all URL is blocked</span>
<spanclass="s2">"FlagCredentialsAsk"</span><spanclass="p">:</span><spanclass="kc">True</span><spanclass="p">,</span><spanclass="c1"># Turn on Authentication</span>
<spanclass="s2">"FlagCredentialsAsk"</span><spanclass="p">:</span><spanclass="kc">True</span><spanclass="p">,</span><spanclass="c1"># Turn on Authentication</span>
<spanclass="nb">print</span><spanclass="p">(</span><spanclass="nb">str</span><spanclass="p">(</span><spanclass="n">e</span><spanclass="p">))</span><spanclass="c1"># Has no logger - must be dead alg branch</span>
<spanclass="n">gSettingsDict</span><spanclass="p">[</span><spanclass="s2">"ServerDict"</span><spanclass="p">][</span><spanclass="s2">"WorkingDirectoryPathStr"</span><spanclass="p">]</span><spanclass="o">=</span><spanclass="n">os</span><spanclass="o">.</span><spanclass="n">getcwd</span><spanclass="p">()</span><spanclass="c1"># Set working directory in g settings</span>
<spanclass="n">gSettingsDict</span><spanclass="p">[</span><spanclass="s2">"ServerDict"</span><spanclass="p">][</span><spanclass="s2">"WorkingDirectoryPathStr"</span><spanclass="p">]</span><spanclass="o">=</span><spanclass="n">os</span><spanclass="o">.</span><spanclass="n">getcwd</span><spanclass="p">()</span><spanclass="c1"># Set working directory in g settings</span>
<spanclass="c1">#Инициализация сервера</span>
<spanclass="c1">#Инициализация сервера (инициализация всех интерфейсов)</span>
<spanclass="k">if</span><spanclass="n">lL</span><spanclass="p">:</span><spanclass="n">lL</span><spanclass="o">.</span><spanclass="n">info</span><spanclass="p">(</span><spanclass="s2">"Web server has been started"</span><spanclass="p">)</span><spanclass="c1">#Logging</span>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.WebAuditMessageCreate">WebAuditMessageCreate() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
</li>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.WebCPUpdate">WebCPUpdate() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.WebCPUpdate">WebCPUpdate() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
</li>
</li>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.WebURLConnectDef">WebURLConnectDef() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.WebURLConnectDef">WebURLConnectDef() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>