Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
REMINDER: Qlik Cloud: Removing the deprecated Developer role and Enable API keys toggle: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
RM8
Contributor II
Contributor II

Error in run Gateway Service - gateway disconnected

hi,

qlik-data-gateway-direct-access.exe was installed and configured,

when i run start service i didn't get connected in cloud gateway.

i found these errors in logs:

 

Configured QvxLogger with GrpcMockConnector.Logging.MockConnectorLogger, Info

2026-05-06 14:11:18.410 [1] - INFO - Configuring connector

2026-05-06 14:11:18.544 [1] - INFO - Running server

2026-05-06 14:11:18.696 [1] - INFO - gRPC Config Info:  ReuseReloadSession=True ReloadSessionLife=20 ReuseCommandSession=False CommandSessionLife=60  MaxSendMessageSize=134217728, MaxReceiveMessageSize=134217728, DnsResolverRefreshInterval=0, EnableEventMetrics=False MaxActiveReloads=-1, ReloadsAboveMaxAllowance=0 MaxRejectCount:20 FileTransferAboveMaxAllowance=0, DataChunkSize=65536, MaxDataQueueCapacity=10000, DataFieldOptimizationThreshold=0, EnableFileHosting=False, GrpcLogLevel=Warning

2026-05-06 14:11:18.714 [1] - INFO - connector running on 127.0.0.1, listening on port 50320 for endpoint instance

2026-05-06 14:11:19.062 [1] - INFO - Configuring Messaging

2026-05-06 14:11:19.143 [1] - INFO - Kestrel Limits Http2 = HeaderTableSize: 4096, InitialConnectionWindowSize: 1048576, InitialStreamWindowSize: 786432, KeepAlivePingDelay: 10675199.02:48:05.4775807, KeepAlivePingTimeout: 00:00:20, MaxFrameSize: 4194303, MaxRequestHeaderFieldSize: 32768, MaxStreamsPerConnection: 100

2026-05-06 14:11:19.146 [1] - INFO - Listening at address 127.0.0.1:50320

2026-05-06 14:11:19.148 [1] - INFO - Listening at address 127.0.0.1:3065

2026-05-06 14:11:19.160 [1] - INFO - MessagePublisher not enabled

2026-05-06 14:11:19.160 [1] - INFO - ShutdownService created (ShutdownTimeoutSeconds=3600)

 

Connection to <our Tenant>.il.qlikcloud.com:443 failed

System.Net.WebSockets.WebSocketException (0x80004005): Unable to connect to the remote server

---> System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (<our Tenant>.qlikcloud.com:443)

---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

  

i don't see in Qlik document the ports : 50320, 3065

 

why we need this?

can you help me understand what the issue?

Labels (2)
2 Replies
Rahul_Kale
Support
Support

Hello RM8,

 

Thank you for reaching out to the Qlik community.
 

Why do ports 50320 and 3065 appear:-
 

  • These are local (loopback) ports used internally by the Direct Access gateway services (connector agent / health & messaging) on 127.0.0.1.
  • They do NOT need to be opened on your firewall and are intentionally not listed as external ports in Qlik docs because they are service‑internal bindings only.

2) What’s actually failing:-
 

  • Your logs clearly show a failure to establish an outbound WebSocket (WSS) connection to <tenant>.qlikcloud.com on port 443:Connection to <tenant>.qlikcloud.com:443 failed System.Net.WebSockets.WebSocketException
  • Direct Access gateways require outbound HTTPS/WSS (TCP 443) to Qlik Cloud. No inbound ports are required, but outbound access must be allowed end‑to‑end (firewall, proxy, SSL inspection).

3) Most likely root causes:-
 

  • Outbound TCP 443 blocked or restricted by firewall.
  • Proxy / SSL inspection interfering with WebSocket or certificate validation (common cause).
  • Missing proxy configuration on the gateway server (if your network requires one).

Please refer to this article for more information on the same.

 

4) What to check:-
 

  • From the gateway server, confirm outbound access to:https://<tenant>.qlikcloud.com:443
  • If using a proxy:
  • Ensure your gateway version is current.
RM8
Contributor II
Contributor II
Author

Thanks to your response, i have another issue  when i run gateway service: ERROR moduleConfig was not found for QCSConnectionBroker ,

Do you know what the issue?