Skip to content

localhost:8080 needs trailing slash #55

Description

@caver456

with CTP 2.0.0, noticed by Steve, duplicated on the dev machine:

211237 [caltopo_python:270:INFO] Opening a CaltopoSession object with no associated map.  Use .openMap(<mapID>) later to associate a map with this session.
211237 [caltopo_python:394:INFO] Opening map G8TEQHH...
211237 [caltopo_python:404:INFO] Initial cache population begins.
211237 [caltopo_python:1034:INFO] inside doSync
211237 [caltopo_python:1708:INFO] -- BLOCKING (sending now, timeout=10) GET http://localhost:8080since/0
211237 [caltopo_python:1728:ERROR] Exception while sending a blocking request: Failed to parse: http://localhost:8080since/0
211237 [caltopo_python:1244:ERROR] Sync returned invalid or no response; sync attempt failed.  Response: False

Workaround is to include a trailing slash in domainAndPort. Need to determine why it's needed for localhost:8080 but not needed for caltopo.com.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions