Skip to content

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

Description

@mlsomers

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions