Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Unexpected token from GetIssue

api

I moved Gemini from one server to another. The original implementation had the Gemini app running on a separate machine from the database. They are now both on the same machine. Theoretically, this should make things simpler.

It works fine from the Gemini UI. Further, a program I wrote works fine from my dev machine. However, when I call GetIssue, I get an "unexpected token" error.

Gemini is version 4.2. The database and Gemini are on the same machine.

I thought I remembered seeing something in the forums about giving full permissions to part of the Gemini directory structure to all users, but I could not find that reference. However, I gave Domain Users permissions to the entire Gemini structure and that made no difference.

Thanks.

UnexpectedToken.txt ]
User75023
· 1
User75023
Replies (8)
helpful
0
not helpful

Are you using windows authentication in Gemini? If so make sure that anonymous access is disabled to the Gemini site in IIS.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes, Windows Auth enabled, anonymous auth disabled.


User75023
· 1
User75023
helpful
0
not helpful

Can you navigate to the site using a browser without being challanged on the same box?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes, browser access to the project works fine. It identifies me correctly.


User75023
· 1
User75023
helpful
0
not helpful

Please try and use Fiddler to check the response from the server. Also, navigate to http://mysite/api/users.ashx what do you get back?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

The test url returned the expected "Welcome to the Gemini Users REST API".

I stumbled upon one difference and that was SSL. In the new system, I was not using a secure connection to the Gemini URL when connecting via the API. When I changed that, it worked fine. This doesn't make sense as a) I was able to access it from the Gemini application without SSL and b) I was able to access from my Dev machine without SSL. Since I had to make the site secure anyway, it is not that big of deal, but it would be interesting to know why there was a difference.


User75023
· 1
User75023
helpful
0
not helpful

Do you get a warning in the browser about no ssl?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

No.


User75023
· 1
User75023