cloud9 Heroku deployment fails - mongodb

I developed a meanjs app on Cloud 9. I am trying to deploy my app directly on cloud 9 using heorku. Even though I followed instruction on the cloud 9 webpage, I get error:
Opening morning-tor-4953... xprop: unable to open display ''
xprop: unable to open display ''
/usr/bin/xdg-open: 461: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 461: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 461: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 461: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'https://morning-tor-4953.herokuapp.com/'
done
I already ran mongodb server, but I still get error saying that "Could not connect to MongoDB!"
If I hit heroku logs, get:
2015-11-19T02:38:59.583495+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/" host=morning-tor-4953.herokuapp.com request_id=161f64ce-741e-4fdc-9ca6-9c895faa1ae5 fwd="73.162.6.191" dyno=web.1 connect=2ms service=19ms status=503 bytes=0
2015-11-19T02:38:59.574516+00:00 app[web.1]:
2015-11-19T02:38:59.579597+00:00 app[web.1]: /app/node_modules/connect-mongo/lib/connect-mongo.js:186
2015-11-19T02:38:59.579605+00:00 app[web.1]: at null.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
2015-11-19T02:38:59.579605+00:00 app[web.1]: at emit (events.js:106:17)
2015-11-19T02:38:59.579601+00:00 app[web.1]: throw err;
2015-11-19T02:38:59.579603+00:00 app[web.1]: Error: Error connecting to database: failed to connect to [localhost:27017]
2015-11-19T02:38:59.579606+00:00 app[web.1]: at null.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
2015-11-19T02:38:59.579602+00:00 app[web.1]: ^
2015-11-19T02:38:59.579607+00:00 app[web.1]: at emit (events.js:98:17)
2015-11-19T02:38:59.579608+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
2015-11-19T02:38:59.579609+00:00 app[web.1]: at Socket.emit (events.js:95:17)
2015-11-19T02:38:59.579609+00:00 app[web.1]: at net.js:441:14
2015-11-19T02:38:59.579610+00:00 app[web.1]: at process._tickCallback (node.js:448:13)
2015-11-19T02:38:59.584641+00:00 app[web.1]: error: Forever detected script exited with code: 8
2015-11-19T02:38:59.692801+00:00 app[web.1]: Application loaded using the "production" environment configuration
2015-11-19T02:38:59.587909+00:00 app[web.1]: error: Script restart attempt #1
2015-11-19T02:39:00.999132+00:00 app[web.1]: MEAN.JS application started on port 49295
2015-11-19T02:39:01.003451+00:00 app[web.1]: Could not connect to MongoDB!
2015-11-19T02:39:01.003546+00:00 app[web.1]: Error: failed to connect to [localhost:27017]
2015-11-19T02:39:03.770258+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/favicon.ico" host=morning-tor-4953.herokuapp.com request_id=a7da53eb-d4db-41ed-974d-a030a42ceb80 fwd="73.162.6.191" dyno=web.1 connect=0ms service=43ms status=503 bytes=0
2015-11-19T02:39:03.752380+00:00 app[web.1]:
2015-11-19T02:39:03.753346+00:00 app[web.1]: throw err;
2015-11-19T02:39:03.755515+00:00 app[web.1]: ^
2015-11-19T02:39:03.757380+00:00 app[web.1]: Error: Error connecting to database: failed to connect to [localhost:27017]
2015-11-19T02:39:03.757383+00:00 app[web.1]: at null.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
2015-11-19T02:39:03.757384+00:00 app[web.1]: at emit (events.js:106:17)
2015-11-19T02:39:03.757384+00:00 app[web.1]: at null.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
2015-11-19T02:39:03.757386+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
2015-11-19T02:39:03.757385+00:00 app[web.1]: at emit (events.js:98:17)
2015-11-19T02:39:03.757388+00:00 app[web.1]: at Socket.emit (events.js:95:17)
2015-11-19T02:39:03.757388+00:00 app[web.1]: at net.js:441:14
2015-11-19T02:39:03.757389+00:00 app[web.1]: at process._tickCallback (node.js:448:13)
2015-11-19T02:39:03.768047+00:00 app[web.1]: error: Forever detected script exited with code: 8
2015-11-19T02:39:03.974171+00:00 app[web.1]: Application loaded using the "production" environment configuration
2015-11-19T02:39:03.752606+00:00 app[web.1]: /app/node_modules/connect-mongo/lib/connect-mongo.js:186
2015-11-19T02:39:03.777694+00:00 app[web.1]: error: Script restart attempt #2
2015-11-19T02:39:05.613044+00:00 app[web.1]: MEAN.JS application started on port 49295
2015-11-19T02:39:05.617739+00:00 app[web.1]: Error: failed to connect to [localhost:27017]
2015-11-19T02:39:05.617448+00:00 app[web.1]: Could not connect to MongoDB!
2015-11-19T02:40:02.990789+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/" host=morning-tor-4953.herokuapp.com request_id=2a339f1a-48d1-45b3-9f59-8615d5fcd368 fwd="73.162.6.191" dyno=web.1 connect=1ms service=42ms status=503 bytes=0
2015-11-19T02:40:02.970997+00:00 app[web.1]: throw err;
2015-11-19T02:40:02.970290+00:00 app[web.1]:
2015-11-19T02:40:02.979524+00:00 app[web.1]: at null.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
2015-11-19T02:40:02.979521+00:00 app[web.1]: Error: Error connecting to database: failed to connect to [localhost:27017]
2015-11-19T02:40:02.979525+00:00 app[web.1]: at emit (events.js:106:17)
2015-11-19T02:40:02.979526+00:00 app[web.1]: at null.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
2015-11-19T02:40:02.979527+00:00 app[web.1]: at emit (events.js:98:17)
2015-11-19T02:40:02.979528+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
2015-11-19T02:40:02.979529+00:00 app[web.1]: at Socket.emit (events.js:95:17)
2015-11-19T02:40:02.979529+00:00 app[web.1]: at net.js:441:14
2015-11-19T02:40:02.979530+00:00 app[web.1]: at process._tickCallback (node.js:448:13)
2015-11-19T02:40:02.970566+00:00 app[web.1]: /app/node_modules/connect-mongo/lib/connect-mongo.js:186
2015-11-19T02:40:02.990026+00:00 app[web.1]: error: Forever detected script exited with code: 8
2015-11-19T02:40:03.130024+00:00 app[web.1]: Application loaded using the "production" environment configuration
2015-11-19T02:40:02.976366+00:00 app[web.1]: ^
2015-11-19T02:40:02.994300+00:00 app[web.1]: error: Script restart attempt #3
2015-11-19T02:40:04.195764+00:00 app[web.1]: MEAN.JS application started on port 49295
2015-11-19T02:40:04.199716+00:00 app[web.1]: Could not connect to MongoDB!
2015-11-19T02:40:04.199776+00:00 app[web.1]: Error: failed to connect to [localhost:27017]
2015-11-19T02:40:08.179702+00:00 app[web.1]:
2015-11-19T02:40:08.179705+00:00 app[web.1]: /app/node_modules/connect-mongo/lib/connect-mongo.js:186
2015-11-19T02:40:08.179707+00:00 app[web.1]: throw err;
2015-11-19T02:40:08.179707+00:00 app[web.1]: ^
2015-11-19T02:40:08.179710+00:00 app[web.1]: at emit (events.js:106:17)
2015-11-19T02:40:08.179709+00:00 app[web.1]: at null.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
2015-11-19T02:40:08.179708+00:00 app[web.1]: Error: Error connecting to database: failed to connect to [localhost:27017]
2015-11-19T02:40:08.179710+00:00 app[web.1]: at null.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
2015-11-19T02:40:08.179711+00:00 app[web.1]: at emit (events.js:98:17)
2015-11-19T02:40:08.179712+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
2015-11-19T02:40:08.179713+00:00 app[web.1]: at net.js:441:14
2015-11-19T02:40:08.179714+00:00 app[web.1]: at process._tickCallback (node.js:448:13)
2015-11-19T02:40:08.179713+00:00 app[web.1]: at Socket.emit (events.js:95:17)
2015-11-19T02:40:08.195613+00:00 app[web.1]: error: Forever detected script exited with code: 8
2015-11-19T02:40:08.403848+00:00 app[web.1]: Application loaded using the "production" environment configuration
2015-11-19T02:40:08.198542+00:00 app[web.1]: error: Script restart attempt #4
2015-11-19T02:40:08.196245+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/favicon.ico" host=morning-tor-4953.herokuapp.com request_id=10a0b882-9c31-44d8-9e91-438506b1f0fc fwd="73.162.6.191" dyno=web.1 connect=2ms service=53ms status=503 bytes=0
2015-11-19T02:40:10.813150+00:00 app[web.1]: MEAN.JS application started on port 49295
2015-11-19T02:40:10.814675+00:00 app[web.1]: Error: failed to connect to [localhost:27017]
2015-11-19T02:40:10.814328+00:00 app[web.1]: Could not connect to MongoDB!
2015-11-19T02:50:22.474045+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/" host=morning-tor-4953.herokuapp.com request_id=85f06246-b903-4778-9d4a-ad9f490e07e0 fwd="73.162.6.191" dyno=web.1 connect=0ms service=39ms status=503 bytes=0
2015-11-19T02:50:22.458714+00:00 app[web.1]:
2015-11-19T02:50:22.459778+00:00 app[web.1]: throw err;
2015-11-19T02:50:22.464081+00:00 app[web.1]: Error: Error connecting to database: failed to connect to [localhost:27017]
2015-11-19T02:50:22.464083+00:00 app[web.1]: at null.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
2015-11-19T02:50:22.464085+00:00 app[web.1]: at null.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
2015-11-19T02:50:22.464084+00:00 app[web.1]: at emit (events.js:106:17)
2015-11-19T02:50:22.464086+00:00 app[web.1]: at emit (events.js:98:17)
2015-11-19T02:50:22.464087+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
2015-11-19T02:50:22.464088+00:00 app[web.1]: at net.js:441:14
2015-11-19T02:50:22.464087+00:00 app[web.1]: at Socket.emit (events.js:95:17)
2015-11-19T02:50:22.472755+00:00 app[web.1]: error: Forever detected script exited with code: 8
2015-11-19T02:50:22.464089+00:00 app[web.1]: at process._tickCallback (node.js:448:13)
2015-11-19T02:50:22.459125+00:00 app[web.1]: /app/node_modules/connect-mongo/lib/connect-mongo.js:186
2015-11-19T02:50:22.462353+00:00 app[web.1]: ^
2015-11-19T02:51:05.724024+00:00 heroku[router]: at=error code=H21 desc="Backend connection refused" method=GET path="/favicon.ico" host=morning-tor-4953.herokuapp.com request_id=bf1e57b4-1812-4bcb-a960-a9b6d0e4dd50 fwd="73.162.6.191" dyno=web.1 connect=0ms service= status=503 bytes=
2015-11-19T02:53:48.794265+00:00 heroku[router]: at=error code=H21 desc="Backend connection refused" method=GET path="/" host=morning-tor-4953.herokuapp.com request_id=28f7eb8c-fbc6-423b-bde6-4295e56d07b1 fwd="73.162.6.191" dyno=web.1 connect=0ms service= status=503 bytes=
2015-11-19T02:54:19.312933+00:00 heroku[router]: at=error code=H21 desc="Backend connection refused" method=GET path="/" host=morning-tor-4953.herokuapp.com request_id=4aadb262-7f39-459f-ac5d-a95b0ce2383f fwd="73.162.6.191" dyno=web.1 connect=0ms s rvice= status=503 bytes=
2015-11-19T02:56:30.735444+00:00 heroku[web.1]: State changed from up to down
2015-11-19T02:58:47.943599+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2015-11-19T02:58:50.739096+00:00 heroku[web.1]: Process exited with status 143
Can you spot what cause this problem, and how to solve this issue? I downloaded whole file and tried to deploy locally, but it failed again. I think the problem is that I need some modification to Mongodb setup to deploy from my local computer because cloud 9 has different environment. Can anyone help me?

I faced the same error while developing a rails app on c9 for the first time. You simply have to click on the URL of your app (https://morning-tor-4953.herokuapp.com/) and then from them click open.

Related

Deploying Kotlin Spring Boot App to Heroku - App crashes with H10

I am building an application that uploads files to Postgres with a Gradle Kotlin Spring Boot Backend. I build it locally and everything worked fine now I wanted to deploy the backend to Heroku. I added the Heroku Postgres Ressources and updated my application.properties and tested the DB connection with IntelliJ and it seems to be working.
Now when I deploy it and open my URL I get an Application error. In my console I see
GET https://unsplasy-backend.herokuapp.com/ 503 (Service Unavailable)
favicon.ico:1 GET https://unsplasy-backend.herokuapp.com/favicon.ico 503 (Service Unavailable)
After running heroku logs --tail I get the following output
2021-04-19T11:08:01.056208+00:00 app[web.1]: at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
2021-04-19T11:08:01.126263+00:00 heroku[web.1]: Process exited with status 1
2021-04-19T11:08:01.203810+00:00 heroku[web.1]: State changed from starting to crashed
2021-04-19T11:08:03.074812+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=unsplasy-backend.herokuapp.com request_id=58e31d19-484f-44e5-b5b0-ba39931a10c4 fwd="45.86.203.98" dyno= connect= service= status=503 bytes= protocol=https
2021-04-19T11:08:03.513057+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=unsplasy-backend.herokuapp.com request_id=256e63d5-77de-46f9-9062-f21880e2c964 fwd="45.86.203.98" dyno= connect= service= status=503 bytes= protocol=https
2021-04-19T11:08:10.824894+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=unsplasy-backend.herokuapp.com request_id=2225a1d2-28fd-4d21-b9f9-6017da94540e fwd="45.86.203.98" dyno= connect= service= status=503 bytes= protocol=https
2021-04-19T11:08:11.203409+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=unsplasy-backend.herokuapp.com request_id=b4861295-84c0-4393-9869-8ba9ca1eb5d0 fwd="45.86.203.98" dyno= connect= service= status=503 bytes= protocol=https
2021-04-19T11:08:23.000000+00:00 app[api]: Build succeeded
2021-04-19T11:09:22.000000+00:00 app[api]: Build started by user marco.braun2013#icloud.com
2021-04-19T11:10:17.835261+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=unsplasy-backend.herokuapp.com request_id=b4c155c0-ba77-4796-b570-d61e6b5c7582 fwd="45.86.203.98" dyno= connect= service= status=503 bytes= protocol=https
2021-04-19T11:10:18.234507+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=unsplasy-backend.herokuapp.com request_id=21e5b9d2-ba5f-4b56-9733-1120855e7831 fwd="45.86.203.98" dyno= connect= service= status=503 bytes= protocol=https
2021-04-19T11:10:29.554184+00:00 app[api]: Deploy 808fbdd5 by user marco.braun2013#icloud.com
2021-04-19T11:10:29.554184+00:00 app[api]: Release v11 created by user marco.braun2013#icloud.com
2021-04-19T11:10:30.764211+00:00 heroku[web.1]: State changed from crashed to starting
2021-04-19T11:10:34.769023+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=7456 $JAVA_OPTS -jar build/libs/*.jar`
2021-04-19T11:10:37.737112+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/procfile
2021-04-19T11:10:37.754141+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2021-04-19T11:10:37.757609+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2021-04-19T11:10:38.302494+00:00 app[web.1]: Exception in thread "main" java.lang.UnsupportedClassVersionError: mbraun/unsplasy/UnsplasyApplicationKt has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
2021-04-19T11:10:38.302797+00:00 app[web.1]: at java.lang.ClassLoader.defineClass1(Native Method)
2021-04-19T11:10:38.302798+00:00 app[web.1]: at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
2021-04-19T11:10:38.302799+00:00 app[web.1]: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
2021-04-19T11:10:38.302800+00:00 app[web.1]: at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
2021-04-19T11:10:38.302836+00:00 app[web.1]: at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
2021-04-19T11:10:38.302883+00:00 app[web.1]: at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
2021-04-19T11:10:38.302918+00:00 app[web.1]: at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
2021-04-19T11:10:38.302993+00:00 app[web.1]: at java.security.AccessController.doPrivileged(Native Method)
2021-04-19T11:10:38.303057+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
2021-04-19T11:10:38.303149+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
2021-04-19T11:10:38.303225+00:00 app[web.1]: at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)
2021-04-19T11:10:38.303316+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
2021-04-19T11:10:38.303318+00:00 app[web.1]: at java.lang.Class.forName0(Native Method)
2021-04-19T11:10:38.303413+00:00 app[web.1]: at java.lang.Class.forName(Class.java:348)
2021-04-19T11:10:38.303415+00:00 app[web.1]: at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:46)
2021-04-19T11:10:38.303461+00:00 app[web.1]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
2021-04-19T11:10:38.303548+00:00 app[web.1]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
2021-04-19T11:10:38.303608+00:00 app[web.1]: at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
2021-04-19T11:10:38.367928+00:00 heroku[web.1]: Process exited with status 1
2021-04-19T11:10:38.426299+00:00 heroku[web.1]: State changed from starting to crashed
2021-04-19T11:10:38.816929+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=unsplasy-backend.herokuapp.com request_id=0d92e58d-9078-4909-9997-d8a806d124bd fwd="45.86.203.98" dyno= connect= service= status=503 bytes= protocol=https
2021-04-19T11:10:39.184155+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=unsplasy-backend.herokuapp.com request_id=ab885968-5f0c-4a7d-b844-1d9074b4ab45 fwd="45.86.203.98" dyno= connect= service= status=503 bytes= protocol=https
2021-04-19T11:11:03.000000+00:00 app[api]: Build succeeded
2021-04-19T11:16:52.131964+00:00 heroku[web.1]: State changed from crashed to starting
2021-04-19T11:16:56.540255+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=38647 $JAVA_OPTS -jar build/libs/*.jar`
2021-04-19T11:16:58.584422+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/procfile
2021-04-19T11:16:58.600495+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2021-04-19T11:16:58.603888+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2021-04-19T11:16:59.012658+00:00 app[web.1]: Exception in thread "main" java.lang.UnsupportedClassVersionError: mbraun/unsplasy/UnsplasyApplicationKt has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
2021-04-19T11:16:59.012878+00:00 app[web.1]: at java.lang.ClassLoader.defineClass1(Native Method)
2021-04-19T11:16:59.012976+00:00 app[web.1]: at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
2021-04-19T11:16:59.013043+00:00 app[web.1]: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
2021-04-19T11:16:59.013109+00:00 app[web.1]: at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
2021-04-19T11:16:59.013188+00:00 app[web.1]: at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
2021-04-19T11:16:59.013259+00:00 app[web.1]: at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
2021-04-19T11:16:59.013329+00:00 app[web.1]: at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
2021-04-19T11:16:59.014247+00:00 app[web.1]: at java.security.AccessController.doPrivileged(Native Method)
2021-04-19T11:16:59.014248+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
2021-04-19T11:16:59.014248+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
2021-04-19T11:16:59.014249+00:00 app[web.1]: at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)
2021-04-19T11:16:59.014249+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
2021-04-19T11:16:59.014250+00:00 app[web.1]: at java.lang.Class.forName0(Native Method)
2021-04-19T11:16:59.014251+00:00 app[web.1]: at java.lang.Class.forName(Class.java:348)
2021-04-19T11:16:59.014350+00:00 app[web.1]: at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:46)
2021-04-19T11:16:59.014351+00:00 app[web.1]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
2021-04-19T11:16:59.014351+00:00 app[web.1]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
2021-04-19T11:16:59.014351+00:00 app[web.1]: at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
2021-04-19T11:16:59.228371+00:00 heroku[web.1]: Process exited with status 1
2021-04-19T11:16:59.327826+00:00 heroku[web.1]: State changed from starting to crashed
2021-04-19T11:16:59.332351+00:00 heroku[web.1]: State changed from crashed to starting
2021-04-19T11:17:04.242879+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=17021 $JAVA_OPTS -jar build/libs/*.jar`
2021-04-19T11:17:07.238276+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/procfile
2021-04-19T11:17:07.268382+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2021-04-19T11:17:07.272732+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2021-04-19T11:17:07.767002+00:00 app[web.1]: Exception in thread "main" java.lang.UnsupportedClassVersionError: mbraun/unsplasy/UnsplasyApplicationKt has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
2021-04-19T11:17:07.767483+00:00 app[web.1]: at java.lang.ClassLoader.defineClass1(Native Method)
2021-04-19T11:17:07.767673+00:00 app[web.1]: at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
2021-04-19T11:17:07.767796+00:00 app[web.1]: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
2021-04-19T11:17:07.767953+00:00 app[web.1]: at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
2021-04-19T11:17:07.768085+00:00 app[web.1]: at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
2021-04-19T11:17:07.768273+00:00 app[web.1]: at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
2021-04-19T11:17:07.768415+00:00 app[web.1]: at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
2021-04-19T11:17:07.768819+00:00 app[web.1]: at java.security.AccessController.doPrivileged(Native Method)
2021-04-19T11:17:07.768945+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
2021-04-19T11:17:07.769079+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
2021-04-19T11:17:07.769225+00:00 app[web.1]: at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)
2021-04-19T11:17:07.769353+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
2021-04-19T11:17:07.769510+00:00 app[web.1]: at java.lang.Class.forName0(Native Method)
2021-04-19T11:17:07.769607+00:00 app[web.1]: at java.lang.Class.forName(Class.java:348)
2021-04-19T11:17:07.769982+00:00 app[web.1]: at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:46)
2021-04-19T11:17:07.770117+00:00 app[web.1]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
2021-04-19T11:17:07.770257+00:00 app[web.1]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
2021-04-19T11:17:07.770377+00:00 app[web.1]: at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
2021-04-19T11:17:07.830915+00:00 heroku[web.1]: Process exited with status 1
2021-04-19T11:17:07.943553+00:00 heroku[web.1]: State changed from starting to crashed
2021-04-19T11:18:13.716974+00:00 app[api]: Starting process with command `java -version` by user marco.braun2013#icloud.com
2021-04-19T11:18:17.924110+00:00 heroku[run.3775]: State changed from starting to up
2021-04-19T11:18:17.990783+00:00 heroku[run.3775]: Awaiting client
2021-04-19T11:18:18.323617+00:00 heroku[run.3775]: Starting process with command `java -version`
2021-04-19T11:18:22.915722+00:00 heroku[run.3775]: Process exited with status 0
2021-04-19T11:18:22.975840+00:00 heroku[run.3775]: State changed from up to complete
I am not quite sure where to start and what the best practice is after doing some research and not finding a solution. Also, I am wondering because I am not using the favicon.icon anywhere and not quite sure where it comes from and if this is the problem?
Do I have to change my Java Runtime version and if so why and what would be the best practice be? Or is there another mistake.
The error points out to the Java version you use: the app requires Java 11 but Heroku runs by default with Java 8
Exception in thread "main" java.lang.UnsupportedClassVersionError
mbraun/unsplasy/UnsplasyApplicationKt has been compiled by a more recent
version of the Java Runtime (class file version 55.0), this version of the Java
Runtime only recognizes class file versions up to 52.0
In the root folder create a file called system.properties:
java.runtime.version=11

Metabase on Heroku - Postgres need to add a role to run migrations

I’m upgrading to latest version with heroku deployed app using the binary from https://github.com/metabase/metabase-deploy per the instructions, but am receiving ERROR: permission denied for relation databasechangelog. Tailed logs are below
2018-04-13T19:34:59.959056+00:00 heroku[web.1]: Starting process with command `HEROKU=true ./bin/start`
2018-04-13T19:35:01.482994+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2018-04-13T19:35:01.486299+00:00 app[web.1]: Using these JAVA_OPTS: -Xmx300m -Xss512k -Dfile.encoding=UTF-8 -Xmx248m -XX:-UseGCOverheadLimit -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -XX:+IgnoreUnrecognizedVMOptions -Djava.awt.headless=true -Dfile.encoding=UTF-8 --add-opens=java.base/java.net=ALL-UNNAMED --add-modules=java.xml.bind
2018-04-13T19:35:01.539500+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -Dfile.encoding=UTF-8
2018-04-13T19:35:07.709376+00:00 app[web.1]: 04-13 19:35:07 INFO metabase.util :: Loading Metabase...
2018-04-13T19:35:15.571783+00:00 app[web.1]: 04-13 19:35:15 INFO util.encryption :: DB details encryption is DISABLED for this Metabase instance. 🔓
2018-04-13T19:35:15.571795+00:00 app[web.1]: See http://www.metabase.com/docs/latest/operations-guide/start.html#encrypting-your-database-connection-details-at-rest for more information.
2018-04-13T19:35:23.403505+00:00 app[web.1]: 04-13 19:35:23 INFO metabase.core :: Starting Metabase in STANDALONE mode
2018-04-13T19:35:23.479490+00:00 app[web.1]: 04-13 19:35:23 INFO metabase.core :: Launching Embedded Jetty Webserver with config:
2018-04-13T19:35:23.479494+00:00 app[web.1]: {:port 22224}
2018-04-13T19:35:23.479496+00:00 app[web.1]:
2018-04-13T19:35:23.547747+00:00 app[web.1]: 04-13 19:35:23 INFO metabase.core :: Starting Metabase version v0.28.6 (83e3c0d release-0.28.6) ...
2018-04-13T19:35:23.548089+00:00 app[web.1]: 04-13 19:35:23 INFO metabase.core :: System timezone is 'Etc/UTC' ...
2018-04-13T19:35:24.159004+00:00 heroku[web.1]: State changed from starting to up
2018-04-13T19:35:27.859258+00:00 app[web.1]: 04-13 19:35:27 INFO metabase.core :: Setting up and migrating Metabase DB. Please sit tight, this may take a minute...
2018-04-13T19:35:27.861664+00:00 app[web.1]: 04-13 19:35:27 INFO metabase.db :: Verifying postgres Database Connection ...
2018-04-13T19:35:28.044132+00:00 app[web.1]: 04-13 19:35:28 INFO metabase.db :: Verify Database Connection ... ✅
2018-04-13T19:35:28.044416+00:00 app[web.1]: 04-13 19:35:28 INFO metabase.db :: Running Database Migrations...
2018-04-13T19:35:28.079543+00:00 app[web.1]: 04-13 19:35:28 INFO metabase.db :: Setting up Liquibase...
2018-04-13T19:35:28.201705+00:00 app[web.1]: 04-13 19:35:28 INFO metabase.db :: Liquibase is ready.
2018-04-13T19:35:28.201963+00:00 app[web.1]: 04-13 19:35:28 INFO metabase.db :: Checking if Database has unrun migrations...
2018-04-13T19:35:44.048862+00:00 app[web.1]: 04-13 19:35:44 INFO metabase.db :: Database has unrun migrations. Waiting for migration lock to be cleared...
2018-04-13T19:35:44.052917+00:00 app[web.1]: 04-13 19:35:44 INFO metabase.db :: Migration lock is cleared. Running migrations...
2018-04-13T19:35:57.677299+00:00 app[web.1]: org.postgresql.util.PSQLException: ERROR: permission denied for relation databasechangelog
2018-04-13T19:35:57.677543+00:00 app[web.1]: at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2477)
2018-04-13T19:35:57.677591+00:00 app[web.1]: at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2190)
2018-04-13T19:35:57.677695+00:00 app[web.1]: at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:300)
2018-04-13T19:35:57.677725+00:00 app[web.1]: at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:428)
2018-04-13T19:35:57.677754+00:00 app[web.1]: at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:354)
2018-04-13T19:35:57.677790+00:00 app[web.1]: at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:169)
2018-04-13T19:35:57.677822+00:00 app[web.1]: at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:136)
2018-04-13T19:35:57.677852+00:00 app[web.1]: at clojure.java.jdbc$db_do_execute_prepared_statement$fn__1839.invoke(jdbc.clj:952)
2018-04-13T19:35:57.677883+00:00 app[web.1]: at clojure.java.jdbc$db_transaction_STAR_.invokeStatic(jdbc.clj:784)
2018-04-13T19:35:57.678002+00:00 app[web.1]: at clojure.java.jdbc$db_transaction_STAR_.invoke(jdbc.clj:711)
2018-04-13T19:35:57.678030+00:00 app[web.1]: at clojure.java.jdbc$db_transaction_STAR_.invokeStatic(jdbc.clj:724)
2018-04-13T19:35:57.678069+00:00 app[web.1]: at clojure.java.jdbc$db_transaction_STAR_.invoke(jdbc.clj:711)
2018-04-13T19:35:57.678097+00:00 app[web.1]: at clojure.java.jdbc$db_do_execute_prepared_statement.invokeStatic(jdbc.clj:951)
2018-04-13T19:35:57.678134+00:00 app[web.1]: at clojure.java.jdbc$db_do_execute_prepared_statement.invoke(jdbc.clj:945)
2018-04-13T19:35:57.678163+00:00 app[web.1]: at clojure.java.jdbc$db_do_prepared.invokeStatic(jdbc.clj:983)
2018-04-13T19:35:57.678192+00:00 app[web.1]: at clojure.java.jdbc$db_do_prepared.invoke(jdbc.clj:963)
2018-04-13T19:35:57.678223+00:00 app[web.1]: at clojure.java.jdbc$execute_BANG_$execute_helper__1910.invoke(jdbc.clj:1364)
2018-04-13T19:35:57.678253+00:00 app[web.1]: at clojure.java.jdbc$execute_BANG_.invokeStatic(jdbc.clj:1366)
2018-04-13T19:35:57.678331+00:00 app[web.1]: at clojure.java.jdbc$execute_BANG_.invoke(jdbc.clj:1337)
2018-04-13T19:35:57.678368+00:00 app[web.1]: at clojure.java.jdbc$execute_BANG_.invokeStatic(jdbc.clj:1356)
2018-04-13T19:35:57.678402+00:00 app[web.1]: at clojure.java.jdbc$execute_BANG_.invoke(jdbc.clj:1337)
2018-04-13T19:35:57.678443+00:00 app[web.1]: at metabase.db$migrate_up_if_needed_BANG_.invokeStatic(db.clj:169)
2018-04-13T19:35:57.678473+00:00 app[web.1]: at metabase.db$migrate_up_if_needed_BANG_.invoke(db.clj:155)
2018-04-13T19:35:57.678506+00:00 app[web.1]: at metabase.db$migrate_BANG_$fn__4414.invoke(db.clj:258)
2018-04-13T19:35:57.678537+00:00 app[web.1]: at clojure.java.jdbc$db_transaction_STAR_.invokeStatic(jdbc.clj:741)
2018-04-13T19:35:57.678576+00:00 app[web.1]: at clojure.java.jdbc$db_transaction_STAR_.invoke(jdbc.clj:711)
2018-04-13T19:35:57.678604+00:00 app[web.1]: at clojure.java.jdbc$db_transaction_STAR_.invokeStatic(jdbc.clj:776)
2018-04-13T19:35:57.678628+00:00 app[web.1]: at clojure.java.jdbc$db_transaction_STAR_.invoke(jdbc.clj:711)
2018-04-13T19:35:57.678662+00:00 app[web.1]: at clojure.java.jdbc$db_transaction_STAR_.invokeStatic(jdbc.clj:724)
2018-04-13T19:35:57.678692+00:00 app[web.1]: at clojure.java.jdbc$db_transaction_STAR_.invoke(jdbc.clj:711)
2018-04-13T19:35:57.678734+00:00 app[web.1]: at metabase.db$migrate_BANG_.invokeStatic(db.clj:246)
2018-04-13T19:35:57.678763+00:00 app[web.1]: at metabase.db$migrate_BANG_.invoke(db.clj:227)
2018-04-13T19:35:57.678794+00:00 app[web.1]: at metabase.db$run_schema_migrations_BANG_.invokeStatic(db.clj:381)
2018-04-13T19:35:57.678826+00:00 app[web.1]: at metabase.db$run_schema_migrations_BANG_.invoke(db.clj:376)
2018-04-13T19:35:57.678859+00:00 app[web.1]: at metabase.db$setup_db_BANG_.invokeStatic(db.clj:399)
2018-04-13T19:35:57.678889+00:00 app[web.1]: at metabase.db$setup_db_BANG_.doInvoke(db.clj:392)
2018-04-13T19:35:57.678924+00:00 app[web.1]: at clojure.lang.RestFn.invoke(RestFn.java:421)
2018-04-13T19:35:57.679001+00:00 app[web.1]: at metabase.core$init_BANG_.invokeStatic(core.clj:154)
2018-04-13T19:35:57.679031+00:00 app[web.1]: at metabase.core$init_BANG_.invoke(core.clj:133)
2018-04-13T19:35:57.679059+00:00 app[web.1]: at metabase.core$start_normally.invokeStatic(core.clj:258)
2018-04-13T19:35:57.679088+00:00 app[web.1]: at metabase.core$start_normally.invoke(core.clj:251)
2018-04-13T19:35:57.679118+00:00 app[web.1]: at metabase.core$_main.invokeStatic(core.clj:279)
2018-04-13T19:35:57.679293+00:00 app[web.1]: at metabase.core$_main.doInvoke(core.clj:274)
2018-04-13T19:35:57.679314+00:00 app[web.1]: at clojure.lang.RestFn.invoke(RestFn.java:397)
2018-04-13T19:35:57.679349+00:00 app[web.1]: at clojure.lang.AFn.applyToHelper(AFn.java:152)
2018-04-13T19:35:57.679378+00:00 app[web.1]: at clojure.lang.RestFn.applyTo(RestFn.java:132)
2018-04-13T19:35:57.679413+00:00 app[web.1]: at metabase.core.main(Unknown Source)
2018-04-13T19:35:57.679817+00:00 app[web.1]: 04-13 19:35:57 ERROR metabase.core :: Metabase Initialization FAILED: ERROR: permission denied for relation databasechangelog
2018-04-13T19:35:57.683116+00:00 app[web.1]: 04-13 19:35:57 INFO metabase.core :: Metabase Shutting Down ...
2018-04-13T19:35:57.683752+00:00 app[web.1]: 04-13 19:35:57 INFO metabase.core :: Metabase Shutdown COMPLETE
2018-04-13T19:35:58.184227+00:00 heroku[web.1]: State changed from up to crashed
2018-04-13T19:35:58.075189+00:00 heroku[web.1]: Process exited with status 1
It’s the same issue as http://discourse.metabase.com/t/migration-to-new-server-and-docker-instance/3139 but it’s deployed using Heroku, so I can’t add databasechangelog as a role. Migrating questions and dashboards manually isn’t really an option. Thoughts?
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO databasechangelog;
> ERROR: role "databasechangelog" does not exist.
CREATE ROLE databasechangelog;
> ERROR: permission denied to create role
The error is
ERROR: permission denied for relation databasechangelog
So I think you want to do:
grant all privileges on databasechangelog to <username-metabase-is-using-to-connect>

Meteor.js App with Heroku Hosting (Connecting MongoLab DB) - An error occurred in the application and your page could not be served

I am trying to deploy my Meteor.js app to Heroku. I did this just fine without a db attached, but now I am trying to attach my MongoLab DB instance. When I tried to set this up, I am now getting the error:
Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
I took this advice, and ran heroku logs. The main error in the logs I am seeing is:
Error: failed to connect to [1:27017]
When typing heroku config | grep MONGOLAB_URI, I get the output (actual URI altered for obvious reasons):
MONGOLAB_URI: mongodb://heroku_8b43cf1g:besd10gsdgwertyapp2l4q9asd#ds69123.mongolab.com:69123/heroku_8b43cf1g
My heroku logs output:
2016-02-19T20:40:58.212644+00:00 heroku[router]: at=info method=GET path="/images/thisgray.png" host=www.mobapp.com request_id=f8233fb6-05d0-4b10-92c5-9c6c56a7de37 fwd="98.234.89.85" dyno=web.1 connect=1ms service=22ms status=200 bytes=21894
2016-02-19T20:40:58.394914+00:00 heroku[router]: at=info method=GET path="/images/thisthing.png" host=www.mobapp.com request_id=3e8d9359-df99-48a3-bdd8-8c64ef3bb53b fwd="98.234.89.85" dyno=web.1 connect=1ms service=5ms status=200 bytes=1448
2016-02-19T20:41:07.603609+00:00 heroku[router]: at=info method=GET path="/sockjs/048/myjmakg8/websocket" host=www.mobapp.com request_id=3d3e76d2-a61f-4367-a739-6c235c2ad41e fwd="98.234.89.85" dyno=web.1 connect=1ms service=8820ms status=101 bytes=175
2016-02-19T21:06:48.502986+00:00 heroku[api]: Set MONGO_URL config vars by bob#gmail.com
2016-02-19T21:06:48.502986+00:00 heroku[api]: Release v9 created by bob#gmail.com
2016-02-19T21:06:48.631929+00:00 heroku[web.1]: Restarting
2016-02-19T21:06:48.632533+00:00 heroku[web.1]: State changed from up to starting
2016-02-19T21:06:50.605685+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js`
2016-02-19T21:06:51.951293+00:00 app[web.1]:
2016-02-19T21:06:51.951359+00:00 app[web.1]: /app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:278
2016-02-19T21:06:51.951567+00:00 app[web.1]: throw(ex);
2016-02-19T21:06:51.951569+00:00 app[web.1]: ^
2016-02-19T21:06:52.027676+00:00 app[web.1]: Error: failed to connect to [1:27017]
2016-02-19T21:06:52.027680+00:00 app[web.1]: at Object.Future.wait (/app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:398:15)
2016-02-19T21:06:52.027682+00:00 app[web.1]: at new MongoConnection (packages/mongo/mongo_driver.js:213:1)
2016-02-19T21:06:52.027683+00:00 app[web.1]: at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:1)
2016-02-19T21:06:52.027683+00:00 app[web.1]: at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:1)
2016-02-19T21:06:52.027684+00:00 app[web.1]: at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
2016-02-19T21:06:52.027686+00:00 app[web.1]: at mobapp.js:1:12
2016-02-19T21:06:52.027685+00:00 app[web.1]: at new Mongo.Collection (packages/mongo/collection.js:102:1)
2016-02-19T21:06:52.027687+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/app/mobapp.js:20:4
2016-02-19T21:06:52.027688+00:00 app[web.1]: at Array.forEach (native)
2016-02-19T21:06:52.027687+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:242:10
2016-02-19T21:06:52.027689+00:00 app[web.1]: - - - - -
2016-02-19T21:06:52.027691+00:00 app[web.1]: at [object Object].<anonymous> (/app/.meteor/heroku_build/app/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
2016-02-19T21:06:52.027692+00:00 app[web.1]: at [object Object].emit (events.js:106:17)
2016-02-19T21:06:52.027693+00:00 app[web.1]: at [object Object].<anonymous> (/app/.meteor/heroku_build/app/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
2016-02-19T21:06:52.027694+00:00 app[web.1]: at [object Object].emit (events.js:98:17)
2016-02-19T21:06:52.027695+00:00 app[web.1]: at Socket.<anonymous> (/app/.meteor/heroku_build/app/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
2016-02-19T21:06:52.027696+00:00 app[web.1]: at Socket.emit (events.js:95:17)
2016-02-19T21:06:52.027696+00:00 app[web.1]: at net.js:441:14
2016-02-19T21:06:52.027697+00:00 app[web.1]: at process._tickCallback (node.js:448:13)
2016-02-19T21:06:52.536968+00:00 heroku[web.1]: State changed from starting to crashed
2016-02-19T21:06:52.538299+00:00 heroku[web.1]: State changed from crashed to starting
2016-02-19T21:06:52.499425+00:00 heroku[web.1]: Process exited with status 8
2016-02-19T21:06:53.132126+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2016-02-19T21:06:55.376840+00:00 heroku[web.1]: Process exited with status 143
2016-02-19T21:06:58.410626+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js`
2016-02-19T21:07:01.046013+00:00 app[web.1]:
2016-02-19T21:07:01.046088+00:00 app[web.1]: /app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:278
2016-02-19T21:07:01.046292+00:00 app[web.1]: throw(ex);
2016-02-19T21:07:01.046296+00:00 app[web.1]: ^
2016-02-19T21:07:01.154404+00:00 app[web.1]: Error: failed to connect to [1:27017]
2016-02-19T21:07:01.154407+00:00 app[web.1]: at Object.Future.wait (/app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:398:15)
2016-02-19T21:07:01.154408+00:00 app[web.1]: at new MongoConnection (packages/mongo/mongo_driver.js:213:1)
2016-02-19T21:07:01.154409+00:00 app[web.1]: at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:1)
2016-02-19T21:07:01.154410+00:00 app[web.1]: at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
2016-02-19T21:07:01.154409+00:00 app[web.1]: at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:1)
2016-02-19T21:07:01.154410+00:00 app[web.1]: at new Mongo.Collection (packages/mongo/collection.js:102:1)
2016-02-19T21:07:01.154411+00:00 app[web.1]: at mobapp.js:1:12
2016-02-19T21:07:01.154412+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:242:10
2016-02-19T21:07:01.154413+00:00 app[web.1]: - - - - -
2016-02-19T21:07:01.154412+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/app/mobapp.js:20:4
2016-02-19T21:07:01.154415+00:00 app[web.1]: at [object Object].<anonymous> (/app/.meteor/heroku_build/app/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
2016-02-19T21:07:01.154412+00:00 app[web.1]: at Array.forEach (native)
2016-02-19T21:07:01.154415+00:00 app[web.1]: at [object Object].emit (events.js:106:17)
2016-02-19T21:07:01.154416+00:00 app[web.1]: at [object Object].<anonymous> (/app/.meteor/heroku_build/app/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
2016-02-19T21:07:01.154416+00:00 app[web.1]: at [object Object].emit (events.js:98:17)
2016-02-19T21:07:01.154418+00:00 app[web.1]: at Socket.emit (events.js:95:17)
2016-02-19T21:07:01.154417+00:00 app[web.1]: at Socket.<anonymous> (/app/.meteor/heroku_build/app/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
2016-02-19T21:07:01.154418+00:00 app[web.1]: at net.js:441:14
2016-02-19T21:07:01.154419+00:00 app[web.1]: at process._tickCallback (node.js:448:13)
2016-02-19T21:07:01.842656+00:00 heroku[web.1]: State changed from starting to crashed
2016-02-19T21:07:01.806613+00:00 heroku[web.1]: Process exited with status 8
2016-02-19T21:07:03.341588+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/sockjs/info?cb=8qpqf_gwxg" host=www.mobapp.com request_id=21a3ddc9-156e-45de-a6c9-c9b167ccf92b fwd="98.234.89.85" dyno= connect= service= status=503 bytes=
2016-02-19T21:07:12.176992+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/sockjs/info?cb=m_a3ombq8n" host=www.mobapp.com request_id=3735d992-8f04-46ed-90f6-6326f7949b8b fwd="98.234.89.85" dyno= connect= service= status=503 bytes=
2016-02-19T21:07:54.617993+00:00 heroku[api]: Set ROOT_URL config vars by bob#gmail.com
2016-02-19T21:07:54.618032+00:00 heroku[api]: Release v10 created by bob#gmail.com
2016-02-19T21:07:54.711020+00:00 heroku[web.1]: State changed from crashed to starting
2016-02-19T21:07:58.396900+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js`
2016-02-19T21:08:01.569711+00:00 app[web.1]:
2016-02-19T21:08:01.569863+00:00 app[web.1]: /app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:278
2016-02-19T21:08:01.740472+00:00 app[web.1]: Error: failed to connect to [1:27017]
2016-02-19T21:08:01.740477+00:00 app[web.1]: at Object.Future.wait (/app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:398:15)
2016-02-19T21:08:01.570213+00:00 app[web.1]: throw(ex);
2016-02-19T21:08:01.570217+00:00 app[web.1]: ^
2016-02-19T21:08:01.740479+00:00 app[web.1]: at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:1)
2016-02-19T21:08:01.740479+00:00 app[web.1]: at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:1)
2016-02-19T21:08:01.740484+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/boot.js:242:10
2016-02-19T21:08:01.740482+00:00 app[web.1]: at mobapp.js:1:12
2016-02-19T21:08:01.740478+00:00 app[web.1]: at new MongoConnection (packages/mongo/mongo_driver.js:213:1)
2016-02-19T21:08:01.740486+00:00 app[web.1]: - - - - -
2016-02-19T21:08:01.740483+00:00 app[web.1]: at /app/.meteor/heroku_build/app/programs/server/app/mobapp.js:20:4
2016-02-19T21:08:01.740485+00:00 app[web.1]: at Array.forEach (native)
2016-02-19T21:08:01.740488+00:00 app[web.1]: at [object Object].<anonymous> (/app/.meteor/heroku_build/app/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
2016-02-19T21:08:01.740481+00:00 app[web.1]: at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
2016-02-19T21:08:01.740481+00:00 app[web.1]: at new Mongo.Collection (packages/mongo/collection.js:102:1)
2016-02-19T21:08:01.740489+00:00 app[web.1]: at [object Object].emit (events.js:106:17)
2016-02-19T21:08:01.740492+00:00 app[web.1]: at Socket.emit (events.js:95:17)
2016-02-19T21:08:01.740492+00:00 app[web.1]: at Socket.<anonymous> (/app/.meteor/heroku_build/app/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
2016-02-19T21:08:01.740494+00:00 app[web.1]: at process._tickCallback (node.js:448:13)
2016-02-19T21:08:01.740491+00:00 app[web.1]: at [object Object].emit (events.js:98:17)
2016-02-19T21:08:01.740493+00:00 app[web.1]: at net.js:441:14
2016-02-19T21:08:01.740490+00:00 app[web.1]: at [object Object].<anonymous> (/app/.meteor/heroku_build/app/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
2016-02-19T21:08:02.990797+00:00 heroku[web.1]: Process exited with status 8
2016-02-19T21:08:03.009142+00:00 heroku[web.1]: State changed from starting to crashed
2016-02-19T21:07:27.705989+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/sockjs/info?cb=5ncaj4hnta" host=www.mobapp.com request_id=6537152d-31dc-4a10-87f7-b05811a1cab0 fwd="98.234.89.85" dyno= connect= service= status=503 bytes=
2016-02-19T21:09:12.941530+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/sockjs/info?cb=xs2810gm5u" host=www.mobapp.com request_id=a66c3b26-7e28-4be4-8265-1823df31c731 fwd="98.234.89.85" dyno= connect= service= status=503 bytes=
2016-02-19T21:14:51.508051+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.mobapp.com request_id=64f988ab-b49c-4fc5-9131-049f15c0e3c1 fwd="98.234.89.85" dyno= connect= service= status=503 bytes=
2016-02-19T21:16:40.850757+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.mobapp.com request_id=b9c24f87-e849-43f5-83c9-e438b9dd4985 fwd="98.234.89.85" dyno= connect= service= status=503 bytes=
2016-02-19T21:16:38.941940+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=www.mobapp.com request_id=315428e1-9e3f-4d89-a3e4-0e66476fc1eb fwd="98.234.89.85" dyno= connect= service= status=503 bytes=
Did you provide MONGO_URL environment variable.
Something like:
export MONGO_URL=your_mongo_lab_url_here
Replace your_mongo_lab_url_here with your actual mongodb url. Hope this helps.

heroku permission denied on netty start

I have deployed a play scala/java web app on heroku that uses an embeded netty server. The Procfile command is web: target/universal/stage/bin/mmbu-timesheets -Dhttp.port=80
Taken from heroku logs:
2015-04-27T13:49:27.160198+00:00 heroku[web.1]: Starting process with command `target/universal/stage/bin/mmbu-timesheets -Dhttp.port=80`
2015-04-27T13:49:29.321552+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx384m -Xss512k -Dfile.encoding=UTF-8 -Djava.rmi.server.useCodebaseOnly=true
2015-04-27T13:49:29.898379+00:00 app[web.1]: Play server process ID is 3
2015-04-27T13:49:32.549840+00:00 app[web.1]: [[37minfo[0m] application - mongodb connection ds031701.mongolab.com:31701 db->heroku_app36286493
2015-04-27T13:49:33.374954+00:00 app[web.1]: [[37minfo[0m] play - Application started (Prod)
2015-04-27T13:49:33.628067+00:00 app[web.1]: Oops, cannot start the server.
2015-04-27T13:49:33.630568+00:00 app[web.1]: at play.core.server.NettyServer$$anonfun$8.apply(NettyServer.scala:89)
2015-04-27T13:49:33.630523+00:00 app[web.1]: at play.core.server.NettyServer$$anonfun$8.apply(NettyServer.scala:92)
2015-04-27T13:49:33.630859+00:00 app[web.1]: at play.core.server.NettyServer$.createServer(NettyServer.scala:206)
2015-04-27T13:49:33.630358+00:00 app[web.1]: org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:80
2015-04-27T13:49:33.630483+00:00 app[web.1]: at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
2015-04-27T13:49:33.630606+00:00 app[web.1]: at scala.Option.map(Option.scala:146)
2015-04-27T13:49:33.630802+00:00 app[web.1]: at play.core.server.NettyServer.<init>(NettyServer.scala:89)
2015-04-27T13:49:33.630898+00:00 app[web.1]: at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:243)
2015-04-27T13:49:33.630941+00:00 app[web.1]: at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:238)
2015-04-27T13:49:33.631096+00:00 app[web.1]: at play.core.server.NettyServer$.main(NettyServer.scala:238)
2015-04-27T13:49:33.630975+00:00 app[web.1]: at scala.Option.map(Option.scala:146)
2015-04-27T13:49:33.631150+00:00 app[web.1]: at play.core.server.NettyServer.main(NettyServer.scala)
2015-04-27T13:49:33.633017+00:00 app[web.1]: Caused by: java.net.SocketException: Permission denied
2015-04-27T13:49:33.633065+00:00 app[web.1]: at sun.nio.ch.Net.bind0(Native Method)
2015-04-27T13:49:33.633136+00:00 app[web.1]: at sun.nio.ch.Net.bind(Net.java:437)
2015-04-27T13:49:33.633179+00:00 app[web.1]: at sun.nio.ch.Net.bind(Net.java:429)
2015-04-27T13:49:33.633235+00:00 app[web.1]: at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
2015-04-27T13:49:33.633396+00:00 app[web.1]: at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
2015-04-27T13:49:33.633444+00:00 app[web.1]: at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:372)
2015-04-27T13:49:33.633550+00:00 app[web.1]: at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
2015-04-27T13:49:33.633600+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
2015-04-27T13:49:33.633643+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
2015-04-27T13:49:33.633305+00:00 app[web.1]: at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
2015-04-27T13:49:33.633525+00:00 app[web.1]: at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:296)
2015-04-27T13:49:33.633703+00:00 app[web.1]: at java.lang.Thread.run(Thread.java:745)
2015-04-27T13:49:34.926567+00:00 heroku[web.1]: Process exited with status 255
2015-04-27T13:49:34.945535+00:00 heroku[web.1]: State changed from starting to crashed
I get "Permission denied" exception. Is there a way to start the netty server in heroku?
I had to let heroky specify the port with
web: target/universal/stage/bin/mmbu-timesheets -Dhttp.port=$PORT
in Procfile

Heroku Sinatra Site Suddenly Down

Trying to get a beat on why my Heroku site won't load as I haven't touched in 6 months+
http://t2bthr.herokuapp.com
Below are the logs. Can anyone shed some light into this? I see this error:
/app/.gems/gems/mongo-1.3.0/lib/../lib/mongo/db.rb:130:in `issue_authentication': Failed to authenticate user 'heroku' on db 'app476164' (Mongo::AuthenticationError)
I'm just not sure why all the sudden I'd be having authentication issues.
2014-05-29T00:17:43.330292+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11
2014-05-29T00:17:43.330293+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2014-05-29T00:17:43.330298+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2014-05-29T00:17:41.551293+00:00 heroku[web.1]: Starting process with command `thin -p 23291 -e production -R /home/heroku_rack/heroku.ru start`
2014-05-29T00:17:44.952612+00:00 heroku[web.1]: Process exited with status 1
2014-05-29T00:17:44.979544+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-29T00:55:00.607805+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=2bthr.com request_id=a9823832-62fb-461c-a284-49968b44850e fwd="186.210.151.58" dyno= connect= service= status=503 bytes=
2014-05-29T01:03:17.147588+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-29T01:03:19.495911+00:00 heroku[web.1]: Starting process with command `thin -p 7390 -e production -R /home/heroku_rack/heroku.ru start`
2014-05-29T01:03:22.751972+00:00 app[web.1]: Could not load SystemTimer >= v1.2.0. Falling back to timeout.rb. SystemTimer is STRONGLY recommended for timeouts in Ruby 1.8.7. See http://ph7spot.com/blog/system-timer-1-2-release for details.
2014-05-29T01:03:23.329833+00:00 app[web.1]: from /app/.gems/gems/mongo-1.3.0/lib/../lib/mongo/db.rb:111:in `authenticate'
2014-05-29T01:03:23.329806+00:00 app[web.1]: /app/.gems/gems/mongo-1.3.0/lib/../lib/mongo/db.rb:130:in `issue_authentication': Failed to authenticate user 'heroku' on db 'app476164' (Mongo::AuthenticationError)
2014-05-29T01:03:23.329874+00:00 app[web.1]: from ./bthr/app.rb:15
2014-05-29T01:03:23.329970+00:00 app[web.1]: from config.ru:4
2014-05-29T01:03:23.329854+00:00 app[web.1]: from ./bthr/../lib/db.rb:10:in `init_mongo'
2014-05-29T01:03:23.329914+00:00 app[web.1]: from ./bthr/app.rb:14
2014-05-29T01:03:23.329952+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
2014-05-29T01:03:23.330026+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2014-05-29T01:03:23.330045+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:63:in `new'
2014-05-29T01:03:23.329933+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
2014-05-29T01:03:23.329894+00:00 app[web.1]: from /app/.gems/gems/sinatra-1.2.2/lib/sinatra/base.rb:1222:in `configure'
2014-05-29T01:03:23.329989+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23
2014-05-29T01:03:23.330008+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2014-05-29T01:03:23.330081+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:18
2014-05-29T01:03:23.330118+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2014-05-29T01:03:23.330063+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:63:in `map'
2014-05-29T01:03:23.330136+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `new'
2014-05-29T01:03:23.330100+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2014-05-29T01:03:23.330191+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2014-05-29T01:03:23.330155+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11
2014-05-29T01:03:23.330211+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2014-05-29T01:03:23.330248+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1
2014-05-29T01:03:23.330230+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new'
2014-05-29T01:03:24.749727+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-29T01:03:24.741605+00:00 heroku[web.1]: Process exited with status 1
2014-05-29T01:24:47.714571+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=2bthr.com request_id=037cebb1-d9eb-450e-97f1-e3846121d2b9 fwd="204.155.149.27" dyno= connect= service= status=503 bytes=
2014-05-29T01:31:12.690405+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=2bthr.com request_id=776fe43b-c755-47e7-b741-5a2ff59b1ee8 fwd="91.200.12.70" dyno= connect= service= status=503 bytes=
2014-05-29T01:31:13.714036+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/wp-login.php host=2bthr.com request_id=66ac2b17-b220-448a-ad98-d684bbdba67c fwd="91.200.12.70" dyno= connect= service= status=503 bytes=
2014-05-29T01:54:42.347628+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=2bthr.com request_id=6d6e97c9-467d-4598-a590-b9c595cc9204 fwd="198.204.249.34" dyno= connect= service= status=503 bytes=
2014-05-29T02:25:42.894295+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-29T02:25:45.238484+00:00 heroku[web.1]: Starting process with command `thin -p 27261 -e production -R /home/heroku_rack/heroku.ru start`
2014-05-29T02:25:49.223844+00:00 app[web.1]: Could not load SystemTimer >= v1.2.0. Falling back to timeout.rb. SystemTimer is STRONGLY recommended for timeouts in Ruby 1.8.7. See http://ph7spot.com/blog/system-timer-1-2-release for details.
2014-05-29T02:25:49.446648+00:00 app[web.1]: /app/.gems/gems/mongo-1.3.0/lib/../lib/mongo/db.rb:130:in `issue_authentication': Failed to authenticate user 'heroku' on db 'app476164' (Mongo::AuthenticationError)
2014-05-29T02:25:49.446654+00:00 app[web.1]: from /app/.gems/gems/mongo-1.3.0/lib/../lib/mongo/db.rb:111:in `authenticate'
2014-05-29T02:25:49.446656+00:00 app[web.1]: from ./bthr/../lib/db.rb:10:in `init_mongo'
2014-05-29T02:25:49.446663+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
2014-05-29T02:25:49.446670+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23
2014-05-29T02:25:49.446667+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
2014-05-29T02:25:49.446658+00:00 app[web.1]: from ./bthr/app.rb:15
2014-05-29T02:25:49.446659+00:00 app[web.1]: from /app/.gems/gems/sinatra-1.2.2/lib/sinatra/base.rb:1222:in `configure'
2014-05-29T02:25:49.446669+00:00 app[web.1]: from config.ru:4
2014-05-29T02:25:49.446673+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2014-05-29T02:25:49.446672+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2014-05-29T02:25:49.446675+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:63:in `new'
2014-05-29T02:25:49.446676+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:63:in `map'
2014-05-29T02:25:49.446678+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:18
2014-05-29T02:25:49.446683+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2014-05-29T02:25:49.446696+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new'
2014-05-29T02:25:49.446661+00:00 app[web.1]: from ./bthr/app.rb:14
2014-05-29T02:25:49.446681+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2014-05-29T02:25:49.446754+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1
2014-05-29T02:25:49.446686+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `new'
2014-05-29T02:25:49.446688+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11
2014-05-29T02:25:49.446691+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2014-05-29T02:25:49.446692+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2014-05-29T02:25:50.718902+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-29T02:25:50.711009+00:00 heroku[web.1]: Process exited with status 1
2014-05-29T05:06:51.450635+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-29T05:06:54.632367+00:00 app[web.1]: Could not load SystemTimer >= v1.2.0. Falling back to timeout.rb. SystemTimer is STRONGLY recommended for timeouts in Ruby 1.8.7. See http://ph7spot.com/blog/system-timer-1-2-release for details.
2014-05-29T05:06:54.918788+00:00 app[web.1]: from ./bthr/../lib/db.rb:10:in `init_mongo'
2014-05-29T05:06:54.918790+00:00 app[web.1]: from ./bthr/app.rb:15
2014-05-29T05:06:54.918751+00:00 app[web.1]: from /app/.gems/gems/mongo-1.3.0/lib/../lib/mongo/db.rb:111:in `authenticate'
2014-05-29T05:06:54.918791+00:00 app[web.1]: from /app/.gems/gems/sinatra-1.2.2/lib/sinatra/base.rb:1222:in `configure'
2014-05-29T05:06:54.918794+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
2014-05-29T05:06:54.918736+00:00 app[web.1]: /app/.gems/gems/mongo-1.3.0/lib/../lib/mongo/db.rb:130:in `issue_authentication': Failed to authenticate user 'heroku' on db 'app476164' (Mongo::AuthenticationError)
2014-05-29T05:06:54.918793+00:00 app[web.1]: from ./bthr/app.rb:14
2014-05-29T05:06:54.918796+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
2014-05-29T05:06:54.918798+00:00 app[web.1]: from config.ru:4
2014-05-29T05:06:54.918799+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:23
2014-05-29T05:06:54.918802+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2014-05-29T05:06:54.918800+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2014-05-29T05:06:54.918803+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:63:in `new'
2014-05-29T05:06:54.918807+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2014-05-29T05:06:54.918806+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:18
2014-05-29T05:06:54.918808+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2014-05-29T05:06:54.918811+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11
2014-05-29T05:06:54.918814+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
2014-05-29T05:06:54.918810+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `new'
2014-05-29T05:06:54.918804+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:63:in `map'
2014-05-29T05:06:54.918816+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1
2014-05-29T05:06:54.918815+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new'
2014-05-29T05:06:54.918812+00:00 app[web.1]: from /app/.gems/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
2014-05-29T05:06:56.095995+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-29T05:06:53.328857+00:00 heroku[web.1]: Starting process with command `thin -p 58046 -e production -R /home/heroku_rack/heroku.ru start`
2014-05-29T05:06:56.090088+00:00 heroku[web.1]: Process exited with status 1
2014-05-29T05:28:10.046206+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/?author=1 host=2bthr.com request_id=5792f655-69f8-4b48-860a-8780a01db388 fwd="94.102.53.194" dyno= connect= service= status=503 bytes=
2014-05-29T09:55:11.507149+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=2bthr.com request_id=170b4b0b-f566-4c5e-be01-f19c8f50cd85 fwd="105.237.54.93" dyno= connect= service= status=503 bytes=
2014-05-29T09:55:14.043513+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=2bthr.com request_id=fb065a48-8adf-4516-8313-67d50be49e11 fwd="105.237.54.93" dyno= connect= service= status=503 bytes=
2014-05-29T09:56:43.107933+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=2bthr.com request_id=dc3f3987-2caa-4b73-80b8-062d2ace6fa5 fwd="150.70.97.119" dyno= connect= service= status=503 bytes=
2014-05-29T10:06:23.161084+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=HEAD path=/ host=2bthr.com request_id=7acf11a7-27f9-42ed-81ec-12d6a488b936 fwd="119.63.193.194" dyno= connect= service= status=503 bytes=
2014-05-29T10:21:06.786562+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/robots.txt host=www.2bthr.com request_id=0fcd52e8-98f6-426c-bf9a-8600159d5976 fwd="65.55.52.111" dyno= connect= service= status=503 bytes=
If you are using the MongoLab add-on (https://addons.heroku.com/mongolab), they recently announced that on May 22 and May 23, they would be resetting everyone's login credentials in response to the Heartbleed bug.
If you were not using the MONGOLAB_URI environment variable to connect to your database, but instead hard-coded your login URI, then your app would error out. To fix this, update your username and password. To prevent future errors like this in the future, create an additional database user and use that username and password wherever you use a hard-coded login.
Here is a post that describes some of the steps MongoLab has taken to address the issue:
http://blog.mongolab.com/2014/04/heartbleed-security-update/