View Issue Details

IDProjectCategoryView StatusLast Update
0002944CCdcielGeneralpublic26-08-17 17:20
ReporterNico Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSLinuxOS Version64bit
Product Version0.9 
Summary0002944: CCDCiel opening port 0 for TCP/IP server
DescriptionHello,

I've been having a new problem for the past two days: CCDCiel seems to be trying to start the TCP/IP server on port 0, which of course fails. In the settings, the default port is actually set to 3277. Resetting it doesn't change anything. I've already reset the configuration files, but that didn't help.

I tried both the PPA and daily versions of CCDCiel, and both exhibited this behaviour.


CCDCiel log:

[...]

2026-08-13T11:35:41.007 1: TCP/IP server stopped

2026-08-13T11:35:44.059 1: Socket error 9: Bad file number.

2026-08-13T11:35:44.225 1: Socket error 9: Bad file number.

2026-08-13T11:35:44.257 2: TCP/IP server is listening on port: 0

[...]

2026-08-13T11:36:56.642 1: Socket error 9: Bad file number.

2026-08-13T11:36:56.645 1: Socket error 9: Invalid file number.

2026-08-13T11:36:56.656 2: TCP/IP server is listening on port: 0

[...]


TagsNo tags attached.

Activities

Patrick Chevalley

26-08-13 15:24

administrator   ~0009924

Last edited: 26-08-13 15:24

The port setting is in the menu Edit / Preference, you can try to change it there if the default 3277 is used by something else.
Try 3278 for example.

Nico

26-08-13 17:24

reporter   ~0009925

Same error when changing port. netstat does not showing any application using the port (not even ccdciel).

Patrick Chevalley

26-08-13 19:04

administrator   ~0009926

What linux system is it?
Do it use ipv6?
It look like the error is when it try to bind to ::0 which normally make the service to listen on all the local ipv6 and ipv4 address.

Nico

26-08-13 20:02

reporter   ~0009927

IPv6 was disabled. Enabled it and it is working again! Thank you

Patrick Chevalley

26-08-17 17:20

administrator   ~0009929

Thank you to confirm that with missing ipv6.

I make a fix so it work with only ipv4 now.
This is available in test version 0.9.97-4228 available from https://vega.ap-i.net/pub/ccdciel/daily_build/

Issue History

Date Modified Username Field Change
26-08-13 11:44 Nico New Issue
26-08-13 15:24 Patrick Chevalley Note Added: 0009924
26-08-13 15:24 Patrick Chevalley Note Edited: 0009924
26-08-13 17:24 Nico Note Added: 0009925
26-08-13 19:04 Patrick Chevalley Note Added: 0009926
26-08-13 20:02 Nico Note Added: 0009927
26-08-17 17:20 Patrick Chevalley Assigned To => Patrick Chevalley
26-08-17 17:20 Patrick Chevalley Status new => resolved
26-08-17 17:20 Patrick Chevalley Resolution open => fixed
26-08-17 17:20 Patrick Chevalley Note Added: 0009929