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

Publish failure because of bad credential in GME #1015

Closed
mitchellsundt opened this issue Jul 9, 2015 · 6 comments
Closed

Publish failure because of bad credential in GME #1015

mitchellsundt opened this issue Jul 9, 2015 · 6 comments

Comments

@mitchellsundt
Copy link
Contributor

mitchellsundt commented Jul 9, 2015

Migrated to getodk/aggregate#54 by spacetelescope/github-issues-import

Originally reported on Google Code with ID 1014

From prab.raja@gmail.com

I have installed ODK aggregate on a server with Tomcat and Postgres. Everything works
fine, only publishing to GME gives error.

I have setup OAuth for a google account and uploaded the same in ODK aggregate. Now
I can publish to Fusion tables. Same google account is an admin for GME and created
Vector table in GME using following KML file.


<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2">
  <Document>
    <name>GME Geo Tagger</name>
    <Folder>
      <!-- Placemark is needed to build the data store -->
      <Placemark>
        <ExtendedData>
          <Data name="/data/meta/instanceId"/>
          <Data name="/data/meta/instanceName"/>
          <Data name="/data/geolocation"/>
          <Data name="/data/name"/>
        </ExtendedData>
        <!-- Replace with a polygon to set the zoom level -->
        <Point>
          <coordinates>0,0,0</coordinates>
        </Point>
      </Placemark>
    </Folder>
  </Document>
</kml>

When I try to publish the data using assert id of above created GME vector table, getting
status as "Restart Publisher - Credential was BAD". I dont know what I am doing wrong
here. Please help.

Reported by yanokwa@nafundi.com on 2014-06-05 04:27:19


- _Attachment: [catalina.out.log](https://storage.googleapis.com/google-code-attachments/opendatakit/issue-1014/comment-0/catalina.out.log)_
@mitchellsundt
Copy link
Contributor Author

mitchellsundt commented Jul 9, 2015

Migrated to opendatakit/aggregate#54 (comment) by spacetelescope/github-issues-import

Just to clarify that I am trying to publish with the same Google account as the Google
account that created Aggregate's authentication tokens. Also the same Google account
is one of "Map Editors" in GME. Our GME is set up using google groups and this google
account is one of the admin. 

Let me know if you need any other information from me.

Reported by prab.raja on 2014-06-06 05:20:18

@mitchellsundt
Copy link
Contributor Author

mitchellsundt commented Jul 9, 2015

Migrated to opendatakit/aggregate#54 (comment) by spacetelescope/github-issues-import

I have updated the documentation for setting up the publishing key to include adding
GME as an enabled service. 

See Step 5 here: http://opendatakit.org/use/aggregate/oauth2-service-account/

Did you do that?

Reported by mitchellsundt on 2014-06-11 20:07:39

  • Labels added: Aggregate

@mitchellsundt
Copy link
Contributor Author

mitchellsundt commented Jul 9, 2015

Migrated to opendatakit/aggregate#54 (comment) by spacetelescope/github-issues-import

I have updated the documentation for setting up the publishing key to include adding
GME as an enabled service. 

See Step 5 here: http://opendatakit.org/use/aggregate/oauth2-service-account/

Did you do that?

Reported by mitchellsundt on 2014-06-11 20:08:05

@mitchellsundt
Copy link
Contributor Author

mitchellsundt commented Jul 9, 2015

Migrated to opendatakit/aggregate#54 (comment) by spacetelescope/github-issues-import

I did that too. Same result "Restart Publisher - Credential was BAD".

Reported by prab.raja on 2014-06-12 07:35:52

@mitchellsundt
Copy link
Contributor Author

mitchellsundt commented Jul 9, 2015

Migrated to opendatakit/aggregate#54 (comment) by spacetelescope/github-issues-import

Yaw -- any idea what is going wrong with Google Map Engine?

Reported by mitchellsundt on 2014-08-08 00:43:16

@mitchellsundt
Copy link
Contributor Author

mitchellsundt commented Jul 9, 2015

Migrated to opendatakit/aggregate#54 (comment) by spacetelescope/github-issues-import

No idea. I believe there are some API issues. Waylon would know best. 

Reported by yanokwa@nafundi.com on 2014-08-08 01:08:35

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

No branches or pull requests

2 participants