dropbox / dropbox/hackpad

search url returns 404

Open
#36 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.6k
Forks
519
PR merge metrics
No merged PRs in 30d

Description

Hi!

For some reason nothing happens at the main page while entering something in the search field, although the url changed accordinly (i.e. http://site/ep/search/?q=searchword). it is understandable since direct opening this url returns 404 error:

hp.treatface.ru 127.0.0.1 - - [13/Nov/2015:08:51:53 -0800] "GET /ep/search/?q=test HTTP/1.0" 404 15395 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2562.0 Safari/537.36" 86

![image](https://cloud.githubusercontent.com/assets/15836314/11151793/0b786a6a-8a40-11e5-9e7e-43540dc2a0bd.png)

at the same time, live search at some pad is working fine:

hp.treatface.ru 127.0.0.1 - - [13/Nov/2015:09:01:13 -0800] "GET /ep/search/autocomplete?q=test&limit=8×tamp=1447434074040 HTTP/1.0" 200 152 "https://hp.treatface.ru/Welcome-to-Hackpad-IsBor2DFgrM" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2562.0 Safari/537.36" 44

![image](https://cloud.githubusercontent.com/assets/15836314/11152040/67c2ae56-8a41-11e5-87d3-d61d04317300.png)

and url search_live is OK too (although these results are not for direct opening):

hp.treatface.ru 127.0.0.1 - - [13/Nov/2015:09:04:46 -0800] "GET /ep/search/search_live?q=test HTTP/1.0" 200 12385 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2562.0 Safari/537.36" 91

![image](https://cloud.githubusercontent.com/assets/15836314/11152123/d70a2fb4-8a41-11e5-846d-6e7a5cf302b5.png)

while googling I found exactly the same problem at the hackpad.com itself which was solved somehow even before this repository was created here at github: https://twitter.com/jasonkotenko/status/596078472373608448

this is my environment:

a48@scan-mail:/usr/local/hackpad$ uname -a
Linux scan-mail 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u5 x86_64 GNU/Linux

a48@scan-mail:/usr/local/hackpad$ java -version
java version "1.6.0_36"
OpenJDK Runtime Environment (IcedTea6 1.13.8) (6b36-1.13.8-1~deb7u1)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)

thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.