abragon / procurement

Automatically exported from code.google.com/p/procurement
0 stars 0 forks source link

Can't Log In with Session ID or UN/PW #432

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1.) Did you first check the wiki for your issue?y
2.) Did you check to see if there is already a ticket for your issue?y
3.) Have you attached your DebugInfo.log?y

What version of Procurement are you using? 1.8.5 On what operating system? 
Windows 8.1

What steps will reproduce the problem?
1.Attempting to log in

What is the expected output? What do you see instead?
Authenticating 
Smooshface                                   
                              

[Error] The underlying connection was closed: An unexpected error occurred on a 
receive.

Please provide any additional information below.
If I try to log in with a username/PW it authenticates, then fails to load 
characters

DebugInfo.log
System.Net.WebException: The underlying connection was closed: An unexpected 
error occurred on a receive. ---> System.IO.IOException: Unable to read data 
from the transport connection: An existing connection was forcibly closed by 
the remote host. ---> System.Net.Sockets.SocketException: An existing 
connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at POEApi.Transport.HttpTransport.Authenticate(String email, SecureString password, Boolean useSessionID)
   at POEApi.Model.POEModel.Authenticate(String email, SecureString password, Boolean offline, Boolean useSessionID)
   at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.<Login>b__1()
   at System.Threading.Tasks.Task.Execute()

Original issue reported on code.google.com by david.ho...@gmail.com on 10 Oct 2014 at 2:50

GoogleCodeExporter commented 8 years ago
The error looks like a network issue, have you checked 
firewall/router/anti-virus/run as admin etc?

Original comment by stickymaddness on 14 Oct 2014 at 4:54

GoogleCodeExporter commented 8 years ago
I uninstalled my AV and did a run as admin and neither worked.  I also disabled 
windows firewall and added it to the allowed programs and no success either.

Finally I checked my external firewall, and there was no blocking as well.  I'm 
not sure what else to look at.  Here's the output when I use my UN/PW instead 
of Session ID

System.Net.WebException: The underlying connection was closed: An unexpected 
error occurred on a receive. ---> System.IO.IOException: Unable to read data 
from the transport connection: An existing connection was forcibly closed by 
the remote host. ---> System.Net.Sockets.SocketException: An existing 
connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at POEApi.Transport.HttpTransport.GetCharacters()
   at POEApi.Transport.CachedTransport.GetCharacters()
   at POEApi.Model.POEModel.GetCharacters()
   at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.<Login>b__1()System.Exception: Failed to load characters ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
   --- End of inner exception stack trace ---
   at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.<Login>b__1()
   at System.Threading.Tasks.Task.Execute()

Original comment by david.ho...@gmail.com on 15 Oct 2014 at 1:22

GoogleCodeExporter commented 8 years ago
I did find the issue, apparently my firewall decided to add an IPS that saw 
Procurement as malicious, whitelisted it, and we are good.

Thanks for the help!

Original comment by david.ho...@gmail.com on 15 Oct 2014 at 1:43

GoogleCodeExporter commented 8 years ago
No problem, glad you got it sorted!

Original comment by stickymaddness on 15 Oct 2014 at 4:11