I am trying to deploy Spring roo project on Heroku. Everything went just fine. The deployment process was successful. but after running it on server, I got Following error:
HTTP ERROR: 503
Problem accessing /. Reason:
Service Unavailable
Powered by Jetty://
The application is working perfectly on localhost:8080. but it gives 503 error when run from heroku.
I am following this URL (step by step): https://github.com/heroku/devcenter-spring-mvc-hibernate
This is my logs:
Palak#PSD ~/Documents/workspace-sts-3.4.0.RELEASE/T2TestHeroku4 (master)
$ heroku logs
←[36m2014-01-26T14:50:49.218169+00:00 app[web.1]:←[0m at org.springframework.w
eb.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:1
12)
←[36m2014-01-26T14:50:48.663478+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
vlet.ServletContextHandler.startContext(ServletContextHandler.java:229)
←[36m2014-01-26T14:50:49.219398+00:00 app[web.1]:←[0m at org.mortbay.jetty.run
ner.Runner.run(Runner.java:447)
←[36m2014-01-26T14:50:49.219398+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
ver.Server.doStart(Server.java:258)
←[36m2014-01-26T14:50:49.218986+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
ver.handler.HandlerCollection.doStart(HandlerCollection.java:224)
←[36m2014-01-26T14:50:49.219398+00:00 app[web.1]:←[0m at org.eclipse.jetty.uti
l.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
←[36m2014-01-26T14:50:49.219398+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
ver.handler.HandlerWrapper.doStart(HandlerWrapper.java:89)
←[36m2014-01-26T14:50:49.219398+00:00 app[web.1]:←[0m at org.eclipse.jetty.uti
l.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
←[36m2014-01-26T14:50:49.218986+00:00 app[web.1]:←[0m at org.eclipse.jetty.uti
l.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
←[36m2014-01-26T14:50:49.219398+00:00 app[web.1]:←[0m at java.lang.ClassLoader
.defineClass(ClassLoader.java:634)
←[36m2014-01-26T14:50:49.219398+00:00 app[web.1]:←[0m at org.mortbay.jetty.run
ner.Runner.main(Runner.java:586)
←[36m2014-01-26T14:50:49.219398+00:00 app[web.1]:←[0m at java.lang.ClassLoader
.defineClass1(Native Method)
←[36m2014-01-26T14:50:49.219398+00:00 app[web.1]:←[0m Caused by:
←[36m2014-01-26T14:50:49.219398+00:00 app[web.1]:←[0m java.lang.UnsupportedClass
VersionError: com/palak/domain/Visit : Unsupported major.minor version 51.0
←[36m2014-01-26T14:50:49.220168+00:00 app[web.1]:←[0m at java.security.SecureC
lassLoader.defineClass(SecureClassLoader.java:142)
←[36m2014-01-26T14:50:49.220168+00:00 app[web.1]:←[0m at java.net.URLClassLoad
er.defineClass(URLClassLoader.java:277)
←[36m2014-01-26T14:50:49.220168+00:00 app[web.1]:←[0m at java.net.URLClassLoad
er.access$000(URLClassLoader.java:73)
←[36m2014-01-26T14:50:49.222801+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
ver.handler.ContextHandler.doStart(ContextHandler.java:586)
←[36m2014-01-26T14:50:49.222801+00:00 app[web.1]:←[0m at org.eclipse.jetty.web
app.WebAppContext.doStart(WebAppContext.java:449)
←[36m2014-01-26T14:50:49.222801+00:00 app[web.1]:←[0m at org.eclipse.jetty.uti
l.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
←[36m2014-01-26T14:50:49.222801+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
ver.handler.HandlerCollection.doStart(HandlerCollection.java:224)
←[36m2014-01-26T14:50:49.222801+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
ver.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:164)
←[36m2014-01-26T14:50:49.220168+00:00 app[web.1]:←[0m at java.lang.Class.forNa
me0(Native Method)
←[36m2014-01-26T14:50:49.220168+00:00 app[web.1]:←[0m at org.eclipse.jetty.web
app.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
←[36m2014-01-26T14:50:49.220680+00:00 app[web.1]:←[0m at org.springframework.b
eans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractA
utowireCapableBeanFactory.java:1509)
←[36m2014-01-26T14:50:49.220680+00:00 app[web.1]:←[0m at org.hibernate.interna
l.util.ReflectHelper.classForName(ReflectHelper.java:192)
←[36m2014-01-26T14:50:49.220680+00:00 app[web.1]:←[0m at org.hibernate.ejb.pac
kaging.NativeScanner.getClassesInJar(NativeScanner.java:136)
←[36m2014-01-26T14:50:49.220680+00:00 app[web.1]:←[0m at org.hibernate.ejb.Ejb
3Configuration.addScannedEntries(Ejb3Configuration.java:487)
←[36m2014-01-26T14:50:49.220680+00:00 app[web.1]:←[0m at org.hibernate.ejb.Ejb
3Configuration.scanForClasses(Ejb3Configuration.java:861)
←[36m2014-01-26T14:50:49.220168+00:00 app[web.1]:←[0m at java.net.URLClassLoad
er$1.run(URLClassLoader.java:212)
←[36m2014-01-26T14:50:49.221982+00:00 app[web.1]:←[0m at org.springframework.b
eans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:29
6)
←[36m2014-01-26T14:50:49.221982+00:00 app[web.1]:←[0m at org.springframework.c
ontext.support.AbstractApplicationContext.finishBeanFactoryInitialization(Abstra
ctApplicationContext.java:922)
←[36m2014-01-26T14:50:49.220168+00:00 app[web.1]:←[0m at org.eclipse.jetty.web
app.WebAppClassLoader.loadClass(WebAppClassLoader.java:404)
←[36m2014-01-26T14:50:49.220680+00:00 app[web.1]:←[0m at org.hibernate.ejb.Hib
ernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:
75)
←[36m2014-01-26T14:50:49.221982+00:00 app[web.1]:←[0m at org.springframework.b
eans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
←[36m2014-01-26T14:50:49.221982+00:00 app[web.1]:←[0m at org.springframework.b
eans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAut
owireCapableBeanFactory.java:521)
←[36m2014-01-26T14:50:49.220680+00:00 app[web.1]:←[0m at org.springframework.o
rm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(L
ocalContainerEntityManagerFactoryBean.java:288)
←[36m2014-01-26T14:50:49.220168+00:00 app[web.1]:←[0m at java.security.AccessC
ontroller.doPrivileged(Native Method)
←[36m2014-01-26T14:50:49.220168+00:00 app[web.1]:←[0m at java.lang.Class.forNa
me(Class.java:188)
←[36m2014-01-26T14:50:49.222801+00:00 app[web.1]:←[0m at org.eclipse.jetty.web
app.WebAppContext.startContext(WebAppContext.java:1208)
←[36m2014-01-26T14:50:49.221982+00:00 app[web.1]:←[0m at org.springframework.w
eb.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.
java:389)
←[36m2014-01-26T14:50:49.222801+00:00 app[web.1]:←[0m at org.springframework.w
eb.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)
←[36m2014-01-26T14:50:49.222801+00:00 app[web.1]:←[0m at org.springframework.w
eb.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:1
12)
←[36m2014-01-26T14:50:49.220168+00:00 app[web.1]:←[0m at java.net.URLClassLoad
er.findClass(URLClassLoader.java:205)
←[36m2014-01-26T14:50:49.220680+00:00 app[web.1]:←[0m at org.springframework.b
eans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(Abstra
ctAutowireCapableBeanFactory.java:1571)
←[36m2014-01-26T14:50:49.220680+00:00 app[web.1]:←[0m at org.springframework.o
rm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManager
FactoryBean.java:310)
←[36m2014-01-26T14:50:49.221982+00:00 app[web.1]:←[0m at org.springframework.b
eans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutow
ireCapableBeanFactory.java:458)
←[36m2014-01-26T14:50:49.221982+00:00 app[web.1]:←[0m at org.springframework.b
eans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonB
eanRegistry.java:223)
←[36m2014-01-26T14:50:49.221982+00:00 app[web.1]:←[0m at org.springframework.b
eans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
←[36m2014-01-26T14:50:49.224074+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
ver.handler.HandlerCollection.doStart(HandlerCollection.java:224)
←[36m2014-01-26T14:50:49.220680+00:00 app[web.1]:←[0m at org.hibernate.ejb.Ejb
3Configuration.configure(Ejb3Configuration.java:606)
←[36m2014-01-26T14:50:49.221982+00:00 app[web.1]:←[0m at org.springframework.c
ontext.support.AbstractApplicationContext.getBean(AbstractApplicationContext.jav
a:1117)
←[36m2014-01-26T14:50:49.221982+00:00 app[web.1]:←[0m at org.springframework.c
ontext.support.AbstractApplicationContext.refresh(AbstractApplicationContext.jav
a:479)
←[36m2014-01-26T14:50:49.224074+00:00 app[web.1]:←[0m at org.eclipse.jetty.uti
l.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
←[36m2014-01-26T14:50:49.224074+00:00 app[web.1]:←[0m at org.mortbay.jetty.run
ner.Runner.run(Runner.java:447)
←[36m2014-01-26T14:50:49.224074+00:00 app[web.1]:←[0m at org.mortbay.jetty.run
ner.Runner.main(Runner.java:586)
←[36m2014-01-26T14:50:49.268783+00:00 app[web.1]:←[0m 2014-01-26 14:50:49.268:IN
FO::Started SelectChannelConnector#0.0.0.0:56267 STARTING
←[36m2014-01-26T14:50:49.222801+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
ver.handler.ContextHandler.startContext(ContextHandler.java:640)
←[36m2014-01-26T14:50:49.222801+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
vlet.ServletContextHandler.startContext(ServletContextHandler.java:229)
←[36m2014-01-26T14:50:49.224074+00:00 app[web.1]:←[0m at org.eclipse.jetty.uti
l.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
←[36m2014-01-26T14:50:49.224074+00:00 app[web.1]:←[0m at org.eclipse.jetty.uti
l.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
←[36m2014-01-26T14:50:49.224074+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
ver.Server.doStart(Server.java:258)
←[36m2014-01-26T14:50:49.224074+00:00 app[web.1]:←[0m at org.eclipse.jetty.ser
ver.handler.HandlerWrapper.doStart(HandlerWrapper.java:89)
←[36m2014-01-26T14:50:51.789872+00:00 heroku[web.1]:←[0m Stopping all processes
with SIGTERM
←[33m2014-01-26T14:50:52.186417+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=8133a871-4aa9-4230-b
52a-115f7efa7039 fwd="219.91.178.205" dyno=web.1 connect=3ms service=5ms status=
503 bytes=1298
←[36m2014-01-26T14:50:52.307161+00:00 app[web.1]:←[0m 2014-01-26 14:50:52.306:IN
FO:/:Closing Spring root WebApplicationContext
←[36m2014-01-26T14:50:52.308821+00:00 app[web.1]:←[0m 2014-01-26 14:50:52.308:IN
FO::stopped o.e.j.w.WebAppContext{/,file:/app/target/T2TestHeroku4-0.1.0.BUILD-S
NAPSHOT/},file:/app/target/T2TestHeroku4-0.1.0.BUILD-SNAPSHOT.war
←[36m2014-01-26T14:50:52.362575+00:00 app[web.1]:←[0m 2014-01-26 14:50:52.362:WA
RN::1 threads could not be stopped
←[36m2014-01-26T14:50:53.588847+00:00 heroku[web.1]:←[0m Process exited with sta
tus 143
←[33m2014-01-26T14:50:55.575157+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=9d76ae57-db66-4ff2-9
36a-8d85cc5095b7 fwd="219.91.178.205" dyno=web.1 connect=5ms service=9ms status=
503 bytes=1298
←[33m2014-01-26T14:50:54.643408+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=7a212421-9b19-429b-b94b-c61ae76
5d597 fwd="219.91.178.205" dyno=web.1 connect=100ms service=198ms status=503 byt
es=1287
←[33m2014-01-26T14:50:51.164439+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=42ff31b7-5101-4dc3-8826-1fa4863
23ef6 fwd="219.91.178.205" dyno=web.1 connect=3ms service=28ms status=503 bytes=
1287
←[32m2014-01-26T14:50:29.108018+00:00 heroku[api]:←[0m Scale to web=1 by palaksd
arji#gmail.com
←[32m2014-01-26T14:50:35.837958+00:00 heroku[api]:←[0m Attach HEROKU_POSTGRESQL_
RED resource by palaksdarji#gmail.com
←[32m2014-01-26T14:50:35.865107+00:00 heroku[api]:←[0m Release v3 created by pal
aksdarji#gmail.com
←[32m2014-01-26T14:50:36.011041+00:00 heroku[api]:←[0m Release v4 created by pal
aksdarji#gmail.com
←[32m2014-01-26T14:50:35.993674+00:00 heroku[api]:←[0m Add DATABASE_URL config b
y palaksdarji#gmail.com
←[32m2014-01-26T14:50:36.096492+00:00 heroku[api]:←[0m Add PATH, JAVA_OPTS, MAVE
N_OPTS config by palaksdarji#gmail.com
←[32m2014-01-26T14:50:36.119556+00:00 heroku[api]:←[0m Release v5 created by pal
aksdarji#gmail.com
←[32m2014-01-26T14:50:36.211971+00:00 heroku[api]:←[0m Release v6 created by pal
aksdarji#gmail.com
←[32m2014-01-26T14:50:36.193611+00:00 heroku[api]:←[0m Deploy 5cdbec4 by palaksd
arji#gmail.com
←[33m2014-01-26T14:53:55.184564+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=70d422cd-5479-4654-9
493-e0605215ee48 fwd="219.91.178.205" dyno=web.1 connect=1ms service=5ms status=
503 bytes=1298
←[33m2014-01-26T14:53:54.368373+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=a2031776-a9d8-4622-9cd8-885e968
bf686 fwd="219.91.178.205" dyno=web.1 connect=2ms service=6ms status=503 bytes=1
287
←[33m2014-01-26T15:21:31.878758+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=5
fceb607-3079-4253-9ee6-6ddb05a06f51 fwd="219.91.178.205" dyno=web.1 connect=2ms
service=4ms status=503 bytes=1287
←[33m2014-01-26T15:21:32.670790+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=d8f1ac13-c76b-4ab3-b
911-b165d90b8073 fwd="219.91.178.205" dyno=web.1 connect=1ms service=5ms status=
503 bytes=1298
←[33m2014-01-26T15:27:56.539314+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=303ce511-b1de-4dec-931c-a4437ef
5e775 fwd="219.91.178.205" dyno=web.1 connect=2ms service=5ms status=503 bytes=1
287
←[33m2014-01-26T15:27:58.432719+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=0cb2b55e-edc4-4405-9
be7-27c1a7961d32 fwd="219.91.178.205" dyno=web.1 connect=0ms service=3ms status=
503 bytes=1298
←[33m2014-01-26T15:28:01.702016+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=49386bee-3420-4b50-9693-03186f2
191b1 fwd="219.91.178.205" dyno=web.1 connect=0ms service=5ms status=503 bytes=1
287
←[33m2014-01-26T15:28:03.598936+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=0a285513-d915-463a-a
f9d-46d1a94bc4c2 fwd="219.91.178.205" dyno=web.1 connect=1ms service=2ms status=
503 bytes=1298
←[33m2014-01-26T15:41:09.716057+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=de39e4f3-0590-4b02-b379-3d7525e
67299 fwd="219.91.178.205" dyno=web.1 connect=2ms service=5ms status=503 bytes=1
287
←[33m2014-01-26T15:41:15.640819+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=d8cb144e-e6a8-4d29-8
167-5c54bf488822 fwd="219.91.178.205" dyno=web.1 connect=1ms service=6ms status=
503 bytes=1298
←[33m2014-01-26T15:41:14.718912+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=432042b2-27b9-4818-a6a5-ef5a4a6
aa33a fwd="219.91.178.205" dyno=web.1 connect=90ms service=149ms status=503 byte
s=1287
←[33m2014-01-26T15:41:11.410797+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=84bac7f3-e0aa-4985-9
fe7-d73535308182 fwd="219.91.178.205" dyno=web.1 connect=2ms service=4ms status=
503 bytes=1298
←[33m2014-01-26T15:42:48.127512+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=e3fd9715-049d-4bef-96b7-6c56828
554ef fwd="219.91.178.205" dyno=web.1 connect=60ms service=24ms status=503 bytes
=1287
←[33m2014-01-26T15:42:49.045254+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=4c3503ee-4b98-4b6f-9
473-000f86534375 fwd="219.91.178.205" dyno=web.1 connect=1ms service=3ms status=
503 bytes=1298
←[33m2014-01-26T15:43:04.845982+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=6564a968-9d2c-4328-aa3b-07b41f8
d2b42 fwd="219.91.178.205" dyno=web.1 connect=2ms service=2ms status=503 bytes=1
287
←[33m2014-01-26T15:43:05.642431+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=91bb9833-30a5-4104-9
bed-71e75875c704 fwd="219.91.178.205" dyno=web.1 connect=3ms service=8ms status=
503 bytes=1298
←[33m2014-01-26T16:07:41.998822+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=51e13f2f-1cbd-4979-9cfc-77fd90c
8fec6 fwd="219.91.178.205" dyno=web.1 connect=13ms service=18ms status=503 bytes
=1287
←[33m2014-01-26T16:07:43.143873+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=11b06740-8e66-4a86-a
3d3-236f36627734 fwd="219.91.178.205" dyno=web.1 connect=3ms service=3ms status=
503 bytes=1298
←[33m2014-01-26T16:08:40.617563+00:00 heroku[router]:←[0m at=info method=GET pat
h=/ host=rocky-sea-1233.herokuapp.com request_id=6344ffa7-bab7-4ef3-b6a5-cff5374
1f9cc fwd="219.91.178.205" dyno=web.1 connect=1ms service=3ms status=503 bytes=1
287
←[33m2014-01-26T16:08:41.473618+00:00 heroku[router]:←[0m at=info method=GET pat
h=/favicon.ico host=rocky-sea-1233.herokuapp.com request_id=f5ebe12d-21fd-427f-a
4b4-6fa95ea85678 fwd="219.91.178.205" dyno=web.1 connect=0ms service=4ms status=
503 bytes=1298
Well, I got solution.. The issue was following error from my logs:
java.lang.UnsupportedClassVersionError: com/palak/domain/Visit : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError happens because of a higher JDK during compile time and lower JDK during runtime. My classes are built up using java 7. and I was running my app using openJdk 6 (default). All i need to do is to add new file to my root directory of project indicating that I want to use particular version of java,In my case, I want to use java 7, for instance.
So, I have to make new file "system.properties" and paste this line inside of it: java.runtime.version=1.7
Now reloaded application and uploaded again from git. Now Everything works Perfect. Hope this helps someone. Cheers. :)
Related
I'm horribly new. So, I'm sure it's something very obvious.
This is a simple blog posting app.enter image description here
Here's the logs:
2022-08-06T05:01:07.613012+00:00 heroku[web.1]: State changed from crashed to starting
2022-08-06T05:01:09.866047+00:00 heroku[web.1]: Starting process with command `npm start`
2022-08-06T05:01:11.802781+00:00 app[web.1]:
2022-08-06T05:01:11.802803+00:00 app[web.1]: > webdev-blogpub#1.0.0 start
2022-08-06T05:01:11.802803+00:00 app[web.1]: > node server.js
2022-08-06T05:01:11.802803+00:00 app[web.1]:
2022-08-06T05:01:12.261482+00:00 app[web.1]: node:internal/modules/cjs/loader:1189
2022-08-06T05:01:12.261495+00:00 app[web.1]: return process.dlopen(module, path.toNamespacedPath(filename));
2022-08-06T05:01:12.261496+00:00 app[web.1]: ^
2022-08-06T05:01:12.261496+00:00 app[web.1]:
2022-08-06T05:01:12.261497+00:00 app[web.1]: Error: /app/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: invalid ELF header
2022-08-06T05:01:12.261498+00:00 app[web.1]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
2022-08-06T05:01:12.261498+00:00 app[web.1]: at Module.load (node:internal/modules/cjs/loader:981:32)
2022-08-06T05:01:12.261499+00:00 app[web.1]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2022-08-06T05:01:12.261499+00:00 app[web.1]: at Module.require (node:internal/modules/cjs/loader:1005:19)
2022-08-06T05:01:12.261499+00:00 app[web.1]: at require (node:internal/modules/cjs/helpers:102:18)
2022-08-06T05:01:12.261500+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/bcrypt/bcrypt.js:6:16)
2022-08-06T05:01:12.261500+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1105:14)
2022-08-06T05:01:12.261500+00:00 app[web.1]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
2022-08-06T05:01:12.261500+00:00 app[web.1]: at Module.load (node:internal/modules/cjs/loader:981:32)
2022-08-06T05:01:12.261501+00:00 app[web.1]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
2022-08-06T05:01:12.261501+00:00 app[web.1]: code: 'ERR_DLOPEN_FAILED'
2022-08-06T05:01:12.261501+00:00 app[web.1]: }
2022-08-06T05:01:12.447473+00:00 heroku[web.1]: Process exited with status 1
2022-08-06T05:01:12.514128+00:00 heroku[web.1]: State changed from starting to crashed
2022-08-06T05:01:34.971754+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=webdev-blogpub.herokuapp.com request_id=1a97248d-cbfb-49c2-9a66-7387a694050d fwd="184.91.86.250" dyno= connect= service= status=503 bytes= protocol=https
2022-08-06T05:01:35.240071+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=webdev-blogpub.herokuapp.com request_id=7347a626-2ad0-4544-a735-b097c232c83d fwd="184.91.86.250" dyno= connect= service= status=503 bytes= protocol=https
2022-08-06T05:03:26.310277+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=webdev-blogpub.herokuapp.com request_id=8f258b45-8c3f-409c-b783-74b6e922de58 fwd="184.91.86.250" dyno= connect= service= status=503 bytes= protocol=https
2022-08-06T05:03:26.806445+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=webdev-blogpub.herokuapp.com request_id=396e2ae6-f5b6-46bc-8950-6c4f30c24a39 fwd="184.91.86.250" dyno= connect= service= status=503 bytes= protocol=https
2022-08-06T05:06:02.706235+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=webdev-blogpub.herokuapp.com request_id=1743caa9-b5a1-41e0-8906-7060278358ef fwd="184.91.86.250" dyno= connect= service= status=503 bytes= protocol=https
2022-08-06T05:06:02.914897+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=webdev-blogpub.herokuapp.com request_id=9e55e940-3fe6-4434-ac79-f9f09f9de4c2 fwd="184.91.86.250" dyno= connect= service= status=503 bytes= protocol=https
I need help debug this problem. My app is in React, Node, Express and Postgres. I deployed it successfully on Heroku and the webpage showed static pages perfectly. But it went blank for the portion where it needs to fetch data from APIs. When I did Heroku logs, it gave me the error like below. Could anyone help me debug this problem?
2021-03-04T21:53:41.073745+00:00 app[web.1]: at addChunk (_stream_readable.js:309:12)
2021-03-04T21:53:41.073746+00:00 app[web.1]: at readableAddChunk (_stream_readable.js:284:9)
2021-03-04T21:53:41.073746+00:00 app[web.1]: at Socket.Readable.push (_stream_readable.js:223:10)
2021-03-04T21:53:41.073746+00:00 app[web.1]: at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
2021-03-04T21:53:41.073747+00:00 app[web.1]: (Use `node --trace-warnings ...` to show where the warning was created)
2021-03-04T21:53:41.073997+00:00 app[web.1]: (node:4) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
2021-03-04T21:53:41.074202+00:00 app[web.1]: (node:4) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2021-03-04T21:53:41.774057+00:00 heroku[web.1]: State changed from starting to up
2021-03-04T21:54:14.053381+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/api/v1/games" host=nteract-games.herokuapp.com request_id=02a42e4d-25b9-48c2-acc5-6de49e004d26 fwd="49.36.161.255" dyno=web.1 connect=0ms service=30001ms status=503 bytes=0 protocol=https
2021-03-04T21:54:14.958989+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=nteract-games.herokuapp.com request_id=08805f36-0075-4a07-86f6-656dee3b408e fwd="49.36.161.255" dyno=web.1 connect=1ms service=57ms status=200 bytes=4179 protocol=https
2021-03-04T22:08:59.957742+00:00 heroku[router]: at=info method=GET path="/logo192.png" host=nteract-games.herokuapp.com request_id=63a022a5-3e96-486b-8e11-15f7e566b641 fwd="54.212.47.199" dyno=web.1 connect=1ms service=7ms status=200 bytes=5654 protocol=https
2021-03-04T22:44:57.037070+00:00 heroku[web.1]: Idling
2021-03-04T22:44:57.064406+00:00 heroku[web.1]: State changed from up to down
2021-03-04T22:45:00.490306+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2021-03-04T22:45:00.698397+00:00 heroku[web.1]: Process exited with status 143
2021-03-04T23:43:50.795940+00:00 heroku[web.1]: Unidling
2021-03-04T23:43:50.811189+00:00 heroku[web.1]: State changed from down to starting
2021-03-04T23:44:02.112382+00:00 heroku[web.1]: Starting process with command `node server.js`
2021-03-04T23:44:04.893222+00:00 app[web.1]: Server started on port 49627!
2021-03-04T23:44:04.893233+00:00 app[web.1]:
2021-03-04T23:44:04.911897+00:00 app[web.1]: (node:4) UnhandledPromiseRejectionWarning: error: no pg_hba.conf entry for host "54.210.219.228", user "jlffntexskqxaf", database "d1dni4rrpqm6k3", SSL off
2021-03-04T23:44:04.911901+00:00 app[web.1]: at Parser.parseErrorMessage (/app/node_modules/pg-protocol/dist/parser.js:278:15)
2021-03-04T23:44:04.911901+00:00 app[web.1]: at Parser.handlePacket (/app/node_modules/pg-protocol/dist/parser.js:126:29)
2021-03-04T23:44:04.911903+00:00 app[web.1]: at Parser.parse (/app/node_modules/pg-protocol/dist/parser.js:39:38)
2021-03-04T23:44:04.911903+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/pg-protocol/dist/index.js:10:42)
2021-03-04T23:44:04.911905+00:00 app[web.1]: at Socket.emit (events.js:315:20)
2021-03-04T23:44:04.911905+00:00 app[web.1]: at addChunk (_stream_readable.js:309:12)
2021-03-04T23:44:04.911907+00:00 app[web.1]: at readableAddChunk (_stream_readable.js:284:9)
2021-03-04T23:44:04.911908+00:00 app[web.1]: at Socket.Readable.push (_stream_readable.js:223:10)
2021-03-04T23:44:04.911908+00:00 app[web.1]: at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
2021-03-04T23:44:04.911908+00:00 app[web.1]: (Use `node --trace-warnings ...` to show where the warning was created)
2021-03-04T23:44:04.914751+00:00 app[web.1]: (node:4) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
2021-03-04T23:44:04.914952+00:00 app[web.1]: (node:4) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2021-03-04T23:44:05.498199+00:00 heroku[web.1]: State changed from starting to up
2021-03-04T23:44:06.470124+00:00 heroku[router]: at=info method=GET path="/" host=nteract-games.herokuapp.com request_id=45919086-26e2-4c1a-aff1-eda45e1f933e fwd="68.228.82.153" dyno=web.1 connect=1ms service=24ms status=200 bytes=2731 protocol=https
2021-03-04T23:44:06.584547+00:00 heroku[router]: at=info method=GET path="/static/css/main.5af4f64f.chunk.css" host=nteract-games.herokuapp.com request_id=8e202985-8dfb-474e-991e-1d89d39c5fc3 fwd="68.228.82.153" dyno=web.1 connect=1ms service=3ms status=200 bytes=2279 protocol=https
2021-03-04T23:44:06.618133+00:00 heroku[router]: at=info method=GET path="/static/js/2.8bd4d093.chunk.js" host=nteract-games.herokuapp.com request_id=6ca3ad78-5d12-4b6a-ac01-af1ad1e9384d fwd="68.228.82.153" dyno=web.1 connect=1ms service=28ms status=200 bytes=383646 protocol=https
2021-03-04T23:44:06.675395+00:00 heroku[router]: at=info method=GET path="/static/js/main.4cf487f4.chunk.js" host=nteract-games.herokuapp.com request_id=1d80558f-6431-4956-aee4-5dc42b8310d0 fwd="68.228.82.153" dyno=web.1 connect=1ms service=7ms status=200 bytes=45167 protocol=https
2021-03-04T23:44:06.744820+00:00 heroku[router]: at=info method=GET path="/" host=nteract-games.herokuapp.com request_id=70bd397b-af31-452b-bafb-1707c2b03a2e fwd="3.80.210.39" dyno=web.1 connect=0ms service=3ms status=200 bytes=2731 protocol=https
2021-03-04T23:44:06.782064+00:00 heroku[router]: at=info method=GET path="/logo192.png" host=nteract-games.herokuapp.com request_id=5a81f9b3-4dcc-4e63-b28e-542c2c794f4c fwd="3.237.171.154" dyno=web.1 connect=1ms service=2ms status=200 bytes=5654 protocol=https
2021-03-04T23:44:06.877220+00:00 heroku[router]: at=info method=GET path="/" host=nteract-games.herokuapp.com request_id=d515b78f-58ec-4bbf-8874-ae492f6b9513 fwd="3.234.144.228" dyno=web.1 connect=0ms service=3ms status=206 bytes=2778 protocol=https
2021-03-04T23:44:07.171785+00:00 heroku[router]: at=info method=GET path="/static/js/main.4cf487f4.chunk.js.map" host=nteract-games.herokuapp.com request_id=69fed97b-2746-4914-b977-be2668ef3b0f fwd="68.228.82.153" dyno=web.1 connect=1ms service=11ms status=200 bytes=69547 protocol=https
2021-03-04T23:44:07.176380+00:00 heroku[router]: at=info method=GET path="/logo192.png" host=nteract-games.herokuapp.com request_id=dc7e6a55-1b29-431e-bf77-fe46964afce9 fwd="34.214.111.232" dyno=web.1 connect=1ms service=3ms status=200 bytes=5654 protocol=https
2021-03-04T23:44:07.225223+00:00 heroku[router]: at=info method=GET path="/static/js/2.8bd4d093.chunk.js.map" host=nteract-games.herokuapp.com request_id=f4ec6f15-0c34-42ed-af11-e3a012a9b260 fwd="68.228.82.153" dyno=web.1 connect=1ms service=58ms status=200 bytes=971615 protocol=https
2021-03-04T23:44:07.273221+00:00 heroku[router]: at=info method=GET path="/manifest.json" host=nteract-games.herokuapp.com request_id=12931599-168f-473f-95d0-14f496f31942 fwd="68.228.82.153" dyno=web.1 connect=1ms service=4ms status=200 bytes=819 protocol=https
2021-03-04T23:44:07.290872+00:00 heroku[router]: at=info method=GET path="/logo192.png" host=nteract-games.herokuapp.com request_id=ce501ba5-8e6a-48bf-8ccd-b785c8a66e9d fwd="18.202.25.94" dyno=web.1 connect=1ms service=2ms status=200 bytes=5654 protocol=https
2021-03-04T23:44:07.354782+00:00 heroku[router]: at=info method=GET path="/static/media/turtles.7ea6de07.png" host=nteract-games.herokuapp.com request_id=7552a395-f657-40bf-ac50-b4844b90b843 fwd="68.228.82.153" dyno=web.1 connect=1ms service=3ms status=200 bytes=21948 protocol=https
2021-03-04T23:44:07.410937+00:00 heroku[router]: at=info method=GET path="/static/css/main.5af4f64f.chunk.css.map" host=nteract-games.herokuapp.com request_id=c7e4dc6a-ba09-473e-a09b-37dbf1c5e37e fwd="68.228.82.153" dyno=web.1 connect=1ms service=3ms status=200 bytes=4300 protocol=https
2021-03-04T23:44:07.552424+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=nteract-games.herokuapp.com request_id=53a16618-8367-48ca-ac19-7d339ce403b1 fwd="68.228.82.153" dyno=web.1 connect=1ms service=7ms status=200 bytes=4179 protocol=https
2021-03-04T23:44:07.553262+00:00 heroku[router]: at=info method=GET path="/manifest.json" host=nteract-games.herokuapp.com request_id=b37b12cf-e6e4-482b-9621-772e31d1389c fwd="68.228.82.153" dyno=web.1 connect=2ms service=9ms status=304 bytes=269 protocol=https
2021-03-04T23:44:07.649501+00:00 heroku[router]: at=info method=GET path="/logo192.png" host=nteract-games.herokuapp.com request_id=6edc1a66-ac52-4837-b9d8-43378c27a0c3 fwd="68.228.82.153" dyno=web.1 connect=1ms service=3ms status=200 bytes=5654 protocol=https
2021-03-04T23:44:37.183194+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/api/v1/games" host=nteract-games.herokuapp.com request_id=113762b3-be0c-4ac2-aa11-dc37b3218194 fwd="68.228.82.153" dyno=web.1 connect=0ms service=30000ms status=503 bytes=0 protocol=https
2021-03-04T23:44:37.335666+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/api/v1/tasks" host=nteract-games.herokuapp.com request_id=537069ed-4a83-4257-bcdb-0556b12b39f7 fwd="68.228.82.153" dyno=web.1 connect=1ms service=30001ms status=503 bytes=0 protocol=https
2021-03-04T23:52:11.484328+00:00 heroku[router]: at=info method=GET path="/" host=nteract-games.herokuapp.com request_id=cbd8eeec-35b3-4de4-a454-b3cd8210b515 fwd="68.228.82.153" dyno=web.1 connect=1ms service=3ms status=304 bytes=269 protocol=https
2021-03-04T23:52:11.614284+00:00 heroku[router]: at=info method=GET path="/static/css/main.5af4f64f.chunk.css" host=nteract-games.herokuapp.com request_id=acd6c458-f33f-46a6-957e-d539f91be93a fwd="68.228.82.153" dyno=web.1 connect=1ms service=3ms status=304 bytes=269 protocol=https
2021-03-04T23:52:11.622980+00:00 heroku[router]: at=info method=GET path="/static/js/2.8bd4d093.chunk.js" host=nteract-games.herokuapp.com request_id=6612dca1-351f-40ba-b520-a2d4d960bc29 fwd="68.228.82.153" dyno=web.1 connect=1ms service=7ms status=304 bytes=271 protocol=https
2021-03-04T23:52:11.697104+00:00 heroku[router]: at=info method=GET path="/static/js/main.4cf487f4.chunk.js" host=nteract-games.herokuapp.com request_id=cdbeb449-7314-4b61-bdbb-dd9adfb5c195 fwd="68.228.82.153" dyno=web.1 connect=1ms service=2ms status=304 bytes=270 protocol=https
2021-03-04T23:52:11.856163+00:00 heroku[router]: at=info method=GET path="/static/media/turtles.7ea6de07.png" host=nteract-games.herokuapp.com request_id=0323139b-e553-46f3-b310-b65f490b4f85 fwd="68.228.82.153" dyno=web.1 connect=1ms service=4ms status=304 bytes=270 protocol=https
2021-03-04T23:52:12.240896+00:00 heroku[router]: at=info method=GET path="/manifest.json" host=nteract-games.herokuapp.com request_id=7383108f-868f-4b10-951c-2ec0b3fe6fba fwd="68.228.82.153" dyno=web.1 connect=1ms service=5ms status=304 bytes=269 protocol=https
2021-03-04T23:52:12.342121+00:00 heroku[router]: at=info method=GET path="/logo192.png" host=nteract-games.herokuapp.com request_id=26d06480-6587-4689-9bd5-dd9762a5b08f fwd="68.228.82.153" dyno=web.1 connect=2ms service=5ms status=304 bytes=270 protocol=https
2021-03-04T23:52:41.848910+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/api/v1/games" host=nteract-games.herokuapp.com request_id=e20483a2-a40c-4cd0-853e-3a83abbbe4e3 fwd="68.228.82.153" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=https
2021-03-04T23:52:41.857343+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/api/v1/tasks" host=nteract-games.herokuapp.com request_id=f715ed11-468f-4441-acdf-e8a7b65e89d3 fwd="68.228.82.153" dyno=web.1 connect=2ms service=30000ms status=503 bytes=0 protocol=https
2021-03-04T23:54:20.482564+00:00 heroku[router]: at=info method=GET path="/" host=nteract-games.herokuapp.com request_id=d9fd649d-a11e-410b-ba7f-4dc7966f7a66 fwd="68.228.82.153" dyno=web.1 connect=1ms service=3ms status=304 bytes=269 protocol=https
2021-03-04T23:54:20.622682+00:00 heroku[router]: at=info method=GET path="/static/css/main.5af4f64f.chunk.css" host=nteract-games.herokuapp.com request_id=27075272-c9f6-4121-868d-e5676145f2fd fwd="68.228.82.153" dyno=web.1 connect=1ms service=2ms status=304 bytes=269 protocol=https
2021-03-04T23:54:20.627330+00:00 heroku[router]: at=info method=GET path="/static/js/2.8bd4d093.chunk.js" host=nteract-games.herokuapp.com request_id=b599d46a-5afd-43e4-876f-1b20bd37260b fwd="68.228.82.153" dyno=web.1 connect=1ms service=3ms status=304 bytes=271 protocol=https
2021-03-04T23:54:20.709402+00:00 heroku[router]: at=info method=GET path="/static/js/main.4cf487f4.chunk.js" host=nteract-games.herokuapp.com request_id=e20dfa9a-2790-4db0-8459-e0c3fb833868 fwd="68.228.82.153" dyno=web.1 connect=1ms service=2ms status=304 bytes=270 protocol=https
2021-03-04T23:54:20.871471+00:00 heroku[router]: at=info method=GET path="/static/media/turtles.7ea6de07.png" host=nteract-games.herokuapp.com request_id=f4fa7a17-0da0-4c1c-8983-8f6ace58a010 fwd="68.228.82.153" dyno=web.1 connect=2ms service=3ms status=304 bytes=270 protocol=https
2021-03-04T23:54:21.267283+00:00 heroku[router]: at=info method=GET path="/manifest.json" host=nteract-games.herokuapp.com request_id=2676a096-1f30-4b69-a4a2-db50a463cd36 fwd="68.228.82.153" dyno=web.1 connect=1ms service=2ms status=304 bytes=269 protocol=https
2021-03-04T23:54:21.355716+00:00 heroku[router]: at=info method=GET path="/logo192.png" host=nteract-games.herokuapp.com request_id=30618fa1-e31d-4112-8c96-5016efa6d735 fwd="68.228.82.153" dyno=web.1 connect=1ms service=3ms status=304 bytes=270 protocol=https
2021-03-04T23:54:50.868570+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/api/v1/games" host=nteract-games.herokuapp.com request_id=f874099a-875f-4e39-95f0-edb3d38160de fwd="68.228.82.153" dyno=web.1 connect=1ms service=30011ms status=503 bytes=0 protocol=https
2021-03-04T23:54:50.869152+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/api/v1/tasks" host=nteract-games.herokuapp.com request_id=ffa15ae5-92d2-4e52-a193-7397620e7508 fwd="68.228.82.153" dyno=web.1 connect=2ms service=30000ms status=503 bytes=0 protocol=https
2021-03-05T00:18:25.153805+00:00 heroku[router]: at=info method=GET path="/logo192.png" host=nteract-games.herokuapp.com request_id=8592c662-8dab-483d-aea6-384a4dbd2a00 fwd="52.211.163.136" dyno=web.1 connect=1ms service=10ms status=200 bytes=5654 protocol=https
2021-03-05T00:51:35.847518+00:00 heroku[web.1]: Idling
2021-03-05T00:51:35.850202+00:00 heroku[web.1]: State changed from up to down
2021-03-05T00:51:36.770090+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2021-03-05T00:51:36.894779+00:00 heroku[web.1]: Process exited with status 143
2021-03-05T01:04:39.125354+00:00 heroku[web.1]: Unidling
2021-03-05T01:04:39.248383+00:00 heroku[web.1]: State changed from down to starting
2021-03-05T01:04:47.571627+00:00 heroku[web.1]: Starting process with command `node server.js`
2021-03-05T01:04:49.520038+00:00 app[web.1]: Server started on port 17992!
2021-03-05T01:04:49.520052+00:00 app[web.1]:
2021-03-05T01:04:49.527741+00:00 app[web.1]: (node:4) UnhandledPromiseRejectionWarning: error: no pg_hba.conf entry for host "18.212.217.163", user "jlffntexskqxaf", database "d1dni4rrpqm6k3", SSL off
2021-03-05T01:04:49.527742+00:00 app[web.1]: at Parser.parseErrorMessage (/app/node_modules/pg-protocol/dist/parser.js:278:15)
2021-03-05T01:04:49.527742+00:00 app[web.1]: at Parser.handlePacket (/app/node_modules/pg-protocol/dist/parser.js:126:29)
2021-03-05T01:04:49.527743+00:00 app[web.1]: at Parser.parse (/app/node_modules/pg-protocol/dist/parser.js:39:38)
2021-03-05T01:04:49.527743+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/pg-protocol/dist/index.js:10:42)
2021-03-05T01:04:49.527744+00:00 app[web.1]: at Socket.emit (events.js:315:20)
2021-03-05T01:04:49.527744+00:00 app[web.1]: at addChunk (_stream_readable.js:309:12)
2021-03-05T01:04:49.527745+00:00 app[web.1]: at readableAddChunk (_stream_readable.js:284:9)
2021-03-05T01:04:49.527745+00:00 app[web.1]: at Socket.Readable.push (_stream_readable.js:223:10)
2021-03-05T01:04:49.527746+00:00 app[web.1]: at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
2021-03-05T01:04:49.527746+00:00 app[web.1]: (Use `node --trace-warnings ...` to show where the warning was created)
2021-03-05T01:04:49.527866+00:00 app[web.1]: (node:4) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
2021-03-05T01:04:49.528003+00:00 app[web.1]: (node:4) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2021-03-05T01:04:49.721930+00:00 heroku[web.1]: State changed from starting to up
2021-03-05T01:04:51.340564+00:00 heroku[router]: at=info method=GET path="/logo192.png" host=nteract-games.herokuapp.com request_id=618aa02a-aa62-468d-a058-8501f4258b46 fwd="52.37.199.84" dyno=web.1 connect=0ms service=22ms status=200 bytes=5654 protocol=https
2021-03-05T01:40:21.938163+00:00 heroku[web.1]: Idling
2021-03-05T01:40:21.944094+00:00 heroku[web.1]: State changed from up to down
2021-03-05T01:40:23.121294+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2021-03-05T01:40:23.257393+00:00 heroku[web.1]: Process exited with status 143
Heroku has a new requirement as of February 23, 2021: All Heroku Postgres client connections require SSL. We didn't get an email warning us about this before it happened, so our app suddenly went offline. I was able to fix it by making the following updates to our Heroku app config variables:
Set PGSSLMODE to require
Set DB_USE_SSL to true
Just deployed my meteor app to heroku using heroku-18 and meteor-buildpack-horse. This is deploy v116. On previous deployments I was able to use Cloudflare flexible SSL configuration on my app, but after deployment v116 the page keeps redirecting to the login route. As I can see from logs, I think it may be related to log entries with status 101 (Switching Protocols).
If I access my app through http://app.domain.com it works, but accessing with https://app.domain.com it doesn't.
Heroku app logs
2018-10-17T23:52:16.299384+00:00 heroku[router]: at=info method=GET path="/sockjs/048/yk_lctvs/websocket" host=app.domain.com request_id=8d322763-1141-4217-94e1-5b390e1e9739 fwd="181.95.179.168,162.158.123.96" dyno=web.1 connect=1ms service=765ms status=101 bytes=175 protocol=http
2018-10-17T23:52:16.336802+00:00 heroku[router]: at=info method=GET path="/login" host=app.domain.com request_id=9d1fe273-3abb-4ecf-996f-ced82b07117e fwd="181.95.179.168,162.158.123.114" dyno=web.1 connect=1ms service=9ms status=200 bytes=4442 protocol=http
2018-10-17T23:52:16.512511+00:00 heroku[router]: at=info method=GET path="/sockjs/info?cb=5g7x6pmg9k" host=app.domain.com request_id=dfd71b44-5b95-42b3-b02f-bd118e91804a fwd="181.95.179.168,162.158.123.114" dyno=web.1 connect=1ms service=3ms status=200 bytes=363 protocol=http
2018-10-17T23:52:17.119755+00:00 heroku[router]: at=info method=GET path="/sockjs/info?cb=jadymh88hj" host=app.domain.com request_id=0febb4b3-107a-41ad-b427-6f187a32c3b2 fwd="181.95.179.168,162.158.123.114" dyno=web.1 connect=0ms service=4ms status=200 bytes=363 protocol=http
2018-10-17T23:52:18.401775+00:00 heroku[router]: at=info method=GET path="/sockjs/559/3by4bm5x/websocket" host=app.domain.com request_id=85b5cf5b-7c75-4472-9a0e-46c76c8cd534 fwd="181.95.179.168,162.158.123.95" dyno=web.1 connect=0ms service=664ms status=101 bytes=175 protocol=http
2018-10-17T23:52:18.410152+00:00 heroku[router]: at=info method=GET path="/login" host=app.domain.com request_id=ebd62bbc-a041-40aa-9c21-e15414655a59 fwd="181.95.179.168,162.158.123.114" dyno=web.1 connect=1ms service=7ms status=200 bytes=4442 protocol=http
2018-10-17T23:52:18.616711+00:00 heroku[router]: at=info method=GET path="/sockjs/info?cb=7k081p4ay5" host=app.domain.com request_id=a780d8d5-a149-4a55-a43d-b9be9dbfd1bc fwd="181.95.179.168,162.158.123.114" dyno=web.1 connect=0ms service=1ms status=200 bytes=363 protocol=http
2018-10-17T23:52:19.144127+00:00 heroku[router]: at=info method=GET path="/sockjs/info?cb=3zq5040dzp" host=app.domain.com request_id=a86deb0d-8ee1-4ed6-9c60-88ea639afb7e fwd="181.95.179.168,162.158.123.114" dyno=web.1 connect=1ms service=2ms status=200 bytes=363 protocol=http
2018-10-17T23:52:20.417289+00:00 heroku[router]: at=info method=GET path="/login" host=app.domain.com request_id=1f7bf690-22a2-44c6-bfc2-76de3bef3558 fwd="181.95.179.168,162.158.123.114" dyno=web.1 connect=1ms service=7ms status=200 bytes=4442 protocol=http
2018-10-17T23:52:20.405086+00:00 heroku[router]: at=info method=GET path="/sockjs/802/r48516e0/websocket" host=app.domain.com request_id=2f733dc7-2d60-4770-b83d-52f53b5bc58a fwd="181.95.179.168,162.158.123.96" dyno=web.1 connect=0ms service=662ms status=101 bytes=175 protocol=http
UPDATE
This issue seems to be related to meteor package browser-policy. After disabling it in meteor packages file and removing the startup code the site stopped redirecting.
The startup code for browser-policy is as follows:
import _ from 'lodash';
import { BrowserPolicy } from 'meteor/browser-policy-common';
BrowserPolicy.framing.disallow();
BrowserPolicy.content.disallowInlineScripts();
BrowserPolicy.content.allowInlineStyles();
BrowserPolicy.content.disallowEval();
const trusted = [
'maps.googleapis.com',
'maps.gstatic.com',
'csi.gstatic.com',
'dinamo-server-meteor.herokuapp.com',
'dinamoapp.playtime.com.ar',
'fonts.googleapis.com',
'fonts.gstatic.com',
'cdnjs.cloudflare.com',
'unpkg.com',
'a.tile.openstreetmap.org',
'b.tile.openstreetmap.org',
'c.tile.openstreetmap.org',
'blob:',
];
_.map(trusted, origin => BrowserPolicy.content.allowOriginForAll(origin));
I'm using Python 2.7 and MoinMoin 1.9.9, I've deployed the Application on Heroku Platform but I'm facing an issue i.e "Application Error".
You can find my application logs below:
2018-05-03T05:39:02.716120+00:00 app[web.1]: 2018-05-03 05:39:02,715 INFO MoinMoin.log:152 using logging configuration read from built-in fallback in MoinMoin.log module
2018-05-03T05:39:02.716466+00:00 app[web.1]: 2018-05-03 05:39:02,716 INFO MoinMoin.log:158 Running MoinMoin 1.9.9 release code from /app/MoinMoin
2018-05-03T05:39:03.011560+00:00 app[web.1]: [2018-05-03 05:39:03 +0000] [4] [INFO] Reason: Worker failed to boot.
2018-05-03T05:39:03.011523+00:00 app[web.1]: [2018-05-03 05:39:03 +0000] [4] [INFO] Shutting down: Master
2018-05-03T05:39:03.148289+00:00 heroku[web.1]: State changed from starting to crashed
2018-05-03T05:39:03.090670+00:00 heroku[web.1]: Process exited with status 3
2018-05-03T09:41:43.560985+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=sheltered-citadel-35464.herokuapp.com request_id=d3919c33-4aea-42fb-922f-dfc5b8ca339e fwd="183.82.120.17" dyno= connect= service= status=503 bytes= protocol=https
2018-05-03T09:41:45.013289+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=sheltered-citadel-35464.herokuapp.com request_id=325305d9-9828-4233-ba3a-6196ecf37aab fwd="183.82.120.17" dyno= connect= service= status=503 bytes= protocol=https
2018-05-03T10:10:28.836690+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=sheltered-citadel-35464.herokuapp.com request_id=d0be2e2f-25ef-45d4-9303-9e4e27fd1cb6 fwd="183.82.120.17" dyno= connect= service= status=503 bytes= protocol=https
2018-05-03T10:10:29.958878+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=sheltered-citadel-35464.herokuapp.com request_id=7b2bc98b-c757-4323-8089-986f00c1a11a fwd="183.82.120.17" dyno= connect= service= status=503 bytes= protocol=https
Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...
2018-05-03T05:39:02.716120+00:00 app[web.1]: 2018-05-03 05:39:02,715 INFO MoinMoin.log:152 using logging configuration read from built-in fallback in MoinMoin.log module
2018-05-03T05:39:02.716466+00:00 app[web.1]: 2018-05-03 05:39:02,716 INFO MoinMoin.log:158 Running MoinMoin 1.9.9 release code from /app/MoinMoin
2018-05-03T05:39:03.011560+00:00 app[web.1]: [2018-05-03 05:39:03 +0000] [4] [INFO] Reason: Worker failed to boot.
2018-05-03T05:39:03.011523+00:00 app[web.1]: [2018-05-03 05:39:03 +0000] [4] [INFO] Shutting down: Master
2018-05-03T05:39:03.148289+00:00 heroku[web.1]: State changed from starting to crashed
2018-05-03T05:39:03.090670+00:00 heroku[web.1]: Process exited with status 3
2018-05-03T09:41:43.560985+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=sheltered-citadel-35464.herokuapp.com request_id=d3919c33-4aea-42fb-922f-dfc5b8ca339e fwd="183.82.120.17" dyno= connect= service= status=503 bytes= protocol=https
2018-05-03T09:41:45.013289+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=sheltered-citadel-35464.herokuapp.com request_id=325305d9-9828-4233-ba3a-6196ecf37aab fwd="183.82.120.17" dyno= connect= service= status=503 bytes= protocol=https
2018-05-03T10:10:28.836690+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=sheltered-citadel-35464.herokuapp.com request_id=d0be2e2f-25ef-45d4-9303-9e4e27fd1cb6 fwd="183.82.120.17" dyno= connect= service= status=503 bytes= protocol=https
2018-05-03T10:10:29.958878+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=sheltered-citadel-35464.herokuapp.com request_id=7b2bc98b-c757-4323-8089-986f00c1a11a fwd="183.82.120.17" dyno= connect= service= status=503 bytes= protocol=https
I've deployed a Flask web app to heroku.
The code works on my localhost, and I think nothing is wrong with my Procfile.
In fact, everything works properly at the beginning (everything returns 200, even the POST requests). It's just that, after that initial functionality, POST requests start returning 403. You can see in the logs that this happens. Is it because I am sending too many POST requests at once and am getting denied?
2017-06-20T16:01:16.845941+00:00 heroku[web.1]: Starting process with command `gunicorn app:server`
2017-06-20T16:01:20.096712+00:00 app[web.1]: [2017-06-20 16:01:20 +0000] [4] [INFO] Starting gunicorn 19.7.1
2017-06-20T16:01:20.097775+00:00 app[web.1]: [2017-06-20 16:01:20 +0000] [4] [INFO] Listening at: http://0.0.0.0:46337 (4)
2017-06-20T16:01:20.097995+00:00 app[web.1]: [2017-06-20 16:01:20 +0000] [4] [INFO] Using worker: sync
2017-06-20T16:01:20.189950+00:00 app[web.1]: [2017-06-20 16:01:20 +0000] [10] [INFO] Booting worker with pid: 10
2017-06-20T16:01:20.105157+00:00 app[web.1]: [2017-06-20 16:01:20 +0000] [9] [INFO] Booting worker with pid: 9
2017-06-20T16:01:21.127714+00:00 heroku[web.1]: State changed from starting to up
2017-06-20T16:01:34.961499+00:00 heroku[router]: at=info method=GET path="/" host=guidelinereview.herokuapp.com request_id=b5ab4dbc-2d55-4cb7-9352-f1428388cbf4 fwd="71.206.29.171" dyno=web.1 connect=1ms service=12690ms status=200 bytes=928 protocol=http
2017-06-20T16:01:36.097253+00:00 heroku[router]: at=info method=GET path="/_config" host=guidelinereview.herokuapp.com request_id=15867602-581e-4b9d-9c39-2a455d48ac19 fwd="71.206.29.171" dyno=web.1 connect=0ms service=9ms status=200 bytes=449 protocol=http
2017-06-20T16:01:36.194579+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=guidelinereview.herokuapp.com request_id=ff2908a6-d3f5-41a4-b2ed-745c0b6f4e56 fwd="71.206.29.171" dyno=web.1 connect=1ms service=80ms status=200 bytes=745 protocol=http
2017-06-20T16:01:36.297555+00:00 heroku[router]: at=info method=GET path="/layout" host=guidelinereview.herokuapp.com request_id=afe00afa-345f-4c17-af03-09e6a995aec7 fwd="71.206.29.171" dyno=web.1 connect=0ms service=166ms status=200 bytes=2655 protocol=http
2017-06-20T16:01:36.372381+00:00 heroku[router]: at=info method=GET path="/dependencies" host=guidelinereview.herokuapp.com request_id=d45adf72-4ba3-4323-b1a4-eb0666403523 fwd="71.206.29.171" dyno=web.1 connect=0ms service=214ms status=200 bytes=658 protocol=http
2017-06-20T16:01:36.521571+00:00 heroku[router]: at=info method=GET path="/routes" host=guidelinereview.herokuapp.com request_id=6a01682e-921a-412f-be80-fb0d8806b5cd fwd="71.206.29.171" dyno=web.1 connect=1ms service=356ms status=200 bytes=296 protocol=http
2017-06-20T16:01:36.636388+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=333bb498-c4e6-4a38-ba48-186e1acf471b fwd="71.206.29.171" dyno=web.1 connect=3ms service=79ms status=200 bytes=390 protocol=http
2017-06-20T16:01:36.701389+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=2607a2e9-a833-41f4-ad8c-77c3cb851884 fwd="71.206.29.171" dyno=web.1 connect=0ms service=141ms status=200 bytes=390 protocol=http
2017-06-20T16:01:36.776266+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=9289d621-93da-4188-bc28-e943067b700d fwd="71.206.29.171" dyno=web.1 connect=0ms service=213ms status=200 bytes=390 protocol=http
2017-06-20T16:01:37.018956+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=c17fecd8-4e21-4969-8d1c-b38cbef4b0bc fwd="71.206.29.171" dyno=web.1 connect=0ms service=423ms status=200 bytes=693 protocol=http
2017-06-20T16:01:36.880369+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=bb3f15ea-7e72-41c0-a388-d828e144c4c1 fwd="71.206.29.171" dyno=web.1 connect=0ms service=312ms status=200 bytes=390 protocol=http
2017-06-20T16:01:37.151601+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=379c8719-7631-49d9-bb21-23e3a4f4bef0 fwd="71.206.29.171" dyno=web.1 connect=0ms service=413ms status=200 bytes=519 protocol=http
2017-06-20T16:01:37.148173+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=7d41ebe8-26e2-4671-b434-028bf43c6773 fwd="71.206.29.171" dyno=web.1 connect=0ms service=490ms status=200 bytes=693 protocol=http
2017-06-20T16:01:37.088971+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=d945240d-5028-4956-957b-5c71065ac36f fwd="71.206.29.171" dyno=web.1 connect=2ms service=492ms status=200 bytes=569 protocol=http
2017-06-20T16:01:37.274916+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=49a2a6bb-6d59-4a42-8b91-3333486addf9 fwd="71.206.29.171" dyno=web.1 connect=0ms service=475ms status=200 bytes=569 protocol=http
2017-06-20T16:01:37.376558+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=53b5eafc-16e7-4f35-84d3-d3a1756b4a48 fwd="71.206.29.171" dyno=web.1 connect=0ms service=466ms status=200 bytes=693 protocol=http
2017-06-20T16:01:37.396808+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=b52eba0b-e57e-4adb-8a82-b25e4bf14dcf fwd="71.206.29.171" dyno=web.1 connect=3ms service=347ms status=200 bytes=519 protocol=http
2017-06-20T16:01:37.701174+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=acdd65df-09c5-4c3e-981c-f5ca5a565cdb fwd="71.206.29.171" dyno=web.1 connect=0ms service=563ms status=200 bytes=569 protocol=http
2017-06-20T16:01:37.974959+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=64bcf02e-56f1-4bf7-89ee-c197e5b69cc2 fwd="71.206.29.171" dyno=web.1 connect=0ms service=807ms status=200 bytes=693 protocol=http
2017-06-20T16:01:38.038246+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=3bf8712a-8bc4-4b02-b9b2-a88b7d345567 fwd="71.206.29.171" dyno=web.1 connect=0ms service=860ms status=200 bytes=519 protocol=http
2017-06-20T16:01:38.207441+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=54ef1b9a-6aaf-4c15-bc8c-ed14952100e6 fwd="71.206.29.171" dyno=web.1 connect=0ms service=913ms status=200 bytes=569 protocol=http
2017-06-20T16:01:39.123170+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=b5d4b23f-ee9e-40c4-9ffb-26c77d1463be fwd="71.206.29.171" dyno=web.1 connect=6ms service=1709ms status=200 bytes=693 protocol=http
2017-06-20T16:01:39.318840+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=ac0a9929-97d7-4b53-b090-b05445e64c1b fwd="71.206.29.171" dyno=web.1 connect=0ms service=1593ms status=200 bytes=569 protocol=http
2017-06-20T16:01:39.247560+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=20513249-f8f0-4487-ba16-1e1999a4d85e fwd="71.206.29.171" dyno=web.1 connect=0ms service=1820ms status=200 bytes=519 protocol=http
2017-06-20T16:01:39.404262+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=0ac2c9e2-a6f7-40a7-9771-923226a42d99 fwd="71.206.29.171" dyno=web.1 connect=0ms service=1401ms status=200 bytes=693 protocol=http
2017-06-20T16:01:39.439102+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=bf0a9d96-5774-4672-b983-77a4dd86145f fwd="71.206.29.171" dyno=web.1 connect=0ms service=1371ms status=200 bytes=519 protocol=http
2017-06-20T16:01:39.583746+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=08818e38-e4c3-44cf-8f06-4a3c37a28bdb fwd="71.206.29.171" dyno=web.1 connect=0ms service=307ms status=200 bytes=519 protocol=http
2017-06-20T16:01:39.602835+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=e78d5178-4c66-4319-9c1b-75ff0ede45e1 fwd="71.206.29.171" dyno=web.1 connect=0ms service=261ms status=200 bytes=569 protocol=http
2017-06-20T16:01:39.643553+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=50a38891-0e93-4c9a-b343-691ea2c042d1 fwd="71.206.29.171" dyno=web.1 connect=0ms service=14ms status=200 bytes=342 protocol=http
2017-06-20T16:01:39.533893+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=28a35bbe-ae16-4805-8cfb-45952d21bb34 fwd="71.206.29.171" dyno=web.1 connect=0ms service=1303ms status=200 bytes=569 protocol=http
2017-06-20T16:01:39.577065+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=a7ac8bb1-8abc-4484-ad96-2b02ece88e63 fwd="71.206.29.171" dyno=web.1 connect=0ms service=391ms status=200 bytes=693 protocol=http
2017-06-20T16:01:39.634418+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=a26ad4a1-a0cb-44fb-858a-7ce6f6e1e41b fwd="71.206.29.171" dyno=web.1 connect=0ms service=17ms status=200 bytes=340 protocol=http
2017-06-20T16:01:39.611004+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=9cdd1c45-7177-4d1b-891d-1565d01bad6c fwd="71.206.29.171" dyno=web.1 connect=0ms service=180ms status=200 bytes=519 protocol=http
2017-06-20T16:01:39.633465+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=8a12dfe0-78d8-4625-8199-be2fac659621 fwd="71.206.29.171" dyno=web.1 connect=0ms service=70ms status=200 bytes=340 protocol=http
2017-06-20T16:01:39.627790+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=1f5738ab-f8f0-4ad3-a99c-7b15a6b65341 fwd="71.206.29.171" dyno=web.1 connect=0ms service=155ms status=200 bytes=569 protocol=http
2017-06-20T16:01:39.639930+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=dd4c1303-d43e-4701-88ce-199af52eddeb fwd="71.206.29.171" dyno=web.1 connect=0ms service=20ms status=200 bytes=342 protocol=http
2017-06-20T16:01:39.931248+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=d289254b-c2ed-46f9-b630-2567c921faf3 fwd="71.206.29.171" dyno=web.1 connect=0ms service=58ms status=200 bytes=752 protocol=http
2017-06-20T16:01:39.907817+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=96934c6b-2d79-4c67-8560-c56ea87ef0fd fwd="71.206.29.171" dyno=web.1 connect=0ms service=44ms status=200 bytes=752 protocol=http
2017-06-20T16:01:39.874176+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=b0b6e178-9122-4cb9-a461-c3f6d4e50916 fwd="71.206.29.171" dyno=web.1 connect=1ms service=38ms status=200 bytes=334 protocol=http
2017-06-20T16:01:39.880939+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=5f690c51-5f56-476d-aa78-f63d32263d82 fwd="71.206.29.171" dyno=web.1 connect=0ms service=35ms status=200 bytes=334 protocol=http
2017-06-20T16:01:40.056507+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=32f54ee2-6296-4f19-96a7-9f6f511b9687 fwd="71.206.29.171" dyno=web.1 connect=0ms service=133ms status=200 bytes=1201 protocol=http
2017-06-20T16:01:40.433124+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=84a8aaea-4a94-4fe8-a2c5-60c52252f7fd fwd="71.206.29.171" dyno=web.1 connect=0ms service=499ms status=200 bytes=1201 protocol=http
2017-06-20T16:01:43.246410+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=6d85aea6-c5a0-4f81-bf3f-f87e90f61cc3 fwd="71.206.29.171" dyno=web.1 connect=0ms service=23ms status=200 bytes=446 protocol=http
2017-06-20T16:01:43.316244+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=3503b089-1258-4932-b76e-7d66efa76025 fwd="71.206.29.171" dyno=web.1 connect=0ms service=84ms status=403 bytes=713 protocol=http
2017-06-20T16:01:43.256630+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=4873d69a-3eb7-4db8-adcb-97d4a254cbee fwd="71.206.29.171" dyno=web.1 connect=1ms service=22ms status=200 bytes=446 protocol=http
2017-06-20T16:01:43.369376+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=b3481570-b6db-43e7-8397-32d3c9da6caf fwd="71.206.29.171" dyno=web.1 connect=0ms service=48ms status=200 bytes=353 protocol=http
2017-06-20T16:01:43.378513+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=2526588e-d5ba-40ae-891e-644c899ffa9f fwd="71.206.29.171" dyno=web.1 connect=0ms service=60ms status=403 bytes=713 protocol=http
2017-06-20T16:02:12.288966+00:00 heroku[router]: at=info method=GET path="/" host=guidelinereview.herokuapp.com request_id=2ed53537-afac-44cd-b16f-c661f674a497 fwd="71.206.29.171" dyno=web.1 connect=0ms service=28ms status=200 bytes=928 protocol=http
2017-06-20T16:02:13.074652+00:00 heroku[router]: at=info method=GET path="/_config" host=guidelinereview.herokuapp.com request_id=fcbcf27e-1044-446f-bd56-29c5aac0cfb5 fwd="71.206.29.171" dyno=web.1 connect=0ms service=18ms status=200 bytes=632 protocol=http
2017-06-20T16:02:13.161220+00:00 heroku[router]: at=info method=GET path="/routes" host=guidelinereview.herokuapp.com request_id=6ba9c7de-c6d2-45cc-abab-7f8dc05227de fwd="71.206.29.171" dyno=web.1 connect=1ms service=53ms status=200 bytes=479 protocol=http
2017-06-20T16:02:13.128897+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=guidelinereview.herokuapp.com request_id=6980591e-0aef-4397-b65e-8d37bf470e29 fwd="71.206.29.171" dyno=web.1 connect=3ms service=29ms status=200 bytes=745 protocol=http
2017-06-20T16:02:13.166240+00:00 heroku[router]: at=info method=GET path="/dependencies" host=guidelinereview.herokuapp.com request_id=fb2babe3-fc1e-4af3-90ce-65d521d0dcd5 fwd="71.206.29.171" dyno=web.1 connect=1ms service=56ms status=200 bytes=658 protocol=http
2017-06-20T16:02:13.253139+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=b204c6f3-646b-4008-813a-ccde5e516735 fwd="71.206.29.171" dyno=web.1 connect=6ms service=21ms status=403 bytes=713 protocol=http
2017-06-20T16:02:13.145435+00:00 heroku[router]: at=info method=GET path="/layout" host=guidelinereview.herokuapp.com request_id=4ce2faec-c7f9-49ee-b991-430c97a18216 fwd="71.206.29.171" dyno=web.1 connect=1ms service=36ms status=200 bytes=2655 protocol=http
2017-06-20T16:02:13.270867+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=a5aaea09-0e0c-46f4-9000-afb723e1644e fwd="71.206.29.171" dyno=web.1 connect=5ms service=40ms status=403 bytes=530 protocol=http
2017-06-20T16:02:13.370679+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=b50f0119-c4d7-4b58-b6f6-03ee0e68fca1 fwd="71.206.29.171" dyno=web.1 connect=0ms service=67ms status=403 bytes=530 protocol=http
2017-06-20T16:02:13.302148+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=0b91008e-2351-4663-a974-3e3b7c50fdba fwd="71.206.29.171" dyno=web.1 connect=0ms service=33ms status=403 bytes=530 protocol=http
2017-06-20T16:02:13.238984+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=f363408f-b5b1-4606-b526-c844bd83fdc7 fwd="71.206.29.171" dyno=web.1 connect=0ms service=23ms status=403 bytes=530 protocol=http
2017-06-20T16:02:13.413000+00:00 heroku[router]: at=info method=POST path="/update-component" host=guidelinereview.herokuapp.com request_id=845af0e7-9806-457a-a35b-7263ce8a4f01 fwd="71.206.29.171" dyno=web.1 connect=0ms service=91ms status=403 bytes=530 protocol=http
...
How would I solve this problem? There is lots of interactivity on the site.