Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
adcgermany
Contributor II
Contributor II

Port address of publisher server changing everytime while distributing as per logs

Hi All,

As per qlik, qlikview will use only specific ports like 4747,4720,etc . But in our environment , we can see the port number of publisher is changing everytime we distribute an application . Below 63194 is used as publisher port. Is this expected ?

Actually we are facing one intermittent distribution failure issue and that's when we checked this

900 Debug QvSocket: Read error (end of file) on [TCP socket 25.0.8.14:4747 <-> 25.0.8.16:63194]

20181010T083948.000+0200 20181010T114705.000+0200 4 900 Debug StdServer: OnRemoteClosed entered for socket 25.0.8.14:4747 <-> 25.0.8.16:63194

20181010T083948.000+0200 20181010T114705.000+0200 4 900 Debug QvSocket: Closing [TCP socket 25.0.8.14:4747 <-> 25.0.8.16:63194]

3 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Socket communications using TCP/IP work like this:

  • you have a listener that listens on a well-defined port for connections (usually, this listener does this all the time because this service can't know beforehand when requests for a session will arrive.) Thats the documented port which is 4720 for the QDS (see QMC if you have a different configuration) or 4747 to talk to the QVS using the QVP protocol.
  • you have a client that wants to talk to the service that is listening on this well-defined port. This client can use any unused port between 1024 and 65535 to start talking. In your example the client who is initiating the connection is using port 63194. In most cases, ports are randomised so you won't get the same port twice.

I don't immediately see any indicators of problems in your log file snippet.

Peter

adcgermany
Contributor II
Contributor II
Author

Hi Peter ,

Thanks for the response .

During the intermittent distribution task failure , I am getting below error from task log. Could you please help with this log

(10/10/2018 12:48:48 PM) Information: Completed ReduceData for C:\ProgramData\QlikTech\DistributionService\1\temp\4fe68b4d-9ad9-4770-ad18-c95b68a8d901\document.qvw. (Reduce=False, Save=True)

(10/10/2018 12:48:48 PM) Information: Memory Allocation Delta for this file=-511.25 Mb. Available Physical Memory Before Reduce=16856.09 Mb. Available Physical Memory After Reduce=17300.98 Mb. Total Physical Memory=17300.98 Mb.

(10/10/2018 12:48:51 PM) Information: Distributing

(10/10/2018 12:48:51 PM) Information: Distributing using resource " Reload & Distribute Of CRM-UAT Application_QVS_1".

(10/10/2018 12:48:51 PM) Information: Trying to distribute. QVS=qvp://abtaws-qvsrqa1/

(10/10/2018 12:48:51 PM) Information: Connecting to QlikView Server. Address=abtaws-qvsrqa1:4747

(10/10/2018 12:49:51 PM) Error: Failed to connect to QlikView Server. This error is most likely because the server is not contactable or that the account the QlikView Distribution Service is running as is lacking permissions. Address=abtaws-qvsrqa1:4747, Exception=System.Exception: The communication with QlikView Server failed (TimedOut)! || at QlikTech.NetClient.QvClient.GetMessageDataFromSocket(Byte[] buffer) || at QlikTech.NetClient.QvClient.GetMessageSizeFromSocket() || at QlikTech.NetClient.QvClient.Open() || at QVSWrapper.QlikViewServer..ctor(Action`2 i_Logger, String i_Hostname, Int32 i_Port, Mode i_Mode, Boolean i_Https) || at QlikTech.QlikViewServerConnection..ctor(Action`2 i_Logger, String i_Address, String i_Username, String i_Password) || at QlikTech.QVSHelper.GetQlikViewServerConnection(String i_ForPath, String& o_RelativePath, String i_Username, String i_Password)

(10/10/2018 12:49:51 PM) Error: Could not connect. Type=QlikView Server, Path=qvp://abtaws-qvsrqa1/. Exception=System.Exception: Could not connect! Path=qvp://abtaws-qvsrqa1/ ---> System.Exception: GetQlikViewServerConnection returned null || at QlikTech.DMS.Connect(String i_Path) || --- End of inner exception stack trace --- || at QlikTech.DMS.Connect(String i_Path) || at QDSMain.FileSystemPluginHelper.CreateInstanceOfPluginHandlingPath(ILogBucket i_LogBucket, String i_Path, String i_Username, String i_Password, LogMessage i_LogMessage, LogFileProgress i_LogFileProgress)

(10/10/2018 12:49:51 PM) Error: FileSystem Plugin was not found - No operations will be executed! Path=qvp://abtaws-qvsrqa1/

(10/10/2018 12:49:51 PM) Error: Could not connect to QVS. QVS=qvp://abtaws-qvsrqa1/

(10/10/2018 12:49:51 PM) Error: Could not connect. QVS=qvp://abtaws-qvsrqa1/

(10/10/2018 12:49:51 PM) Error: QVS Distribution failed to distribute to QVS

(10/10/2018 12:49:51 PM) Error: Distribution to resources failed with errors. Warnings: 0, Errors: 6

Bill_Britt
Former Employee
Former Employee

Hi,

It appears that the Distribution service can't connect to the QVS server to upload the file.

Connecting to QlikView Server. Address=abtaws-qvsrqa1:4747

It could be that the QVS is offline, DNS can't resolve the name abtaws-qvsrqa1 or port 4747 is blocked

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.