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

Data loading #5

Open
martinrisseeuw opened this issue Jun 3, 2015 · 1 comment
Open

Data loading #5

martinrisseeuw opened this issue Jun 3, 2015 · 1 comment

Comments

@martinrisseeuw
Copy link

Hi Cambecc,

I am trying to setup a version of the Tokyo Wind Map on my machine. I have followed the steps in the description unfortunately I can't get it running properly. When I start the server I get the error 500 Internal Server Error.

When I look at the console, it gives an error:
"NetworkError: 500 Internal Server Error - http://localhost:8080/data/wind/current"

I started the server using this command:
node server.js 8080 postgres://postgres:12345@localhost:5432/air http://www.taiki.kankyo.metro.tokyo.jp

It does give back some errors:

2015-06-03T08:48:26.369Z - error: error: password authentication failed for user "postgres"
    at Connection.parseE (/Users/martinrisseeuw/Dropbox/Development projects/Windmap/node_modules/pg/lib/connection.js:526:11)
    at Connection.parseMessage (/Users/martinrisseeuw/Dropbox/Development projects/Windmap/node_modules/pg/lib/connection.js:371:17)
    at Socket.<anonymous> (/Users/martinrisseeuw/Dropbox/Development projects/Windmap/node_modules/pg/lib/connection.js:86:20)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (_stream_readable.js:764:14)
    at Socket.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:426:10)
    at emitReadable (_stream_readable.js:422:5)
    at readableAddChunk (_stream_readable.js:165:9)
    at Socket.Readable.push (_stream_readable.js:127:10)
2015-06-03T08:48:26.370Z - info: 127.0.0.1 - - GET /data/wind/current HTTP/1.1 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0" http://localhost:8080/ - gzip, deflate

I hope you can help me. I would like to use your project as a starting point for displaying flow and water quality.

Best,

Martin

@evz
Copy link

evz commented Aug 26, 2015

Ran into the same thing. You need to put in the actual credentials you use to get into your postgresql database. So, instead of postgres and 12345 you need to put in the actual user and password.

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

2 participants