Giter Site home page Giter Site logo

Exception thrown from Hopac about http.fs HOT 5 CLOSED

simax avatar simax commented on August 20, 2024
Exception thrown from Hopac

from http.fs.

Comments (5)

haf avatar haf commented on August 20, 2024 1

You could use tryGetResponse and it should be caught. — might be quicker in this case ;)

let getResponse request =

from http.fs.

haf avatar haf commented on August 20, 2024

Thanks for reporting. What is the exception thrown?

from http.fs.

simax avatar simax commented on August 20, 2024

Apologies, silly of me not to have shown the exception that gets thrown. This is it:

Exception has occurred: CLR/System.Exception
An unhandled exception of type 'System.Exception' occurred in Hopac.dll: 'Exception raised by job'
 Inner exceptions found, see $exception in variables window for more details.
 Innermost exception 	 System.Net.Sockets.SocketException : No connection could be made because the target machine actively refused it.
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at System.Net.Http.ConnectHelper.<ConnectAsync>d__1.MoveNext()

from http.fs.

haf avatar haf commented on August 20, 2024

Yes you are right. I have an updated version available but I need a maintainer to do the integration and documentation; if you have a time budget for it, you can have the code if you make it into a PR

from http.fs.

simax avatar simax commented on August 20, 2024

I'm struggling for time for the next few weeks but beyond that I could give it a go. I've never contributed to an OSS project before so I'll need to come back to you then and get more detail on what would be involved. I would like to give something back.

from http.fs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.