mirror of
https://github.com/JLiscom/OpenNote.git
synced 2026-04-27 09:15:49 +03:00
[GH-ISSUE #102] Connection to service failed after install #88
Labels
No labels
bug
enhancement
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OpenNote-JLiscom#88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @1337sup3rh4x0r on GitHub (Oct 16, 2014).
Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/102
Hi there,
After installing opennote on nginx I only get a login button but no register button. Also after loading the page I get the error message "Connection to service failed" and the nginx log shows the message
2014/10/16 13:12:39 [error] 21400#0: *11 "/var/www_opennote/Service/service.php/config/index.html" is not found (20: Not a directory), client: 192.168.217.41, server: , request: "GET /Service/service.php/config/ HTTP/1.1", host: "192.168.217.201:444", referrer: "https://192.168.217.201:444/"
@JLiscom commented on GitHub (Oct 16, 2014):
Do you have php installed on the webserver?
@1337sup3rh4x0r commented on GitHub (Oct 17, 2014):
Yes, I have!
My nginx config looks like this:
@JLiscom commented on GitHub (Oct 17, 2014):
I know whats wrong but I don't know how to fix it.
Your error show the application is requesting
Service/service.php/config/index.htmlwhen it should be requestingService/service.php/config/.It appears ngix is adding the
index.htmltoService/service.php/config/I do not know how to fix that.
@JLiscom commented on GitHub (Oct 17, 2014):
http://nginx.org/en/docs/http/ngx_http_autoindex_module.html
maybe turn auto index off????
@1337sup3rh4x0r commented on GitHub (Oct 18, 2014):
Thank you for looking into this!
When I add
nothing changes.
Or what should I put behind "location"?
@JLiscom commented on GitHub (Oct 19, 2014):
@Killer1337 I don't know. I am an Apache guy.
The problem appears ngix is adding the
index.htmltoService/service.php/config/You will need to figure out how to turn that behavior off.
@1337sup3rh4x0r commented on GitHub (Oct 19, 2014):
Over at nginx forum I got help and straightened out my config. It now reads:
Changing the stuff behind location was the key :)
From chrome I can now create a profile and log in ok.
However on Firefox I get the message "Credentials accepted" but I am not redirected after that. I am stuck with looking at the login and register buttons.
Do you have any clue what that might be?
@JLiscom commented on GitHub (Oct 19, 2014):
Can you provide your install url? There is this issue going on https://github.com/FoxUSA/OpenNote/issues/84 with Firefox I cannot seem to replicate.
@JLiscom commented on GitHub (Oct 19, 2014):
@Killer1337
May have found the issue. Try implementing this change
github.com/FoxUSA/OpenNote@c8916ea54a@1337sup3rh4x0r commented on GitHub (Oct 20, 2014):
After a quick glance it looks like this solved the problem.
Thank you very much!
@D3Hunter commented on GitHub (Oct 20, 2014):
Better use "include fastcgi.conf" instead of "include fastcgi_params", as "fastcgi_param SCRIPT_FILENAME" is removed from fastcgi_params in new version of nginx, because of which nginx'll send wrong request to php5-fpm and register button won't show up.