https://kotlinlang.org logo
#ktor
Title
# ktor
l

Leon K

02/22/2020, 4:52 PM
"lost in ambiguity tie" sounds like maybe there is another route that matches too, so it doesn't know what to do?
1
e

emil

02/23/2020, 11:08 AM
good idea, for debugging porpuses I removed all other routes. The result is
Copy code
2020-02-23 12:04:06.748 [nioEventLoopGroup-4-1] TRACE Application - Trace for [joinGame, fasd234r]
/, segment:0 -> SUCCESS; Parameters [gameId=[fasd234r]] @ /joinGame/{gameId}/(method:GET))
  /joinGame, segment:1 -> SUCCESS; Parameters [gameId=[fasd234r]] @ /joinGame/{gameId}/(method:GET))
    /joinGame/{gameId}, segment:2 -> SUCCESS @ /joinGame/{gameId}/(method:GET))
      /joinGame/{gameId}/(method:GET), segment:2 -> SUCCESS @ /joinGame/{gameId}/(method:GET))

2020-02-23 12:04:06.780 [nioEventLoopGroup-4-1] INFO  Application - Unhandled: GET - /joinGame/fasd234r
which confuses me even more
c

cy

02/25/2020, 1:06 PM
Looks like you have no response in your handler
e

emil

02/25/2020, 1:14 PM
Jep, thank you. I messed up some branching logic