Hello Mark,

When I encounter network related issues like that, it can sometimes be
helpful to get a network traffic capture with an application like
Wireshark.  When testing connections to FluidSynth you'd want to capture on
the lo loop back interface.  I'd also check to make sure you don't have any
firewall rules enabled which would be causing this.  It might be worth
doing a quick test using netcat to create a TCP/IP server on the same port
9800 and see if it works, to rule out any system related causes of port
9800 being blocked.

Also, are you using the default Fedora package for FluidSynth or are you
building from source?  If you try building from source, does the issue also
occur.

If I was still having issues, I'd start delving into debugging FluidSynth.
For example, setting a breakpoint on fluid_server_handle_connection() to
see if that callback is getting called when an incoming connection occurs.
Or checking to see if fluid_istream_readline() gets called, which handles
shell input and see if it is returning any values which would cause a
disconnect.

Hopefully that is helpful in figuring out what is going on.

Best regards,

Element Green


On Mon, Jan 19, 2015 at 2:59 AM, Mark Knoop <m...@opus11.net> wrote:

> Hi list,
>
> I'm having a problem on Fedora 21 where fluidsynth rejects any server
> connection. This always worked without problems on Fedora 20 and
> earlier which leads me to suspect that it might be related to some
> distro change or update (e.g. compiler version).
>
> Has anyone experienced anything similar? I could use some suggestions
> as to how to debug this. I have tried building from git source
> (master) and get the same result.
>
> Thanks for any help.
>
> $ fluidsynth -lsi -apulseaudio &
> [1] 18386
> FluidSynth version 1.1.6
> Copyright (C) 2000-2012 Peter Hanappe and others.
> Distributed under the LGPL license.
> SoundFont(R) is a registered trademark of E-mu Systems, Inc.
>
> fluidsynth: Using PulseAudio driver
>
> $ telnet 127.0.0.1 9800
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> Connection closed by foreign host.
>
> $ echo fonts | nc 127.0.0.1 9800
> Ncat: Connection reset by peer.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1183328
>
> --
> Mark Knoop
>
> _______________________________________________
> fluid-dev mailing list
> fluid-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/fluid-dev
>
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to