Questions tagged [protocolexception]
41 questions
2
votes
2 answers
ProtocolException: unexpected end of stream
I've been dealing with an issue that keeps coming back and I'm getting quite frustrated. I'm trying to connect to my database via a template php webservice that I found online, by sending it JSONObjects. I keep getting either an IOException or…

MatejS
- 19
- 1
- 1
- 2
2
votes
0 answers
dotNetOpenAuth how to debug a protocol exception
I've been trying to debug a dotnetOpenAuth.Messaging.Protocol exception for awhile and I can't figure out how to find the exact problem and fix it.
I've been using MVC and I am trying to log a user with Oauth2. It works just fine for the normal…

nastassiar
- 1,545
- 2
- 24
- 43
2
votes
1 answer
ProtocolException: The incoming transaction cannot be deserialized
I have a simple WCF Service running on different environments. Today I tried to run it on my Windows 7 workstation and got this error on my client (which is simple console application for testing):
System.ServiceModel.ProtocolException: The incoming…

Vad
- 858
- 2
- 7
- 17
1
vote
1 answer
Does System.ServiceModel.ProtocolException always have html code in its message?
Thats my question, I'm catching a few WCF exceptions on my client and the ProtocolException always has html code in its message.
Could I assume that will happen every time? For what I see the real good message comes in the inner exception, could I…

sebagomez
- 9,501
- 7
- 51
- 89
1
vote
1 answer
Get details from Bad Request (400) response using ClientBase in C#
I have a problem with getting details from SOAP service response. The SOAP service returns some error codes using status 400 (BadRequest). When I call the service using SOAP UI, I see the error details like below:

kowalikw
- 11
- 1
1
vote
1 answer
Android MediaPlayer : info/warning (703, 0),info/warning (702, 0),info/warning (701, 0),ProtocolException when try to seek from a random position
Im streaming an mp3 audio from a url by using mediaplayer, Now im able to play music , But when i select seekbar at a random position, music getting stopped and the below exception and warning occurs
W/MediaPlayer: info/warning (703,…

Mr Robot
- 1,747
- 6
- 35
- 67
1
vote
0 answers
okhttpUtils post a audio as params but throw java.net.ProtocolException: expected 1875 bytes but received 2067
This is my code to uspost an audio as a params to my server,but sometimes it would work fail ,i don't know where is wrong ,who can help me or give me some suggestion ,thank u~
OkHttpUtils.post(postUrl)
.params("Filedata",new…

JinJieGoo
- 21
- 5
1
vote
1 answer
Desktop client web server communication
I am doing client server communication. I got both connected via URLConnection classes.
Now I am trying to send log in information to server, Server will check if information is correct else it will ask me to log in again and for this scenario lets…

Haseeb Wali
- 1,181
- 3
- 14
- 34
0
votes
1 answer
playframework ProtocolException invalid message
I have a funny phenomenon:
If I start a blank index.html page with this controller:
public class Application extends Controller {
public static void index() {
render();
}
}
I don't see the index page but get the offer to download a…

eriq
- 1,524
- 3
- 13
- 22
0
votes
1 answer
WCF server with .net 4.7 and client with .net 6.0 - protocol error
I currently try to extend a WCF windows only program to make it viable on Linux. Therefore, I need to port the WCF backend communication to .net 6.0. I establish a server connection like this:
public static IService Connect(ServerCredential…

EEEEEEB
- 3
- 3
0
votes
0 answers
How to resolve: Server redirected too many times?
Looked through stackoverflow for resolutions, and found this but that didn't help.
Getting this exception
java.net.ProtocolException: Server redirected too many times (20)
at…

Cardsfan
- 99
- 1
- 1
- 7
0
votes
2 answers
WCF Weird Service Behavior
I'm using a wsHttpBinding service that is working perfectly since now. My WPF application (client) is connected to it and automatically receives information from the server every 15 seconds.
I've been noticing that sometimes (once in a while, some…

user658664
- 1
- 1
- 2
0
votes
0 answers
"ProtocolException: problem parsing majorVersion=null as int" Android Q Beta 3
I'm getting this exception in my app, after trying it on Android Q Beta 3. Looks like I'm missing majorVersion parameter... but I haven't found it in the documentation. Does anyone faced this issue?
java.net.ProtocolException: problem parsing…

Roger Alien
- 3,040
- 1
- 36
- 46
0
votes
1 answer
WCF + TransactionScopeRequired + async + throw fault => ProtocolException "transaction under which method was executing was asynchronously aborted"
Calling a WCF operation marked with "TransactionScopeRequired = true" on a service that uses an asynchronous host implementation (in my case using Tasks) and throws an exception asynchronously (i.e. from a continuation), always seems to result in…

Gilles Hemberg
- 61
- 1
- 8
0
votes
2 answers
C# Request not timing out
I have this code which runs in a BackgroundWorker, and should make a POST request to the server and get a response. It works fine when it is supposed to work, but when I try to induce a 404 error it doesn't catch the error reporting…

Joel Kennedy
- 1,581
- 5
- 19
- 41