Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String index out of range when requesting Backsplash / #5521

Open
rbreslow opened this issue Nov 26, 2020 · 0 comments
Open

String index out of range when requesting Backsplash / #5521

rbreslow opened this issue Nov 26, 2020 · 0 comments

Comments

@rbreslow
Copy link
Contributor

$ http https://backsplash.rasterfoundry.com/
HTTP/1.1 500 Internal Server Error
Connection: keep-alive
Content-Length: 0
Date: Thu, 26 Nov 2020 03:41:20 GMT
Server: nginx
Strict-Transport-Security: max-age=15552000; preload
X-Content-Type-Options: nosniff
Nov 25 22:41:20 34.199.142.172 production/backsplash [scala-execution-context-global-74771] ERROR o.h.s.service-errors - Error servicing request: GET / from 172.17.0.4 
Nov 25 22:41:20 34.199.142.172 production/backsplash java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at java.lang.String.charAt(String.java:658)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at com.rasterfoundry.backsplash.server.RequestRewriteMiddleware$.$anonfun$apply$1(RequestRewriteMiddleware.scala:30)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at cats.data.Kleisli.apply(Kleisli.scala:132)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at com.rasterfoundry.backsplash.server.RequestRewriteMiddleware$.$anonfun$apply$1(RequestRewriteMiddleware.scala:33)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at cats.data.Kleisli.apply(Kleisli.scala:132)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at com.rasterfoundry.backsplash.error.ServiceHttpErrorHandler$.$anonfun$apply$1(Error.scala:104)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at cats.data.Kleisli.apply(Kleisli.scala:132)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at com.rasterfoundry.backsplash.error.ServiceHttpErrorHandler$.$anonfun$apply$1(Error.scala:104)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at cats.data.Kleisli.apply(Kleisli.scala:132)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at com.rasterfoundry.backsplash.error.ServiceHttpErrorHandler$.$anonfun$apply$1(Error.scala:104)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at org.http4s.syntax.KleisliResponseOps.$anonfun$orNotFound$1(KleisliSyntax.scala:32)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at org.http4s.server.blaze.Http1ServerStage.$anonfun$raceTimeout$1(Http1ServerStage.scala:334)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at org.http4s.server.blaze.Http1ServerStage$$anon$2.$anonfun$run$1(Http1ServerStage.scala:180)
Nov 25 22:41:20 34.199.142.172 production/backsplash 	at flatMap @ org.http4s.server.blaze.Http1ServerStage$$anon$2.run(Http1ServerStage.scala:182)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant