Hi there.


I am trying to connect to a Lightstreamer server but the connection stalls at the bind_session.txt step.


I can replicate this behaviour in Postman, calling create_session.txt works and produces an LS_session (SessionId), but requests to bind_session.txt never return anything and always just time out. Just to be clear, we do not get any error message or anything at all. It just never responds to the request with any data whatsoever.


In the iOS Client, this manifests as an endless cycle of connecting and disconnecting...


Code:
	CONNECTING
	CONNECTED:STREAM-SENSING
	CONNECTED:HTTP-STREAMING
	CONNECTED:HTTP-POLLING
	DISCONNECTED:WILL-RETRY
	CONNECTING
	CONNECTED:HTTP-POLLING
	DISCONNECTED:WILL-RETRY
	CONNECTING
	CONNECTED:HTTP-POLLING
	DISCONNECTED:WILL-RETRY
	CONNECTING
	CONNECTED:HTTP-POLLING
	DISCONNECTED:WILL-RETRY
	CONNECTING
	...
The same client connects to other Lightstreamer servers ok but just not to our production server (I believe it's an Allegro server, 5.1.1).

For the record, the client code is super simple:

Code:
    override func viewDidLoad() {
        super.viewDidLoad()
        
        LSLightstreamerClient.setLoggerProvider(LSConsoleLoggerProvider())


        let client = LSLightstreamerClient(serverAddress: "https://....:443/", adapterSet: ".....")
        client.addDelegate(self)
        client.connect()
    }
    
    func client(client: LSLightstreamerClient, didChangeStatus status: String) {
        NSLog(status);
    }

I have no idea what the next debugging step would be. What would cause this? How do we debug this issue?