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

Can't access any paste nor readme.md #139

Closed
KingDuckZ opened this issue Nov 15, 2016 · 3 comments
Closed

Can't access any paste nor readme.md #139

KingDuckZ opened this issue Nov 15, 2016 · 3 comments

Comments

@KingDuckZ
Copy link

Probably a consequence of the patch suggested in issue #53:

  1. I access myhost.com/haste and I get the hastebin page
  2. I input some text
  3. I press the "save" button
  4. pasted text appears in the browser as expected
  5. I refresh the page and I get the home page again
  6. I paste the address of the newly created paste but I still get redirected to the home page

The same happens if I try to access about.md. On the server I get:

nov 15 21:58:06 alarmpi2 systemd[1]: Started Simple and secure temporary file storage.
nov 15 21:58:12 alarmpi2 node[12773]: info: configuring redis
nov 15 21:58:16 alarmpi2 node[12773]: info: compressed application.js into application.min.js
nov 15 21:58:16 alarmpi2 node[12773]: info: loading static document name=about, path=./about.md
nov 15 21:58:16 alarmpi2 node[12773]: info: listening on 0.0.0.0:7777
nov 15 21:58:16 alarmpi2 node[12773]: info: connected to redis on 192.168.3.9:6379/3
nov 15 21:58:16 alarmpi2 node[12773]: debug: loaded static document success=true
nov 15 21:58:27 alarmpi2 node[12773]: verbose: added document key=owajigoviv
nov 15 21:58:32 alarmpi2 node[12773]: warn: document not found key=undefined
@asabla
Copy link

asabla commented Nov 23, 2016

Seems like your missing some post data from the uri (e.g: nov 15 21:58:32 alarmpi2 node[12773]: warn: document not found key=undefined).

Do you have a proxy in front of the hastebin service? If that is the case, what are your current settings?

@KingDuckZ
Copy link
Author

Yes I have nginx on a different server set up as described in #53. Pull request #140 fixes the problem for me, if I still use the nginx configuration suggested in #53.

@Logic-gate
Copy link

Added proxy instructions in wiki from http://www.ctrl-alt-del.cc/2014/11/haste-server-base-url-hackpatch.html.

Closing issue.

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

3 participants