canjs / can-connect-feathers

The FeathersJS client library for DoneJS and can-connect
https://canjs.com/doc/can-connect-feathers.html
MIT License
10 stars 4 forks source link

this produces a wrong request to feathers-api #73

Closed frank-dspeed closed 7 years ago

frank-dspeed commented 7 years ago
Error: Timeout of 5000ms exceeded calling http://localhost:3030/users::find
    at Timeout.<anonymous> (file:/home/frank/artist/node_modules/feathers-socket-commons/lib/client.js:89:25)

the ::find shouldnt be there

marshallswain commented 7 years ago

@frank-dspeed I think this might be an issue with steal-socket.io, as well. Can you check?

marshallswain commented 7 years ago

Ok. Thanks for verifying.

frank-dspeed commented 7 years ago

oh no sorry the find was a result of the usage of getList({}) as i droped {} it worked

frank-dspeed commented 7 years ago

i am not sure if that is a bug i think the error results from the empty object as option and it expects something diffrent but getList() worked

frank-dspeed commented 7 years ago

@marshallswain this can be closed the issue was really wrong usage from me i used the socket.io connection then i used as service('http://url.com/users') naming this 'users' did the trick

marshallswain commented 7 years ago

Thanks!