Blender Cloud/ID addon error: Please log in on Blender ID first. #52771
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#52771
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
macOS 10.12.6 (16G29)
NVIDIA GeForce GT 650M 1024 MB
Blender Version
Broken: 2.79.0 5bd8ac9
Short description of error
The Blender Cloud addon keeps complaining that I have to log in when I click 'Find project to load' or when pressing Ctrl+Shift+Alt+A. Despite the Blender ID addon (and also the Blender Cloud addon!) stating that I am logged in. This is the traceback I get:
On my Linux machine everything works just fine.
Changed status to: 'Open'
Added subscriber: @jasperge-2
infrastructure/blender-id#53288 was marked as duplicate of this issue
Blender Cloud addon is version 1.7.4, by the way.
Added subscriber: @fsiddi
If the doctor could take a look, it would great :)
@jasperge-2 have you tried logging out & back in again in the Blender ID addon?
An older version of that add-on didn't store the expiry date of your authentication token. As a result, it can't warn you that it expired, and it'll just act as if its nose bleeds and you're logged in just fine. A logout+login will fix that. And, as a bonus, it'll then tell you when your login will expire.
@dr.sybren Yes, I did. After that the expiration date was set to the same date next year. Unfortunately, that didn't help. To be completely sure I will try again tonight (I don't have my laptop with me at the moment).
Is there anything else I can do to investigate the problem further and/or help you fix it?
Yep, I did log out and log in again. Still the same problem...
Hmmm try starting Blender with
blender --debug
. That'll give you an extra button "Update Credentials" in the Blender Cloud add-on preferences panel:Try clicking on this. If it fixes things, I'll know a bit more about what's going wrong.
Sadly this still doesn't work. At a quick glance, it seems I basically have the same error:
I also pressed on 'Validate' in the Blender ID add-on preferences panel and there I get the message 'Authentication token is valid'. So that seems to be okay.
Added subscriber: @RJW
OSX 10.11.6
I'm having similar issues. Initially I was getting an error trying to get images from the cloud via the UV/Image editor. I don't recall the exact error message that was issued, but I signed out and back into the blender ID and I'm now getting (in the UV/Image editor) "An error occurred: You are not logged in on Blender ID. Please log in at User Preferences, System, Blender ID." (The original error was much longer and I can no longer reproduce it.)
Blender ID validation returns: 'Authentication token is valid. .... expires 2018-10-19'
Attempting to connect to the cloud from the UV/Image editor after launching blender --debug:
Which version of the Blender Cloud add-on are you using?
I downloaded 1.7.5 yesterday (I hadn't noticed its availability before), and now it's working for me. I apologize for not mentioning it yesterday, but I got caught up in other stuff.
Cheers.
Still no luck for me. I dived into the code and by hand re-created the request that is sent by
subclient_create_token
. I then (as expected) got a 401 response. Logging out and back in didn't help. Just to be completely sure I even deleted the 'blender_id' directory containing the profiles.I also disabled the Blender ID and Blender Cloud add ons. Saved the user preferences, restarted Blender. Enabled the Blender ID add on and logged in. Saved user preferences, restarted Blender and enabled the Blender Cloud add on.
I also re-created the login request and with the token I got, did the
subclient_create_token
request again. Still the same error. So to me it seems that something on the server is going wrong. But I can't imagine what that should be... and why this only happens on my laptop.Pfff, so in the end I was able to track it down to a
default
entry in my.netrc
file. This messes up the authentication.There is also an issue about this problem on the
requests
Github page.For me the solution is very simple: just remove the
default
entry in my.netrc
file and all is well. But from what I gathered by quickly glancing over the metioned issue on Github, it should be fairly straightforward to fix in the Blender ID add-on (where the actual error takes place and not in the Blender Cloud add-on).Added subscriber: @dr.sybren
Changed status from 'Open' to: 'Resolved'
We can't just set
trust_env=False
, because that would also ignore any proxy settings someone might have. For now I'll just close this issue, as using a.netrc
is fairly exotic.Thanks again for doing all the digging, I wouldn't have been able to find this by myself!