benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 114 forks source link

couchbeam_changes_stream:loop crashes #132

Closed cwmichi closed 8 years ago

cwmichi commented 9 years ago

Hi,

I am using couchbeam with the current version 1.1.8 (tag) and getting an error during the call with couchbeam_changes:follow

1> couchbeam_changes:follow({db,{server,<<"http://localhost:5984">>,[]},<<"my_db1">>,[]}, [continuous,include_docs]). {ok,#Ref<0.0.1.11618>}

At first I am receiving the changes, but then the connecting interrupts with {closed, timeout}.

[error] CRASH REPORT Process <0.748.0> with 0 neighbours exited with reason: {error,{closed,timeout}} in couchbeam_changes_stream:loop/1 line 178

I don´t get this error with couchbeam version 1.1.6 (tag), any hint´s ?

Michael

benoitc commented 9 years ago

using the same version of couchdb?

On Wed, 7 Oct 2015 at 11:39, Michael Scharrer notifications@github.com wrote:

Hi,

I am using couchbeam with the current version 1.3.2 and getting an error during the call with couchbeam_changes:follow

1> couchbeam_changes:follow({db,{server,<<"http://localhost:5984">>,[]},<<"my_db1">>,[]}, [continuous,include_docs]). {ok,#Ref<0.0.1.11618>}

At first I am receiving the changes, but then the connecting interrupts with {closed, timeout}.

[error] CRASH REPORT Process <0.748.0> with 0 neighbours exited with reason: {error,{closed,timeout}} in couchbeam_changes_stream:loop/1 line 178

I don´t get this error with couchbeam version 1.2.0, any hint´s ?

Michael

— Reply to this email directly or view it on GitHub https://github.com/benoitc/couchbeam/issues/132.

cwmichi commented 9 years ago

Hey benoitc, sorry I mean: couchbeam with the version tag 1.1.8 my CouchDB version is currently 1.6.1 from the apache website.

benoitc commented 9 years ago

should be fixed in latest release. Let me know :)

benoitc commented 8 years ago

no answer. closing issue as it's supposed to work.