Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

searching stopped working #8

Open
elerocks opened this issue Feb 28, 2013 · 4 comments
Open

searching stopped working #8

elerocks opened this issue Feb 28, 2013 · 4 comments

Comments

@elerocks
Copy link

Hello,
lately I'm having trouble finding anything using cosmJS (cosm.feed.list). Either it finds 0 results or it just times out. It's propably fault on cosm side, but when cosmJS doesn't work, the hurl ( for example http://api.cosm.com/v2/feeds?user=xkocan00&tag=&q=&per_page=1&page=1&_=1361132779623?key=Ey0UIZkUZhAXtzzqYaPDooIm04GSAKxobUxnbkVhSkVVMD0g ) works. So my question is, whether you don't have this kind of problems or maybe even solution?
small fiddle ilustrating this problem : http://jsfiddle.net/elerocks/pUeue/565/

@petecorreia
Copy link
Contributor

You seem to be using a customized cosm-js in your fiddle, with a custom API endpoint which is the reason why it's not working. If you want to use that API endpoint, you can prepend http:// to make it work.

If you use the original untouched cosm-js, it works as expected I believe.
Here's the current link: http://d23cj0cdvyoxg0.cloudfront.net/cosmjs-1.0.0.min.js

Let me know if it solves it.

@elerocks
Copy link
Author

elerocks commented Mar 4, 2013

Ou, I'm sorry, I've changed cosm-js (when I was trying rly different things to find a solution) and didn't realize it will affect this fiddle also. I used the original again and now it should demonstrate my problem: http://jsfiddle.net/elerocks/pUeue/574/ - try repeatadly pressing the button and it gives you various results

@petecorreia
Copy link
Contributor

That fiddle is still using your custom cosm-js, try saving it so I can debug.

Also, what browser are you using?

@elerocks
Copy link
Author

elerocks commented Mar 4, 2013

yes, but only difference is, that api.cosm.com is replaced by its IP adress (they had some problems with it recently), that behavior was the same with original cosm-js. I'm using latest chrome and firefox. And another thing - this happens only with searching for fulltext ('q') values. If you search by owner, it seems to be ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants