-
Notifications
You must be signed in to change notification settings - Fork 30
Error on load #1
Comments
do you have the localhost server running? Note you need to launch both. |
I'm getting the same error (Cannot call /api/forge/session/isvalid). I have tried setting my solution to start both projects and I have right clicked on "cloud" and started an instance, then right clicked on "desktop" and started an instance. Same error each time. I've changed the host to be non secure (http) and that still doesn't work. How do you start the localhost server? Snipped from my web.config: Thanks, |
It appears that this line:
in HeaderUtils.cs is causing the error. sessionId is a string before it runs through here but is an empty string when this line executes. I've tried commenting out this line but then I get a different RESTAPI response error. Can you please help with this? |
Just tried the sample, works fine, I would suggest you clean the MongoDB database, maybe some data is corrupted and causing this. The I have upgraded the package versions, there is a change on how CefSharp handles cookies, see this line. |
I have the same problem. The login to Autocad is fine, then it fails on session/isvalid. EDIT: I resolved my problem above, it was due to a hardcoded database name in cloud\App_Code\Database.cs. |
This change will read the database name from the connection string:
|
thanks for the suggestion, @OMH2Share, will add that on the code (it's better 😄 ) |
fixed |
This seems to be the error I came up against.
(The returned database entry was just the first entry found, with an expired DateTime. Getting a refresh token failed as it was for an access token that had long expired. This caused a status 500 return value.) The fix is to change |
thanks @WspDev, makes sense |
Thank you @augustogoncalves . |
such a silly mistake here... thanks! |
After I have successfully logged in I get this error.
System.Exception: 'Cannot call /api/forge/session/isvalid'
The text was updated successfully, but these errors were encountered: