Question:
Hi guys, I have an issue connecting to a server in POST, with my Chilkat 9.5.0.46. Request is multipart/form.
Apparently, i get a random timeout error (i tried sending the same file, with the same name several times getting different responses, sometimes timeout, sometime ok).
Is it my problem or can this be an issue due by the server?
Tell me if you need more info to answer my question.
Thanks a lot!
This is my LastErrorText
***LastErrorText <ChilkatLog: SynchronousRequest(438406ms): DllDate: Dec 8 2014 ChilkatVersion: 9.5.0.46 UnlockPrefix: CCSISTHttp Username: NATERO:Paolo Architecture: Little Endian; 32-bit Language: ActiveX VerboseLogging: 1 domain: http://195.31.56.68 port: 8080 ssl: 0 httpRequest: httpVersion: 1.1 verb: POST path: /Storage/edk/multipartServices contentType: multipart/form-data charset: utf-8 sendCharset: 1 mimeHeader: requestParams: requestItem: name: username value: CECSistemi --requestItem requestItem: name: password value: cos_CECSistemi --requestItem requestItem: name: postazione value: usrCeriale --requestItem requestItem: name: codiceAzienda value: CERIALE --requestItem requestItem: name: documentType value: MAGG_Determine --requestItem requestItem: name: method value: loadDocuments --requestItem requestItem: name: filename value: Lotto_37 --requestItem requestItem: name: Lotto_37 fileOnDisk: C:ProgrammiPolis 2000ErmesTMP20150109_161038_381_Lotto_37.zip numValueBytes: 34159285 --requestItem --requestParams --httpRequest readTimeout: 20 connectTimeout: 10 computeRequestDataSize: Request is multipart/form.. itemName: username itemSize: 10 itemName: password itemSize: 14 itemName: postazione itemSize: 10 itemName: codiceAzienda itemSize: 7 itemName: documentType itemSize: 14 itemName: method itemSize: 13 itemName: filename itemSize: 8 itemName: Lotto_37 itemFileName: C:ProgrammiPolis 2000ErmesTMP20150109_161038_381_Lotto_37.zip itemSize: 34159285 --computeRequestDataSize approxRequestSize: 34159908 fullRequest(438406ms): httpRequest: httpVersion: 1.1 verb: POST path: /Storage/edk/multipartServices contentType: multipart/form-data charset: utf-8 sendCharset: 1 mimeHeader: requestParams: requestItem: name: username value: CECSistemi --requestItem requestItem: name: password value: cos_CECSistemi --requestItem requestItem: name: postazione value: usrCeriale --requestItem requestItem: name: codiceAzienda value: CERIALE --requestItem requestItem: name: documentType value: MAGG_Determine --requestItem requestItem: name: method value: loadDocuments --requestItem requestItem: name: filename value: Lotto_37 --requestItem requestItem: name: Lotto_37 fileOnDisk: C:ProgrammiPolis 2000ErmesTMP20150109_161038_381_Lotto_37.zip numValueBytes: 34159285 --requestItem --requestParams --httpRequest HttpOptions: AddHostHeader: 1 AllowCookieResponseCaching: 0 AllowGzip: 1 ConnectTimeoutMs: 10000 CookieDir: FollowRedirects: 1 Login: LoginDomain: AuthMethod: MaxResponseSize: 0 MaxUrlLen: 2000 PasswordLen: 0 ProxyHostname: ProxyLogin: ProxyLogin: ProxyAuthDomain: ProxyPasswordLen: 0 ProxyPort: 80 ReadTimeoutMs: 20000 RequiredContentType: ResumePoint: 0 SaveCookies: 1 SendBufferSize: 65535 SendCookies: 1 SslProtocol: 0 UnavailableRetryCount: 0 UnavailableRetryWaitMs: 2000 --HttpOptions a_synchronousRequest(438406ms): generateRequest: httpRequestGenStartLine: authOnly: 0 hasMimeBody: 1 genStartLine: startLine: POST /Storage/edk/multipartServices HTTP/1.1 --genStartLine --httpRequestGenStartLine addCookies: Not auto-adding cookies. --addCookies addHostHeader: 195.31.56.68 genMultipartFormData: requestParam: name: username --requestParam requestParam: name: password --requestParam requestParam: name: postazione --requestParam requestParam: name: codiceAzienda --requestParam requestParam: name: documentType --requestParam requestParam: name: method --requestParam requestParam: name: filename --requestParam requestParam: name: Lotto_37 filename: C:ProgrammiPolis 2000ErmesTMP20150109_161038_381_Lotto_37.zip --requestParam --genMultipartFormData --generateRequest fullHttpRequest(438406ms): domain: 195.31.56.68 port: 8080 ssl: 0 openHttpConnection(47ms): Opening connection directly to HTTP server. httpHostname: 195.31.56.68 httpPort: 8080 ssl: 0 bUsingHttpProxy: 0 httpProxyAuthMethod: socket2Connect(47ms): connect2(47ms): hostname: 195.31.56.68 port: 8080 ssl: 0 connectSocket(47ms): domainOrIpAddress: 195.31.56.68 port: 8080 connectTimeoutMs: 10000 connect_ipv6_or_ipv4(47ms): This is an IPV4 numeric address. Domain to IP address resolution not needed. connecting to IPV4 address... ipAddress: 195.31.56.68 connect(47ms): Waiting for the connect to complete... myIP: 192.168.0.36 myPort: 4588 socket connect successful. --connect --connect_ipv6_or_ipv4 --connectSocket --connect2 --socket2Connect socketOptions: SO_SNDBUF: 8192 SO_RCVBUF: 8192 TCP_NODELAY: 0 --socketOptions connectElapsedMs: 47 HTTP connection succeeded. --openHttpConnection connectTime: Elapsed time: 47 millisec startLine: POST /Storage/edk/multipartServices HTTP/1.1 requestHeader: requestHeader: Content-Type: multipart/form-data; boundary=------------040707070303080507030707 Host: 195.31.56.68:8080 Content-Length: 34160232 --requestHeader computeRequestDataSize: Request is multipart/form.. itemName: username itemSize: 10 itemName: password itemSize: 14 itemName: postazione itemSize: 10 itemName: codiceAzienda itemSize: 7 itemName: documentType itemSize: 14 itemName: method itemSize: 13 itemName: filename itemSize: 8 itemName: Lotto_37 itemFileName: C:ProgrammiPolis 2000ErmesTMP20150109_161038_381_Lotto_37.zip itemSize: 34159285 --computeRequestDataSize sendRequestHeader: sendHeaderElapsedMs: 0 --sendRequestHeader sendRequestBody(418281ms): idleTimeoutMs: 20000 genMultipartFormData(418281ms): requestParam: name: username --requestParam requestParam: name: password --requestParam requestParam: name: postazione --requestParam requestParam: name: codiceAzienda --requestParam requestParam: name: documentType --requestParam requestParam: name: method --requestParam requestParam: name: filename --requestParam requestParam(418281ms): name: Lotto_37 filename: C:ProgrammiPolis 2000ErmesTMP20150109_161038_381_Lotto_37.zip --requestParam --genMultipartFormData sendBodyElapsedMs: 418281 --sendRequestBody readResponseHeader(20078ms): Timeout waiting to read socket or accept connection timeoutMs: 20000 recvUntilMatch: Socket operation timeout. nReceived: 0 Failed to read response header. quickCloseHttpConnection(78ms): terminateConnection(78ms): Timeout waiting to read socket or accept connection timeoutMs: 10 Terminated TCP connection. --terminateConnection --quickCloseHttpConnection --readResponseHeader --fullHttpRequest success: 0 --a_synchronousRequest success: 0 --fullRequest totalTime: Elapsed time: 438406 millisec Failed. --SynchronousRequest --ChilkatLog