Closed amit-rastogi closed 5 years ago
Hey @amit-rastogi,
The problem is that: self.addr + "/identity/"
is not the best way to concatenate strings to represent a path. This should be changed to os.path.join(self.addr, "/identity/")
.
More specifically the current version of grid will fail if self.addr ends with "/".
Thanks @mari-linhares i'll take this up.
When I run gr.GridClient(addr=gr.launch_on_heroku("opengrid10", verbose=True, check_deps=True)) _verify_identity fails with "App is not an OpenGrid app."
After debugging the code I found that in my case response code is 502 and r.text is a bunch of html and its not "OpenGrid", hence its failing. Is this expected behavior or am I missing something?