Project

General

Profile

Actions

Defect #2483

closed

"Proxy server could handle the request GET" error and email.yml

Added by Tien Tran almost 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2009-01-09
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I just upgrade redmine to version 0.8, copy database.yml and configure the mail.yml. But I get the following error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /redmine.

Reason: Error reading from remote server

If I delete the mail.yml file, everything works. I tried to create the mail.yml file from scratch by typing all info without cut and paste but still ...
Can anyone please help?

Thanks so much
T


Files

email.yml (426 Bytes) email.yml Tien Tran, 2009-01-09 19:31
production.log.bak (28.4 KB) production.log.bak Tien Tran, 2009-01-09 21:27
mongrel.log (7.92 KB) mongrel.log Tien Tran, 2009-01-09 23:19
email.yml (342 Bytes) email.yml Tien Tran, 2009-01-12 18:15
mongrel.log (8.87 KB) mongrel.log Tien Tran, 2009-01-12 18:15
Actions #1

Updated by Jean-Philippe Lang almost 16 years ago

Attach your email.yml please.

Actions #2

Updated by Tien Tran almost 16 years ago

Here it is

Actions #3

Updated by Jean-Philippe Lang almost 16 years ago

Your email.yml doesn't seem to be invalid.
Can you please provide the Redmine log that shows the error?

Actions #4

Updated by Tien Tran almost 16 years ago

this is the log when redmine successfully starts (without the email.yml file). With email.yml, the log file is empty.

1. I originally install Redmine using Bitnami installation and working great. Then I upgrade using
svn co http://redmine.rubyforge.org/svn/branches/0.8-stable redmine-0.8
2. I then rename the directory to redmine, run svn update, copy database.yml file, create the email.yml and configure with the same smtp server, user and password for smtp.
3. When I browse http://localhost, this error come up

Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /redmine.

Reason: Error reading from remote server

Only when there is no email.yml file in the config directory, redmine will work.
I am running on Vista and Windows 2000 server.
thanks for all the help

Actions #5

Updated by Tien Tran almost 16 years ago

Attached is the mongrel.log file with some error ..... If there is no email.yml file, this log file is empty
I hope this will help

Actions #6

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from New to Closed

This log shows that you have a syntax error in your original email.yml. The error is raised when the YAML module tries to parse it.
For example, make sure you don't use tabs to indent the lines, use spaces only.

It's not a Redmine defect.

Actions #7

Updated by Tien Tran almost 16 years ago

I have removed spaces in the email.yml and now I get different error in the mongrel.log
Here is my gem list

  • LOCAL GEMS ***

actionmailer (2.1.2, 2.1.1, 2.1.0)
actionpack (2.1.2, 2.1.1, 2.1.0)
activerecord (2.1.2, 2.1.1, 2.1.0)
activeresource (2.1.2, 2.1.1, 2.1.0)
activesupport (2.1.2, 2.1.1, 2.1.0)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
echoe (3)
fastthread (1.0.1)
fiveruns_tuneup (0.8.15)
gem_plugin (0.2.3)
highline (1.4.0)
mongrel (1.1.5)
mongrel_service (0.3.4)
mysql (2.7.3)
rails (2.1.2)
rake (0.8.3, 0.8.2)
rmagick (2.3.0)
rubyforge (1.0.0)
rubygems-update (1.3.1)
sqlite3-ruby (1.2.1)
win32-service (0.5.2)

Any idea?
thanks for your help!

Actions #8

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from Reopened to Closed

Your new email.yml is invalid.
Reread my reply, I didn't tell you to remove the spaces at the beginning of the lines.

Your file must look like this:

production:                  <= no spaces at the beginning
  delivery_method: :smtp     <= 2 spaces at the beginning (but no tab and no trailing spaces)
  smtp_settings:
    address: mail.xxx.com    <= 4 spaces at the beginning (but no tab and no trailing spaces)
    port: 25
    domain: xxx.com
...
Actions

Also available in: Atom PDF