How to solve ssh error “ssh_exchange_identification: read: Connection reset by peer” on ubuntu server correctly

Related very closely to question and answers like:
How to fix “ssh_exchange_identification: read: Connection reset by peer” error?

My reputation is too low to comment or provide answer suggestion. Below is the case description and the aswer.

The error message is the the same as in above question (ssh_exchange_identification: read: Connection reset by peer), when attempting to ssh the server.

doe@server1 ~ $ ssh (MY_SERVER_IP)
ssh_exchange_identification: read: Connection reset by peer

ssh -v does not give any relevant additional information. As the error message suggests, the connection was reset, so there is no connectivity issue and the connection was established ssh service is running on the server just fine.

So, I found that the host was being added to /etc/hosts.deny. Entry was: sshd: (MY_HOST_IP). Whenever I deleted the entry row from the hosts.deny file (using different IP address on the client), I could login typically once from the originally failing host IP address. The same limitation did not apply to other IP addresses. I can login from other IP addresses as many times I like.

The server is Ubuntu 18.04.5 LTS was in a local network. Server has lot of webserver stuff and experiments. Quite often server is exposed to Internet so it has firewall to keep only selected ports open. It has also DenyHosts as well as Fail2Ban to handle the flood of unauthorized login attempts. Server was upgraded couple of days ago and this problem has started to occur after that. Anyways, supposedly the programs that prevent access are the the prime suspects. I started digging into them by the proposals at the previous question mentioned above.

DenyHosts uses hosts.deny to deny the access based on /etc/denyhosts.conf configuration file and the /var/log/auth.log log file analysis it does.

Looking into (MY_CLIENT_IP) in to the state of DenyHosts:

$ sudo grep -r "(MY_CLIENT_IP)"  /var/lib/denyhosts/
/var/lib/denyhosts/users-hosts:doe - (MY_CLIENT_IP):1:Sun Oct 25 12:16:06 2020
/var/lib/denyhosts/users-hosts:jane - (MY_CLIENT_IP):2:Tue Nov 10 18:16:20 2015
/var/lib/denyhosts/hosts-root:(MY_CLIENT_IP):0:Sun Oct 25 12:16:06 2020
/var/lib/denyhosts/hosts-restricted:(MY_CLIENT_IP):0:Sun Oct 25 12:16:06 2020
/var/lib/denyhosts/hosts:(MY_CLIENT_IP):0:Sun Oct 25 12:16:05 2020
/var/lib/denyhosts/hosts-valid:(MY_CLIENT_IP):1:Sun Oct 25 12:16:06 2020

Removing (MY_CLIENT_IP) entries gives temporary resolution because DenyHosts will put it back there after it has done it’s math on the analysis. During this troubleshooting I found also changed behaviour of fail2ban and below is the stuff related to that. Basically fail2ban also started to hate me logging in.

Fail2Ban works towards the same goal bit differently (uses IPTABLES for blocking) and also the ssh login error is different due to firewall blocking access:

doe@server1 ~ $ ssh (MY_SERVER_IP)
ssh: connect to host (MY_SERVER_IP) port 22: Connection refused

The thing is that now also fail2ban is starting to add (MY_HOST_IP) into the sshd jail it uses to block an IP. I need to run also:

$ sudo fail2ban-client set sshd unbanip (MY_CLIENT_IP)

After first removing entries from the above files/locations (after stopping the services), I also made a copy of auth.log for possible further analysis then removed auth.log and restarted server. I thought clearing the auth.log is necessary to prevent blocking from re-occurring.

$ sudo cp /var/log/auth.log auth.log.copy
$ sudo rm /var/log/auth.log
$ sudo reboot

Was this ok or what would have been the correct way of dealing with the issue? This resolved the issue, but was it a bad practise and did I misuse or fail to use the applications properties? Is there a way to make DenyHosts and Fail2Ban start reading auth.log from restart time fordward, or are those supposed to do that by default? Should I have done something else or more elegant steps to clear the situation?

PS. Yes I know, I could white-list my host, start using keys or start typing more carefully.

Windows server Essentials fault by not find correctly named server certificate

I have a problem with CA configuration on AD windows server 2012r2. It manifests itself by error with starting “windows server essentials services”.
I figure out there is something wrong into: hklm>software>microsoft>windows server>identity
The CAName should be different in my opinion.
Now, it has the “NAME” as DOMAIN-SRV-DC2-CA, instead of name in Certification Authority: “company-SRC-DC2-CA”
Question. Should I change CANAME in regedit for one that is in a Certification Authority?

I will be grateful for any tips.

sharepoint designer – How to hook up styled XSL to a list correctly

There is a project that consists of a mix of different solutions.
I have a simple list that has a link to another list. This is a display of employees. Several views have been made, in which filters on the list make a selection by departments. But since this list is displayed visually without a tree (nesting, that is, tree-like), then my task is to make it conveniently and beautifully. Long displayed nested.
There is a working (maybe not optimized) code that I insert through SPD into the view itself. The code works But since there are many views (about 18 views), I decided to move my code out of the SPD, to a separate file and connect it through the list settings. (list => Edit Web Part => Miscellaneous => Link to XSL) otherwise it doesn’t work. I don’t understand why it doesn’t work.
If you see my mistakes I will be grateful for the advice.
I went through the topics here, but did not receive an answer for myself.

<xsl:stylesheet xmlns:x=”” xmlns:d=”” version=”1.0″ exclude-result-prefixes=”xsl msxsl ddwrt” xmlns:ddwrt=”” xmlns:asp=”″ xmlns:__designer=”” xmlns:xsl=”” xmlns:msxsl=”urn:schemas-microsoft-com:xslt” xmlns:SharePoint=”Microsoft.SharePoint.WebControls” xmlns:ddwrt2=”urn:frontpage:internal” xmlns:o=”urn:schemas-microsoft-com:office:office”>
<xsl:include href=”/layouts/xsl/main.xsl”/>
<xsl:include href=”/layouts/xsl/internal.xsl”/>
<xsl:param name=”AllRows” select=”/dsQueryResponse/Rows/Row($EntityName = ” or (position() >= $FirstRow and position() <= $LastRow))”/>
<xsl:param name=”dvt_apos”>'</xsl:param>
<xsl:template match=”FieldRef(@Name=’Parent’)” mode=”header” />
<xsl:template match=”FieldRef(@Name=’Parent’)” mode=”printTableCellEcbAllowed” />
<xsl:template name=”RenderTreeView” match=”View” mode=”RenderView”>
<xsl:param name=”ParentId”></xsl:param>
<xsl:param name=”Level” select=”0″></xsl:param>
<xsl:param name=”ParentFullId”></xsl:param>
<xsl:variable name=”ViewStyleID”><xsl:value-of select=”ViewStyle/@ID”/></xsl:variable>
<xsl:variable name=”HasExtraColumn” select=”$TabularView=’1′ and $MasterVersion=4 and ($ViewStyleID = ” or $ViewStyleID = ’17’)”/>
<xsl:if test=”Aggregations(not(@Value=’Off’))/FieldRef”>

<xsl:if test=”$HasExtraColumn”>

<xsl:if test=”$InlineEdit”>

<xsl:apply-templates mode=”aggregate” select=”ViewFields/FieldRef(not(@Explicit=’TRUE’))”>
<xsl:with-param name=”Rows” select=”$AllRows”/>
<xsl:with-param name=”GroupLevel” select=”0″/>

<xsl:variable name=”Fields” select=”ViewFields/FieldRef(not(@Explicit=’TRUE’))”/>
<xsl:variable name=”Groups” select=”Query/GroupBy/FieldRef”/>
<xsl:variable name=”Collapse” select=”Query/GroupBy(@Collapse=’TRUE’)”/>
<xsl:variable name=”GroupCount” select=”count($Groups)”/>
<xsl:variable name=”View” select=”.”/>
<xsl:for-each select=”$AllRows”>
<xsl:variable name=”thisNode” select=”.”/>
<xsl:variable name=”CurrentParentId” select=”normalize-space(substring-before($thisNode/@Parent.,’;#’))” />
<xsl:if test=”$CurrentParentId = ‘0’ and not($ParentId) or $CurrentParentId = $ParentId”>
<xsl:variable name=”CurrentId”>
<xsl:when test=”$thisNode/@ID < 10″><xsl:value-of select=”concat(‘000′, $thisNode/@ID)” /></xsl:when>
<xsl:when test=”$thisNode/@ID < 100″><xsl:value-of select=”concat(’00’, $thisNode/@ID)” /></xsl:when>
<xsl:when test=”$thisNode/@ID < 1000″><xsl:value-of select=”concat(‘0’, $thisNode/@ID)” /></xsl:when>
xsl:otherwise<xsl:value-of select=”$thisNode/@ID” />
<xsl:variable name=”CurrentFullId” select=”concat($ParentFullId, $CurrentId, ‘
‘)” />
<xsl:variable name=”SubDepartmentsCount” select=”count($AllRows(normalize-space(substring-before(@Parent.,’;#’)) = $thisNode/@ID))”/>
<xsl:if test=”$GroupCount > 0″>
<xsl:call-template name=”GroupTemplate”>
<xsl:with-param name=”Groups” select=”$Groups”/>
<xsl:with-param name=”Collapse” select=”$Collapse”/>
<xsl:with-param name=”HasExtraColumn” select=”$HasExtraColumn”/>
<xsl:variable name=”prefix”>
<xsl:when test=”$SubDepartmentsCount > 0″>titl</xsl:when>
<xsl:variable name=”postfix”>
<xsl:when test=”$SubDepartmentsCount > 0″><xsl:value-of select=”$CurrentFullId”/></xsl:when>
<xsl:value-of select=”$ParentFullId”/>

<xsl:if test=”not(not($NoAJAX) and not($InlineEdit) and $Collapse and $GroupCount > 0)”>
<xsl:apply-templates mode=”Item” select=”.”>
<xsl:with-param name=”Fields” select=”$Fields”/>
<xsl:with-param name=”Collapse” select=”$Collapse”/>
<xsl:with-param name=”Position” select=”position()”/>
<xsl:with-param name=”Last” select=”last()”/>
<xsl:with-param name=”Level” select=”$Level”/>
<xsl:with-param name=”SubItems” select=”$SubDepartmentsCount” />
<xsl:with-param name=”CurrentFullId” select=”$CurrentFullId” />

<xsl:if test=”$SubDepartmentsCount > 0″>
<xsl:apply-templates mode=”RenderView” select=”$View”>
<xsl:with-param name=”ParentId” select=”$thisNode/@ID” />
<xsl:with-param name=”Level” select=”$Level+1″/>
<xsl:with-param name=”ParentFullId” select=”$CurrentFullId”/>
<xsl:if test=”$InlineEdit and not($IsDocLib) and $ListRight_AddListItems = ‘1’”>
<xsl:call-template name=”rowinsert”>
<xsl:with-param name=”Fields” select=”$Fields”/>
<xsl:template mode=”Item” match=”Row”>
<xsl:param name=”Fields” select=”.”/>
<xsl:param name=”Collapse” select=”.”/>
<xsl:param name=”Position” select=”1″/>
<xsl:param name=”Last” select=”1″/>
<xsl:param name=”Level” select=”1″/>
<xsl:param name=”SubItems” select=”0″/>
<xsl:param name=”CurrentFullId”></xsl:param>
<xsl:variable name=”thisNode” select=”.”/>
<xsl:variable name=”EditMode” select=”$dvt_form_key = @ID or $dvt_form_key = @BdcIdentity”/>

<xsl:for-each select=”$Fields”>
<xsl:apply-templates select=”.” mode=”printTableCellEcbAllowed”>
<xsl:with-param name=”thisNode” select=”$thisNode”/>
<xsl:with-param name=”Level” select=”$Level”/>
<xsl:with-param name=”SubItems” select=”$SubItems” />
<xsl:with-param name=”CurrentFullId” select=”$CurrentFullId” />
<xsl:with-param name=”Collapse” select=”$Collapse” />

<xsl:template name=”FieldRef_printTableCell_EcbAllowed.Title” match=”FieldRef(@ListItemMenu)|FieldRef(@Name=’Title’)” mode=”printTableCellEcbAllowed” ddwrt:dvt_mode=”body” ddwrt:ghost=””>
<xsl:param name=”thisNode” select=”.”/>
<xsl:param name=”class” />
<xsl:param name=”Level” />
<xsl:param name=”SubItems” />
<xsl:param name=”CurrentFullId” />
<xsl:param name=”Collapse” />
<xsl:variable name=”expandImage”>
<xsl:when test=”$Collapse”>/_layouts/images/plus.gif</xsl:when>

<xsl:attribute name=”style”>padding-left:<xsl:value-of select=”7+$Level*22″ />px;</xsl:attribute>
<xsl:if test=”@ClassInfo=’Menu’ or @ListItemMenu=’TRUE'”>
<xsl:attribute name=”height”>100%</xsl:attribute>
<xsl:attribute name=”onmouseover”>OnChildItem(this)</xsl:attribute>
<xsl:attribute name=”class”>
<xsl:call-template name=”getTDClassValue”>
<xsl:with-param name=”class” select=”$class” />
<xsl:with-param name=”Type” select=”@Type”/>
<xsl:with-param name=”ClassInfo” select=”@ClassInfo”/>
<xsl:when test=”$SubItems > 0″></xsl:when>
<xsl:apply-templates select=”.” mode=”PrintFieldWithECB”>
<xsl:with-param name=”thisNode” select=”$thisNode”/>


List form customized in powerapps is not being displayed correctly on the SharePoint list

I have customized a list form in PowerApps and published it to SharePoint. Although the form is being published, only half of it is visible when I click on the "New Item" tab in the list. Is there any way the full form can be published? What changes do I have to make in PowerApps?

Why is this not aligning correctly on phone browsers?

Why is this not aligning correctly on phone browsers?

Kindly look at this page, on a phone browser:

I have not checked on android, but on iPhone etc, there is so much gap on left side, and right side is getting all cut off…
What is happening?

All the css is on the page itself, for now. Will put it in a different file later.

The theme file loaded is this:
(only theme, without content)

I’d prefer if I could use this theme instead,
This one is using float to align 2 columns side by side on laptops,
but on phone browser they will fall below each other as intended.
Problem is, if I use this theme, then as soon as something is touched on screen, entire site starts getting re-aligned automatically.
(kind of like starts dancing on screen… very irritating)

This theme with content is:

This one also has that left gap, and right cut off problem.
What is causing this problem?

@deathshadow could you also take a look please?
Please let me know what specific CSS I need to change to make it appear good on phones, as it appears on firefox on laptop.
Colors etc I will fix later.
Alignment is the big problem.


dnd 5e – Did I rule this correctly? Readied actions and turn order

The monster my players were fighting acted first in the intitative order. It dove into the lake and out of sight. They all readied actions to attack when it revealed itself. On its next turn it attacked, triggering all of their readied actions, so it got off its attack, but then they all attacked him. We all got really confused as to whose turn it now was, the monster again or my players. I ruled that it was the monster but now that seems wrong.

windows – How do you correctly expose the RPC port with bitcoind running in WSL2-backed docker?

I’m trying to run bitcoind in a docker container backed by Windows 10/WSL2 using Docker Desktop. I’m using the ruimarinho/bitcoin-core:0.20.1-alpine image defined here:

I have a simple compose file as follows so I can run it with just docker-compose up bitcoind:

version: "3.8"
        image: ruimarinho/bitcoin-core:0.20.1-alpine
            - "18443:18443"
            - "18444:18444"

When I run the compose command as shown above, the container starts and appears to run as intended:

The log:

λ docker-compose run bitcoind
Creating bitcoin_bitcoind_run ... done
/ assuming arguments for bitcoind
/ setting data directory to /home/bitcoin/.bitcoin

2020-10-03T19:26:47Z Bitcoin Core version v0.20.1.0-g7ff64311bee570874c4f0dfa18f518552188df08 (release build)
2020-10-03T19:26:47Z Validating signatures for all blocks.
2020-10-03T19:26:47Z Setting nMinimumChainWork=0000000000000000000000000000000000000000000000000000000000000000
2020-10-03T19:26:47Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
2020-10-03T19:26:47Z Using RdSeed as additional entropy source
2020-10-03T19:26:47Z Using RdRand as an additional entropy source
2020-10-03T19:26:47Z Default data directory /home/bitcoin/.bitcoin
2020-10-03T19:26:47Z Using data directory /home/bitcoin/.bitcoin/regtest
2020-10-03T19:26:47Z Config file: /home/bitcoin/.bitcoin/bitcoin.conf (not found, skipping)
2020-10-03T19:26:47Z Command-line arg: chain="regtest"
2020-10-03T19:26:47Z Command-line arg: datadir="/home/bitcoin/.bitcoin"
2020-10-03T19:26:47Z Command-line arg: listen=""
2020-10-03T19:26:47Z Command-line arg: printtoconsole=""
2020-10-03T19:26:47Z Command-line arg: rpcallowip=""
2020-10-03T19:26:47Z Command-line arg: rpcauth=****
2020-10-03T19:26:47Z Command-line arg: rpcbind=****
2020-10-03T19:26:47Z Command-line arg: server=""
2020-10-03T19:26:47Z Using at most 125 automatic connections (1048576 file descriptors available)
2020-10-03T19:26:47Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2020-10-03T19:26:47Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2020-10-03T19:26:47Z Script verification uses 15 additional threads
2020-10-03T19:26:47Z scheduler thread start
2020-10-03T19:26:47Z WARNING: the RPC server is not safe to expose to untrusted networks such as the public internet
2020-10-03T19:26:47Z HTTP: creating work queue of depth 16
2020-10-03T19:26:47Z No rpcpassword set - using random cookie authentication.
2020-10-03T19:26:47Z Generated RPC authentication cookie /home/bitcoin/.bitcoin/regtest/.cookie
2020-10-03T19:26:47Z Using rpcauth authentication.
2020-10-03T19:26:47Z HTTP: starting 4 worker threads
2020-10-03T19:26:47Z Using wallet directory /home/bitcoin/.bitcoin/regtest/wallets
2020-10-03T19:26:47Z init message: Verifying wallet(s)...
2020-10-03T19:26:47Z Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2020-10-03T19:26:47Z Using wallet /home/bitcoin/.bitcoin/regtest/wallets
2020-10-03T19:26:47Z BerkeleyEnvironment::Open: LogDir=/home/bitcoin/.bitcoin/regtest/wallets/database ErrorFile=/home/bitcoin/.bitcoin/regtest/wallets/db.log
2020-10-03T19:26:47Z init message: Loading banlist...
2020-10-03T19:26:47Z ERROR: DeserializeFileDB: Failed to open file /home/bitcoin/.bitcoin/regtest/banlist.dat
2020-10-03T19:26:47Z Invalid or missing banlist.dat; recreating
2020-10-03T19:26:47Z Using /16 prefix for IP bucketing
2020-10-03T19:26:47Z Cache configuration:
2020-10-03T19:26:47Z * Using 2.0 MiB for block index database
2020-10-03T19:26:47Z * Using 8.0 MiB for chain state database
2020-10-03T19:26:47Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
2020-10-03T19:26:47Z init message: Loading block index...
2020-10-03T19:26:47Z Opening LevelDB in /home/bitcoin/.bitcoin/regtest/blocks/index
2020-10-03T19:26:47Z Opened LevelDB successfully
2020-10-03T19:26:47Z Using obfuscation key for /home/bitcoin/.bitcoin/regtest/blocks/index: 0000000000000000
2020-10-03T19:26:47Z LoadBlockIndexDB: last block file = 0
2020-10-03T19:26:47Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=0, size=0, heights=0...0, time=1970-01-01...1970-01-01)
2020-10-03T19:26:47Z Checking all blk files are present...
2020-10-03T19:26:47Z Initializing databases...
2020-10-03T19:26:47Z Pre-allocating up to position 0x1000000 in blk00000.dat
2020-10-03T19:26:47Z Opening LevelDB in /home/bitcoin/.bitcoin/regtest/chainstate
2020-10-03T19:26:47Z Opened LevelDB successfully
2020-10-03T19:26:47Z Wrote new obfuscate key for /home/bitcoin/.bitcoin/regtest/chainstate: 736e3a38a2e0107d
2020-10-03T19:26:47Z Using obfuscation key for /home/bitcoin/.bitcoin/regtest/chainstate: 736e3a38a2e0107d
2020-10-03T19:26:47Z init message: Rewinding blocks...
2020-10-03T19:26:47Z  block index              42ms
2020-10-03T19:26:47Z init message: Loading wallet...
2020-10-03T19:26:47Z BerkeleyEnvironment::Open: LogDir=/home/bitcoin/.bitcoin/regtest/wallets/database ErrorFile=/home/bitcoin/.bitcoin/regtest/wallets/db.log
2020-10-03T19:26:47Z (default wallet) Wallet File Version = 10500
2020-10-03T19:26:47Z (default wallet) Keys: 0 plaintext, 0 encrypted, 0 w/ metadata, 0 total. Unknown wallet records: 0
2020-10-03T19:26:47Z (default wallet) Performing wallet upgrade to 169900
2020-10-03T19:26:48Z (default wallet) keypool added 2000 keys (1000 internal), size=2000 (1000 internal)
2020-10-03T19:26:48Z (default wallet) LegacyScriptPubKeyMan::NewKeyPool rewrote keypool
2020-10-03T19:26:48Z (default wallet) Wallet completed loading in            1324ms
2020-10-03T19:26:48Z (default wallet) setKeyPool.size() = 2000
2020-10-03T19:26:48Z (default wallet) mapWallet.size() = 0
2020-10-03T19:26:48Z (default wallet) m_address_book.size() = 0
2020-10-03T19:26:48Z UpdateTip: new best=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 height=0 version=0x00000001 log2_work=1 tx=1 date='2011-02-02T23:16:42Z' progress=1.000000 cache=0.0MiB(0txo)
2020-10-03T19:26:48Z block tree size = 1
2020-10-03T19:26:48Z nBestHeight = 0
2020-10-03T19:26:48Z Failed to open mempool file from disk. Continuing anyway.
2020-10-03T19:26:48Z torcontrol thread start
2020-10-03T19:26:48Z Bound to (::):18444
2020-10-03T19:26:48Z Bound to
2020-10-03T19:26:48Z init message: Loading P2P addresses...
2020-10-03T19:26:48Z ERROR: DeserializeFileDB: Failed to open file /home/bitcoin/.bitcoin/regtest/peers.dat
2020-10-03T19:26:48Z Invalid or missing peers.dat; recreating
2020-10-03T19:26:48Z init message: Starting network threads...
2020-10-03T19:26:48Z net thread start
2020-10-03T19:26:48Z dnsseed thread start
2020-10-03T19:26:48Z 0 addresses found from DNS seeds
2020-10-03T19:26:48Z addcon thread start
2020-10-03T19:26:48Z init message: Done loading
2020-10-03T19:26:48Z dnsseed thread exit
2020-10-03T19:26:48Z opencon thread start
2020-10-03T19:26:48Z msghand thread start
2020-10-03T19:27:49Z Adding fixed seed nodes as DNS doesn't seem to be available.

If I exec into this running container to verify that ports are bound, this is what I find:

λ docker exec -it a744a31c4dd3 /bin/sh
/ # netstat -tan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0*               LISTEN
tcp        0      0 *               LISTEN
tcp        0      0 *               LISTEN
tcp        0      0 :::18444                :::*                    LISTEN
/ #

But when I open a shell in the backing WSL2 instance, I don’t find any TCP ports bound at all:
enter image description here

And perhaps not unexpectedly, if I try to connect to the WSL2 instance’s ip address, the connection is refused.

It seems that there may be some WSL2 issues at play here:

But after reading those, I’m not sure if they apply to this situation or not.

Moreover, it seems that this works for a simple netcat listener. If I start a container and open a port using netcat:

λ docker run -it -p "12345" alpine /bin/sh
/ # nc -vvvv -l -p 12345
listening on ...

I can show the open port on the WSL2 host:

KENOBI:/tmp/docker-desktop-root/mnt/host/c/Users/Ben# netstat -tan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 :::12345                :::*                    LISTEN
tcp        0      0 ::ffff: ::ffff: ESTABLISHED

Using ncat from the Windows 10 host, I can connect to the netcat port:
enter image description here

Judging from a working netcat connection from the Windows 10 host to a running WSL2-backed container, it seems that somehow I’m not running bitcoind correctly.

Has anyone else experienced this, and were you able to solve it or find a reasonable workaround?

python – Adding my Dash Plotly graph as a children property of the callback component stopped it from plotting it correctly

pretty simple problem. I had a graph that would dynamically plot all the values a user enters in the input. They layout had an empty graph on screen(dcc.Graph in layout) even without data entered from the user.

I wanted to change the behavior of my graph work and make it a little more aesthetically pleasing, by having the graph only appear on-screen when a user enters values in the input. To do that I added dcc.Graph in the callback function, using html.Div(id='output-graph') as it’s front-end ID.

After making the changes, my graph stopped working correctly and now only plots the FIRST value a user has entered in the input. It doesn’t matter how many inputs have been entered and acknowledged by the dropdown, my graph won’t plot the remaining ones. Below is my code, I removed everything else apart from the subjects talked about, I didn’t want to clutter the space. If the HTML layout looks wonky that is why.

Could really appreciate some help here. I tried investigating State but I don’t think that would help me here. Curious to know what I did wrong here. Everything else works fine, the flow of data from my dB is not an issue with my other callbacks that use the same input as my graph.

app.layout = html.Div( 
               dbc.Container(dcc.Dropdown(id="dynamic-dropdown", options=options, multi=True, placeholder="Enter Symbols of Interest"),
               html.Div(id='output-graph'),lg=8, md=11, xs=12),justify="center"))

    dash.dependencies.Output('output-graph', 'children'),
    (dash.dependencies.Input('dynamic-dropdown', 'value')))

def tickers(symbols):
    if symbols == None:
        raise PreventUpdate
    elif symbols == '':
        raise PreventUpdate

    stock_info = {}
    d = {} #dates
    p = {} #prices

    sym_ids = tuple((id for id in symbols))

    stock_info = {}
    stock_info = get_dict_resultset("SELECT symbol, date, close FROM security_price WHERE security_price.symbol IN %s;", (sym_ids))

    stock_data_by_symbol = defaultdict(list)
    for entry in stock_info:
        symbol = entry('symbol')

    trace = ()
    for stock in symbols:
        d(stock) = (rec('date') for rec in stock_data_by_symbol(stock)) 
        p(stock) = (rec('close') for rec in stock_data_by_symbol(stock))
                             text = d(stock),
                             textposition='bottom center'))

    traces = (trace)
    data = (val for sublist in traces for val in sublist)
    figure = {'data': data,
              'layout': go.Layout(
                  colorway=("#5E0DAC", '#FF4F00', '#375CB1', '#FF7400', '#FFF400', '#FF0056'),
                  paper_bgcolor='rgba(0, 0, 0, 0)',
                  plot_bgcolor='rgba(0, 0, 0, 0)',
                  margin={'b': 15},
                  title={'text': 'Historical Price Graph', 'font': {'color': 'black'}, 'x': 0.5},


    return dcc.Graph(id='output-graph', figure=figure, config={'displayModeBar': False}, animate=True)

plugins – WordPress features not working correctly

I’m new to wordpress an I’m having some issues with a site that has already been built.
The site is using Elementor Pro, however, in the backend the “Edit with Elementor” is either not showing or the button doesn’t work at all. The page is also using the WP Nuvo theme, and something similar happens when trying to edit the Theme Options, none of the buttons or dropdowns work. I know these may be a specific questions for those 2 themes/plugins, however I have no access to support from either since they were bought by the previous site admin and I have to purchase info for either one. Is the any way to refresh the pages to make these 2 things work? Already tried deactivating both things, but nothing changes and I can’t reinstall them since I don’t have the installers either.