Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to connect on a secure connection (https) #9

Open
1 of 4 tasks
mlsomers opened this issue Jul 4, 2024 · 0 comments
Open
1 of 4 tasks

Fails to connect on a secure connection (https) #9

mlsomers opened this issue Jul 4, 2024 · 0 comments

Comments

@mlsomers
Copy link

mlsomers commented Jul 4, 2024

A secure connection to RabbitMq using Https is failing. (using Http does connect)

This is the stack trace:

System.IO.EndOfStreamException: Poging voorbij het einde van de stroom te lezen.
   bij StompNet.IO.AsyncStreamReader.<ReadNBytesAsync>d__10.MoveNext() in E:\workspace\StompNet\StompNet\IO\AsyncStreamReader.cs:regel 91
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
   bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bij StompNet.IO.AsyncStreamReader.<ReadCharAsync>d__12.MoveNext() in E:\workspace\StompNet\StompNet\IO\AsyncStreamReader.cs:regel 113
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
   bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bij StompNet.IO.AsyncStreamReader.<ReadLineAsync>d__16.MoveNext() in E:\workspace\StompNet\StompNet\IO\AsyncStreamReader.cs:regel 160
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
   bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bij StompNet.IO.Stomp12FrameReader.<ReadCommandAsync>d__8.MoveNext() in E:\workspace\StompNet\StompNet\IO\Stomp12FrameReader.cs:regel 99
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
   bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bij StompNet.IO.Stomp12FrameReader.<ReadFrameAsyncImpl>d__7.MoveNext() in E:\workspace\StompNet\StompNet\IO\Stomp12FrameReader.cs:regel 78
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
   bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bij StompNet.IO.Stomp12FrameReader.<ReadFrameAsync>d__6.MoveNext() in E:\workspace\StompNet\StompNet\IO\Stomp12FrameReader.cs:regel 68
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
   bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bij StompNet.IO.StompFrameObservable.<ReadFrames>d__9.MoveNext() in E:\workspace\StompNet\StompNet\IO\StompFrameObservable.cs:regel 84

Unfortunately MS still has not solved the translated exceptions issue. so the top exception translates to:
Attempt to read past the end of the stream.

Maybe put this in the readme.md to save some fellow developers time when looking for a suitable solution, or attract their interest to contribute:

Implemented so far:

  • Http

Not yet supported:

  • Https
  • Websockets
  • Websockets over Https
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant