These are chat archives for spring-cloud/spring-cloud

24th
Nov 2015
hacbq
@hacbq
Nov 24 2015 02:26
I created it :smile: , wait & hope Netflix/Hystrix#993
eroubal
@rubesMN
Nov 24 2015 18:11
@spencergibb wrt http://stackoverflow.com/questions/33838361/spring-cloud-1-0-2-and-sr3-resttemplate-ignoring-my-responseerrorhandler I am unable to get your solution to work. I check my restTemplate object reference ID anyway and the one I make (with the ResponseErrorHandler) is the one that I get.. and it STILL doesn't use the ResponseErrorHandler
Spencer Gibb
@spencergibb
Nov 24 2015 19:22
@rubesMN I’d have to see your code to figure out why mine works and yours does not.
eroubal
@rubesMN
Nov 24 2015 20:55
ok.. just figured out what is happening. ResponseErrorHandler is not used when there are connection issues. Only response issues. The timing of the app changed such that pre-filtering based on connection was not as accurate and hence there was a chance of a connection throwing an exception. There is no way to stop connection issues from thowing an exception other than adding some kind of localhost Proxy via HttpConnectionFactory which I'm going to avoid. Sorry for that.
Spencer Gibb
@spencergibb
Nov 24 2015 20:56
np, glad you figured it out.