<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / Connection refused (code -413)]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=443&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=443"/>
	<updated>2018-06-11T10:16:57Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=443</id>
	<entry>
		<title type="html"><![CDATA[Re: Connection refused (code -413)]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1974#p1974"/>
		<content type="html"><![CDATA[<p>Hi Joroslav,<br />I&quot;m using Modbus TCP Master.<br />And it all is still working fine so far </p><p>Best regards,<br />Peter</p>]]></content>
		<author>
			<name><![CDATA[rexpeter]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=100</uri>
		</author>
		<updated>2018-06-11T10:16:57Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1974#p1974</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Connection refused (code -413)]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1967#p1967"/>
		<content type="html"><![CDATA[<p>Hi Peter,<br />are you running as Modbus TCP master or slave? I suppose slave from what you write. It&#039;s a pity you did not make a copy of your project but at least we have some trace. Thanks for reporting all this.</p><p>Best regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2018-06-08T12:11:29Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1967#p1967</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Connection refused (code -413)]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1966#p1966"/>
		<content type="html"><![CDATA[<p>Hi Jaroslav,</p><p>I found out what was going on!<br />The ModBus driver all of a sudden had an incorrect IP address listed (something like 127.0.0.1 or something like that.<br />I changed ONLY that to the correct IP address and I could load it without a problem.<br />After I tried changing it back what I thought was listed above, so 127.0.0.1, it also worked again without a problem.<br />Too bad that I did not have made a copy before changing this.... :-(<br />But anyway that was the only thing apparently.</p><p>Sorry for not being able to forward it now to you in a NON working order...</p><p>Best regards,<br />Peter</p>]]></content>
		<author>
			<name><![CDATA[rexpeter]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=100</uri>
		</author>
		<updated>2018-06-08T12:00:21Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1966#p1966</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Connection refused (code -413)]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1964#p1964"/>
		<content type="html"><![CDATA[<p>Hi Peter,<br />thanks for your message. I understand you prefer not to put your project online. Please send the project files as soon as possible so we can hunt the bug down.</p><p>Kind regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2018-06-08T10:29:02Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1964#p1964</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Connection refused (code -413)]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1963#p1963"/>
		<content type="html"><![CDATA[<p>Sorry for the delay.<br />It really seems that my project is generating the error that the core module stopped.<br />After recycling the power, I can connect and I can load any other example file without problems.<br />But when loading my project it is crashing and recycling power is mandatory to get it back up and running.<br />I will send my project files by email to you for evaluation / debugging. I do not like to publish them here online.</p><p>Best regards,<br />Peter</p>]]></content>
		<author>
			<name><![CDATA[rexpeter]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=100</uri>
		</author>
		<updated>2018-06-07T19:42:32Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1963#p1963</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Connection refused (code -413)]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1960#p1960"/>
		<content type="html"><![CDATA[<p>Hi Peter,<br />the error &quot;Connection refused (code -413)&quot; means that the target device was reached, but it has actively refused the connection. See e.g.&#160; <a href="https://www.corvil.com/kb/what-is-a-tcp-connection-refused" rel="nofollow">this explanation</a>.</p><p>I still believe the problem is in RexCore, which crashes for some reason. At least I do not see RexCore among your processes listed by &quot;ps ax&quot;.</p><p>Please try to <a href="http://support.rexygen.com/knowledge_base/topics/restarting-rexcore-runtime-module" rel="nofollow">remove all *.rex files from your Raspberry Pi as advised in the Knowledge base</a>, restart RexCore and try to connect from your PC in the office.</p><p>If this solves the problem, you have found a serious bug and I&#039;d love to have your project files which are causing RexCore to crash so we can debug it and trace the root cause. Please let me know.</p><p>Kind regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2018-06-04T06:29:43Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1960#p1960</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Connection refused (code -413)]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1958#p1958"/>
		<content type="html"><![CDATA[<p>Hi Jaroslav,</p><p>Thanks for the feedback on this.<br />Just to inform you, I hooked up one of the 2 Raspberry&#039;s at home to my network and connected with another PC and it is directly working like a charm without having done anything.<br />Also in my office i power-cycled the RPi a few times, but I never could connect with that PC over there. So I still fear that there is something else with my PC in the office that failed to connect to both RPi&#039;s today.<br />I will try this PC in my office as well and will report my findings. <br />For now it is at least working fine and that means I can continue with my &quot;project&quot; ;-)<br />Thanks and have a great weekend!.</p><p>Kind regards,<br />Peter</p>]]></content>
		<author>
			<name><![CDATA[rexpeter]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=100</uri>
		</author>
		<updated>2018-06-01T20:23:23Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1958#p1958</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Connection refused (code -413)]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1957#p1957"/>
		<content type="html"><![CDATA[<p>Hi Peter,<br />&quot;Connection refused (code -413)&quot; means that RexCore is not running on the target device, i.e. nobody is listening on the other end of the communication line and that&#039;s why the connection is refused.</p><p>Please follow <a href="http://support.rexygen.com/knowledge_base/topics/restarting-rexcore-runtime-module" rel="nofollow">the instructions on restarting RexCore</a>.</p><p>Let me know if this helped.</p><p>Kind regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2018-06-01T15:38:01Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1957#p1957</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Connection refused (code -413)]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1956#p1956"/>
		<content type="html"><![CDATA[<p>Hi all,</p><p>I was succesfully working with Rexygen for some while on a Raspberry Pi with MonarcoHAT. But now all of a sudden, I&#039;m getting this above listed error message &quot;Connection refused (code -413)&quot;.<br /><span class="postimg"><img src="https://www.rexygen.com/oldforum/img/members/100/code_413.jpg" alt="code_413.jpg" /></span><br />I tried with a second RPi with MonaroHAT, but am facing the same problem.<br />Everything was working before, but now I&#039;m facing this problem.<br />I can &quot;ping&quot; both RPi&#039;s without problem.<br />Would it be possibible that an automatic update of Windows or an update of a virusscanner would have caused this problem to appear?</p><div class="codebox"><pre class="vscroll"><code>pi@MonarcoHAT01:~ $ uname -a
Linux MonarcoHAT01 4.4.34-v7+ #930 SMP Wed Nov 23 15:20:41 GMT 2016 armv7l GNU/Linux
pi@MonarcoHAT01:~ $ cat /etc/*-release
PRETTY_NAME=&quot;Raspbian GNU/Linux 8 (jessie)&quot;
NAME=&quot;Raspbian GNU/Linux&quot;
VERSION_ID=&quot;8&quot;
VERSION=&quot;8 (jessie)&quot;
ID=raspbian
ID_LIKE=debian
HOME_URL=&quot;http://www.raspbian.org/&quot;
SUPPORT_URL=&quot;http://www.raspbian.org/RaspbianForums&quot;
BUG_REPORT_URL=&quot;http://www.raspbian.org/RaspbianBugs&quot;
pi@MonarcoHAT01:~ $ ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:04 /sbin/init
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00 [ksoftirqd/0]
    4 ?        S      0:00 [kworker/0:0]
    5 ?        S&lt;     0:00 [kworker/0:0H]
    7 ?        S      0:00 [rcu_sched]
    8 ?        S      0:00 [rcu_bh]
    9 ?        S      0:00 [migration/0]
   10 ?        S      0:00 [migration/1]
   11 ?        S      0:00 [ksoftirqd/1]
   13 ?        S&lt;     0:00 [kworker/1:0H]
   14 ?        S      0:00 [migration/2]
   15 ?        S      0:00 [ksoftirqd/2]
   17 ?        S&lt;     0:00 [kworker/2:0H]
   18 ?        S      0:00 [migration/3]
   19 ?        S      0:00 [ksoftirqd/3]
   21 ?        S&lt;     0:00 [kworker/3:0H]
   22 ?        S      0:00 [kdevtmpfs]
   23 ?        S&lt;     0:00 [netns]
   24 ?        S&lt;     0:00 [perf]
   25 ?        S      0:00 [khungtaskd]
   26 ?        S&lt;     0:00 [writeback]
   27 ?        S&lt;     0:00 [crypto]
   28 ?        S&lt;     0:00 [bioset]
   29 ?        S&lt;     0:00 [kblockd]
   31 ?        S&lt;     0:00 [rpciod]
   32 ?        S      0:00 [kswapd0]
   33 ?        S&lt;     0:00 [vmstat]
   34 ?        S      0:00 [fsnotify_mark]
   35 ?        S&lt;     0:00 [nfsiod]
   44 ?        S&lt;     0:00 [kthrotld]
   46 ?        S      0:00 [kworker/2:1]
   47 ?        S&lt;     0:00 [bioset]
   48 ?        S&lt;     0:00 [bioset]
   49 ?        S&lt;     0:00 [bioset]
   50 ?        S&lt;     0:00 [bioset]
   51 ?        S&lt;     0:00 [bioset]
   52 ?        S&lt;     0:00 [bioset]
   53 ?        S&lt;     0:00 [bioset]
   54 ?        S&lt;     0:00 [bioset]
   55 ?        S&lt;     0:00 [bioset]
   56 ?        S&lt;     0:00 [bioset]
   57 ?        S&lt;     0:00 [bioset]
   58 ?        S&lt;     0:00 [bioset]
   59 ?        S&lt;     0:00 [bioset]
   60 ?        S&lt;     0:00 [bioset]
   61 ?        S&lt;     0:00 [bioset]
   62 ?        S&lt;     0:00 [bioset]
   63 ?        S&lt;     0:00 [bioset]
   64 ?        S&lt;     0:00 [bioset]
   65 ?        S&lt;     0:00 [bioset]
   66 ?        S&lt;     0:00 [bioset]
   67 ?        S&lt;     0:00 [bioset]
   68 ?        S&lt;     0:00 [bioset]
   69 ?        S&lt;     0:00 [bioset]
   70 ?        S&lt;     0:00 [bioset]
   71 ?        S&lt;     0:00 [VCHIQ-0]
   72 ?        S&lt;     0:00 [VCHIQr-0]
   73 ?        S&lt;     0:00 [VCHIQs-0]
   74 ?        S&lt;     0:00 [iscsi_eh]
   75 ?        S&lt;     0:00 [dwc_otg]
   76 ?        S&lt;     0:00 [DWC Notificatio]
   78 ?        S      0:00 [irq/92-mmc1]
   79 ?        S      0:00 [VCHIQka-0]
   80 ?        S&lt;     0:00 [SMIO]
   81 ?        S&lt;     0:00 [deferwq]
   84 ?        S&lt;     0:00 [bioset]
   85 ?        S      0:00 [mmcqd/0]
   87 ?        S      0:00 [jbd2/mmcblk0p2-]
   88 ?        S&lt;     0:00 [ext4-rsv-conver]
   89 ?        S&lt;     0:00 [ipv6_addrconf]
  103 ?        S&lt;     0:00 [kworker/2:1H]
  128 ?        Ss     0:00 /lib/systemd/systemd-journald
  130 ?        Ss     0:00 /lib/systemd/systemd-udevd
  169 ?        S      0:00 [spi0]
  170 ?        S      3:42 [w1_bus_master1]
  209 ?        S&lt;     0:00 [cfg80211]
  211 ?        S&lt;     0:00 [brcmf_wq/mmc1:0]
  213 ?        S      0:00 [brcmf_wdog/mmc1]
  216 ?        S      0:00 [kworker/3:2]
  399 ?        Ss     0:00 /usr/sbin/cron -f
  401 ?        Ss     0:00 /lib/systemd/systemd-logind
  404 ?        Ss     0:00 avahi-daemon: running [MonarcoHAT01.local]
  406 ?        Ss     0:00 /usr/bin/dbus-daemon --system --address=systemd: --no
  421 ?        Ss     0:00 /usr/sbin/thd --daemon --triggers /etc/triggerhappy/t
  439 ?        S      0:00 avahi-daemon: chroot helper
  460 ?        S&lt;     0:00 [kworker/1:1H]
  476 ?        Ssl    0:00 /usr/sbin/rsyslogd -n
  489 ?        Ss     0:00 /sbin/wpa_supplicant -s -B -P /run/wpa_supplicant.wla
  577 ?        S&lt;     0:00 [kworker/u9:0]
  578 ?        S&lt;     0:00 [hci0]
  579 ?        S&lt;     0:00 [hci0]
  581 ?        S      0:00 /usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow
  583 ?        S&lt;     0:00 [kworker/u9:2]
  585 ?        Ss     0:00 /usr/lib/bluetooth/bluetoothd
  679 ?        Ss     0:00 /sbin/dhcpcd -q -w
  682 ?        Ss     0:00 /usr/sbin/sshd -D
  713 ?        Ss     0:00 /usr/bin/owserver -c /etc/owfs.conf --pid-file /var/r
  715 tty1     Ss+    0:00 /sbin/agetty --noclear tty1 linux
  741 ?        Ss     0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 106:111
  785 ?        S      0:00 [kworker/u8:1]
  814 ?        S      0:00 [kworker/1:2]
  847 ?        S      0:00 [kworker/u8:2]
  860 ?        S      0:00 [kworker/1:0]
  878 ?        S      0:00 [kworker/2:2]
  879 ?        S      0:00 [kworker/3:0]
  884 ?        S      0:00 [kworker/0:1]
  893 ?        S      0:00 [kworker/2:0]
  896 ?        S      0:00 [kworker/3:1]
  899 ?        Ss     0:00 sshd: pi [priv]
  916 ?        S      0:00 sshd: pi@pts/0
  918 pts/0    Ss     0:00 -bash
  921 ?        S      0:00 [kworker/1:1]
  954 ?        S      0:00 [kworker/0:2]
  967 ?        S      0:00 [kworker/u8:0]
  972 pts/0    R+     0:00 ps ax
pi@MonarcoHAT01:~ $</code></pre></div><p>Any help would be welcome.</p><p>Regards,<br />Peter</p>]]></content>
		<author>
			<name><![CDATA[rexpeter]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=100</uri>
		</author>
		<updated>2018-06-01T14:12:15Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1956#p1956</id>
	</entry>
</feed>
