Pod says: !! Invalid request and Error 107 (net::ERR_SSL_PROTOCOL_ERROR):
Hello.
I am trying to run a pod on a Ubuntu 10.10 server
I can run ./script/server
but when I open the browser and open http://diasp.dk:3000
I just get a Error 107 (net::ERR_SSL_PROTOCOL_ERROR):
And then the terminal response with !! Invalid request
diaspora@ubuntu:~/diaspora$ ./script/server
INFO: If you want further performance improvements,
after each git pull before you restart the application, run:
bundle exec rake assets:precompile
>> Using rack adapter
Rack::SSL is enabled
WARNING: You are running Diaspora in production without Resque workers turned on. Please don't do this.
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
!! Invalid request
!! Invalid request
also, for a test, try setting circumvent_ssl_requirement: true in your /config/application.yml
that test may help to separate the issues
I have the same issue. @rivendale2010 's suggestion didn't help the issue. I also tried on ubuntu 12.4 and 10.10 to no avail.
reinstalling the certificate can help sometimes, if it is an SSL issue
and still maybe a client won't SSL3, and Check your Advanced Internet Options (if in windows) and make sure SSL3 is checked.
also clear browser cache files, sometimes authentication info can be stored and make for odd problems when the configuration is changing a lot
I'm still having the issue, though i don't think its an SSL issue. I created a new ssl (self signed) and decided instead of the usual area to just plop it into /diaspora/ssl/server.crt and see if that worked-to no avail. I also tried to connect from a new browser (firefox) with cleared cookies-no avail. Even tried lynx on the server-still no avail.
have you tried using https://diasp.dk:3000
If that still doesn't work: you either haven't set your ssl certificate in your thin config (and no, self-signed won't work with other pods) or you are reverse proxying with apache/nginx and don't set the x-forwarded-proto header in the proxy request.
i was thinking there was no web server (if you know what i mean), is there a port forward setup so that the in coming SSL on port 443 is handled by the web-server that redirects to the app server on port 3000? or some such thing... :) sorry i'm rusty on that stuff :)
but yes could be forwarding wrong, or not forwarding at all :)
i recall now that i also had to set up a 'virtual host' on my access point ... so i guess it also depends on how your web server is connected to the internet
in theory, yes. but it is good practice to leave the app server on localhost:3000 only and probably even block that port from receiving external incoming connections and instead do it by reverse proxying the incoming requests with a "real" webserver like apache or nginx. that way you leave all options open for replacing the app server on the fly or doing load-balancing by starting multiple thin/unicorn instances.
For the record: 99% of the time this issue comes from accessing the appserver directly via https without turning off the SSL requirement or the X-Forwarded-Proto header isn't set to https by the reverse proxy.
No feedback in 4 months and this is a bugtracker, no support board. Closing.