You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to upload a file with around 90MB and I am getting the error below, can you please verify? It looks like it always get "stuck" around 4521216 bytes (varies a bit).
Please note that this is working on other similar servers only difference is that they have PS 5.1.14409.1012 rather than 5.1.14409.1005, not sure if there is anything else I should be comparing.
Error:
376768 bytes of 127928388 bytes copied
753536 bytes of 127928388 bytes copied
1130304 bytes of 127928388 bytes copied
1507072 bytes of 127928388 bytes copied
1883840 bytes of 127928388 bytes copied
2260608 bytes of 127928388 bytes copied
2637376 bytes of 127928388 bytes copied
3014144 bytes of 127928388 bytes copied
3390912 bytes of 127928388 bytes copied
3767680 bytes of 127928388 bytes copied
4144448 bytes of 127928388 bytes copied
4521216 bytes of 127928388 bytes copied
/usr/share/ruby/openssl/buffering.rb:54:in sysread': execution expired (HTTPClient::ReceiveTimeoutError) from /usr/share/ruby/openssl/buffering.rb:54:in fill_rbuff'
from /usr/share/ruby/openssl/buffering.rb:201:in gets' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb:62:in gets'
from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in block in parse_header' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:801:in parse_header'
from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:784:in read_header' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:561:in get_header'
from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:1299:in do_get_header' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:1245:in do_get_block'
from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in block in do_request' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in protect_keep_alive_disconnected'
from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in do_request' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in request'
from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in post' from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/http/transport.rb:177:in send_request'
from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/shells/power_shell.rb:106:in block in send_command' from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/psrp/message_fragmenter.rb:53:in fragment'
from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/shells/power_shell.rb:103:in send_command' from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/shells/base.rb:130:in with_command_shell'
from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/shells/base.rb:81:in run' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:443:in stream_upload'
from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:474:in block (2 levels) in stream_upload_file' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:473:in open'
from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:473:in block in stream_upload_file' from /usr/share/ruby/benchmark.rb:281:in measure'
from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:472:in stream_upload_file' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:499:in block in stream_upload_files'
from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:495:in each' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:495:in stream_upload_files'
from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:88:in block in upload' from /usr/share/ruby/benchmark.rb:281:in measure'
from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:87:in upload' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/file_manager.rb:113:in block in upload'
from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/connection.rb:44:in shell' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/file_manager.rb:111:in upload'
from /root/bamboo-agent-home/xml-data/build-dir/5963777-45711365/devops/libs/winrm.rb:107:in upload_file' from tomcat_deploy.rb:44:in block (2 levels) in
'
from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/connection.rb:44:in shell' from tomcat_deploy.rb:35:in block in '
from tomcat_deploy.rb:31:in each' from tomcat_deploy.rb:31:in '
The text was updated successfully, but these errors were encountered:
Hi, I am trying to upload a file with around 90MB and I am getting the error below, can you please verify? It looks like it always get "stuck" around 4521216 bytes (varies a bit).
Please note that this is working on other similar servers only difference is that they have PS 5.1.14409.1012 rather than 5.1.14409.1005, not sure if there is anything else I should be comparing.
Client info
gem list
awesome_print (1.8.0)
bigdecimal (1.2.0)
builder (3.2.3)
domain_name (0.5.20170404)
erubis (2.7.0)
ffi (1.9.18)
gssapi (1.2.0)
gyoku (1.3.1)
http-cookie (1.0.3)
httpclient (2.8.3)
io-console (0.4.2)
json (1.7.7)
little-plugger (1.1.4)
logging (2.2.2)
mime-types (3.1)
mime-types-data (3.2016.0521)
multi_json (1.12.2)
netrc (0.11.0)
nori (2.6.0)
psych (2.0.0)
rdoc (4.0.0)
rest-client (2.0.2)
rubyntlm (0.6.2)
rubyzip (1.2.1)
unf (0.1.4)
unf_ext (0.0.7.4)
winrm (2.2.3)
winrm-fs (1.1.1)
Ruby
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
Code
$file_manager.upload(sourceFile, destFile) do |bytes_copied, total_bytes, local_path, remote_path| puts "#{bytes_copied} bytes of #{total_bytes} bytes copied" end
Target server
OS Version: Windows Server 2008 R2 Standard
PSVersionTable
PSVersion 5.1.14409.1005
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14409.1005
CLRVersion 4.0.30319.18444
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WinRM configs
Config
MaxEnvelopeSizekb = 500
MaxTimeoutms = 1800000
MaxBatchItems = 32000
MaxProviderRequests = 4294967295
Client
NetworkDelayms = 5000
URLPrefix = wsman
AllowUnencrypted = false [Source="GPO"]
Auth
Basic = false [Source="GPO"]
Digest = true
Kerberos = true
Negotiate = true
Certificate = true
CredSSP = false
DefaultPorts
HTTP = 5985
HTTPS = 5986
TrustedHosts
Service
RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)
MaxConcurrentOperations = 4294967295
MaxConcurrentOperationsPerUser = 1500
EnumerationTimeoutms = 240000
MaxConnections = 300
MaxPacketRetrievalTimeSeconds = 120
AllowUnencrypted = false [Source="GPO"]
Auth
Basic = false [Source="GPO"]
Kerberos = true
Negotiate = true
Certificate = false
CredSSP = false
CbtHardeningLevel = Relaxed
DefaultPorts
HTTP = 5985
HTTPS = 5986
IPv4Filter = *
IPv6Filter = *
EnableCompatibilityHttpListener = false
EnableCompatibilityHttpsListener = false
CertificateThumbprint =
AllowRemoteAccess = true
Winrs
AllowRemoteShellAccess = true
IdleTimeout = 7200000
MaxConcurrentUsers = 2147483647
MaxShellRunTime = 2147483647
MaxProcessesPerShell = 2147483647
MaxMemoryPerShellMB = 2147483647
MaxShellsPerUser = 2147483647
Error:
'376768 bytes of 127928388 bytes copied
753536 bytes of 127928388 bytes copied
1130304 bytes of 127928388 bytes copied
1507072 bytes of 127928388 bytes copied
1883840 bytes of 127928388 bytes copied
2260608 bytes of 127928388 bytes copied
2637376 bytes of 127928388 bytes copied
3014144 bytes of 127928388 bytes copied
3390912 bytes of 127928388 bytes copied
3767680 bytes of 127928388 bytes copied
4144448 bytes of 127928388 bytes copied
4521216 bytes of 127928388 bytes copied
/usr/share/ruby/openssl/buffering.rb:54:in
sysread': execution expired (HTTPClient::ReceiveTimeoutError) from /usr/share/ruby/openssl/buffering.rb:54:in
fill_rbuff'from /usr/share/ruby/openssl/buffering.rb:201:in
gets' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb:62:in
gets'from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in
block in parse_header' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:801:in
parse_header'from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:784:in
read_header' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:561:in
get_header'from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:1299:in
do_get_header' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:1245:in
do_get_block'from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in
block in do_request' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in
protect_keep_alive_disconnected'from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in
do_request' from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in
request'from /usr/local/share/gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in
post' from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/http/transport.rb:177:in
send_request'from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/shells/power_shell.rb:106:in
block in send_command' from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/psrp/message_fragmenter.rb:53:in
fragment'from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/shells/power_shell.rb:103:in
send_command' from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/shells/base.rb:130:in
with_command_shell'from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/shells/base.rb:81:in
run' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:443:in
stream_upload'from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:474:in
block (2 levels) in stream_upload_file' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:473:in
open'from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:473:in
block in stream_upload_file' from /usr/share/ruby/benchmark.rb:281:in
measure'from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:472:in
stream_upload_file' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:499:in
block in stream_upload_files'from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:495:in
each' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:495:in
stream_upload_files'from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:88:in
block in upload' from /usr/share/ruby/benchmark.rb:281:in
measure'from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/core/file_transporter.rb:87:in
upload' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/file_manager.rb:113:in
block in upload'from /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/connection.rb:44:in
shell' from /usr/local/share/gems/gems/winrm-fs-1.1.1/lib/winrm-fs/file_manager.rb:111:in
upload'from /root/bamboo-agent-home/xml-data/build-dir/5963777-45711365/devops/libs/winrm.rb:107:in
upload_file' from tomcat_deploy.rb:44:in
block (2 levels) infrom /usr/local/share/gems/gems/winrm-2.2.3/lib/winrm/connection.rb:44:in
shell' from tomcat_deploy.rb:35:in
block in 'from tomcat_deploy.rb:31:in
each' from tomcat_deploy.rb:31:in
'The text was updated successfully, but these errors were encountered: