开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Cannot connect to fldigi using KISS-over-TCP


 

Greetings,
I've got fldigi configured to listen on port 8001, TCP/IP, Listen/Bind, Auto Connect/Retry.

In YAAC, I configure a KISS-over-TCP port, localhost, 8001. Sometimes when I save the port it doesn't actually save properly. I'll go back in and my callsign would be missing and, when I was using a port other than 8001, the port number would be missing. Every time I try to enable the port I get the following error:

1702507944738: PortEditor: starting to create editor
1702507944739: PortEditor: starting to create per-driver cards
1702507944739: PortEditor: loading editor class for KISS-over-TCP
1702507944739: PortEditor: creating card for KISS-over-TCP
1702507944803: PortEditor: creating card selector
1702507944812: PortEditor: selected appropriate default card KISS-over-TCP
1702507944812: PortEditor: created.
Wed Dec 13 17:52:29 EST 2023: opening TCP socket to KISS TNC at localhost/127.0.0.1:8001
Error Opening Port; Discard This Port?: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at org.ka2ddo.yaac.io.KissOverTcpConnector.configure(KissOverTcpConnector.java:277)
at org.ka2ddo.yaac.gui.BlinkenLight$1.itemStateChanged(BlinkenLight.java:262)
at java.desktop/javax.swing.AbstractButton.fireItemStateChanged(AbstractButton.java:2000)
at java.desktop/javax.swing.AbstractButton$Handler.itemStateChanged(AbstractButton.java:2320)
at java.desktop/javax.swing.DefaultButtonModel.fireItemStateChanged(DefaultButtonModel.java:458)
at java.desktop/javax.swing.JToggleButton$ToggleButtonModel.setSelected(JToggleButton.java:374)
at java.desktop/javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:392)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6626)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3389)
at java.desktop/java.awt.Component.processEvent(Component.java:6391)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

I had it working once but then fldigi froze up and wouldn't respond. Any ideas?

73,
Eric WG3K


 

开云体育

Greetings.

Part of the problem here is that fldigi doesn't _stay_ in KISS mode. It vastly prefers being in ARQ mode, and switches back to it when a KISS connection is closed. So you will have to manually put fldigi into KISS mode every time before you connect YAAC to it. And some Fldigi support apps such as Flamp _only_ work in ARQ mode.

Also, FLDIGI's default KISS port number is not the same as AGWPE/DireWolf's default KISS port number, so you will have to change it (preferably on the YAAC side) before opening the connection.

I hope when you got the "Connection refused" error, you didn't tell YAAC to discard the port configuration.

Andrew, KA2DDO
author of YAAC

From: [email protected] <[email protected]> on behalf of Eric H. Christensen via groups.io <eric@...>
Sent: Wednesday, December 13, 2023 5:57:59 PM

Greetings,
I've got fldigi configured to listen on port 8001, TCP/IP, Listen/Bind, Auto Connect/Retry.

In YAAC, I configure a KISS-over-TCP port, localhost, 8001.? Sometimes when I save the port it doesn't actually save properly.? I'll go back in and my callsign would be missing and, when I was using a port other than 8001, the port number would be missing.? Every time I try to enable the port I get the following error:

1702507944738: PortEditor: starting to create editor
1702507944739: PortEditor: starting to create per-driver cards
1702507944739: PortEditor: loading editor class for KISS-over-TCP
1702507944739: PortEditor: creating card for KISS-over-TCP
1702507944803: PortEditor: creating card selector
1702507944812: PortEditor: selected appropriate default card KISS-over-TCP
1702507944812: PortEditor: created.
Wed Dec 13 17:52:29 EST 2023: opening TCP socket to KISS TNC at localhost/127.0.0.1:8001
Error Opening Port; Discard This Port?: java.net.ConnectException: Connection refused
??????? at java.base/sun.nio.ch.Net.pollConnect(Native Method)
??????? at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
??????? at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
??????? at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
??????? at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
??????? at java.base/java.net.Socket.connect(Socket.java:633)
??????? at org.ka2ddo.yaac.io.KissOverTcpConnector.configure(KissOverTcpConnector.java:277)
??????? at org.ka2ddo.yaac.gui.BlinkenLight$1.itemStateChanged(BlinkenLight.java:262)
??????? at java.desktop/javax.swing.AbstractButton.fireItemStateChanged(AbstractButton.java:2000)
??????? at java.desktop/javax.swing.AbstractButton$Handler.itemStateChanged(AbstractButton.java:2320)
??????? at java.desktop/javax.swing.DefaultButtonModel.fireItemStateChanged(DefaultButtonModel.java:458)
??????? at java.desktop/javax.swing.JToggleButton$ToggleButtonModel.setSelected(JToggleButton.java:374)
??????? at java.desktop/javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:392)
??????? at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
??????? at java.desktop/java.awt.Component.processMouseEvent(Component.java:6626)
??????? at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3389)
??????? at java.desktop/java.awt.Component.processEvent(Component.java:6391)
??????? at java.desktop/java.awt.Container.processEvent(Container.java:2266)
??????? at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001)
??????? at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
??????? at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
??????? at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
??????? at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
??????? at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
??????? at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
??????? at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
??????? at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
??????? at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
??????? at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
??????? at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
??????? at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
??????? at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
??????? at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
??????? at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
??????? at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
??????? at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
??????? at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
??????? at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
??????? at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
??????? at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
??????? at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
??????? at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
??????? at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

I had it working once but then fldigi froze up and wouldn't respond.? Any ideas?

73,
Eric