Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by $$anonymous$$ · May 05, 2017 at 01:05 PM · licensejsonlinux editorheadless

"Timeout occured while trying to update license." in headless build (Fedora Linux/Jenkins)

I am trying to run Unity in headless mode on a Linux server so that I can automate the build using Jenkins. I am getting several errors and the build is failing.

  • We have bought a Unity Plus licence but it seems that the Unity client is unable to contact some licence check server.

  • We get the same error if we try to run the same command line outside Jenkins.

  • I have opened up some ports, so hopefully it is not a firewall issue, but please advise as to what ports need to be open (in or out/TCP or UDP/port numbers).

Can anyone advise what to do?

The error messages:

[0502/084418:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on. [0502/084418:ERROR:gl_surface_glx.cc(328)] glxQueryVersion failed [0502/084418:ERROR:gl_surface_x11.cc(57)] GLSurfaceGLX::InitializeOneOff failed. No sufficient permissions while processing request "https://core.cloud.unity3d.com/api/login", HTTP error code 401 .Cancelling DisplayDialog: Failed to activate/update license. Timeout occured while trying to update license. Please try again later or contact support@unity3d.com This should not be called in batch mode.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by GabLeRoux · Aug 05, 2017 at 03:37 AM

From what I just experienced, you need to quote your username (email) and password when invoking unity builds with command line. Make sure you see the following line in your logs:

User you@example.com logged in successfully

Use something like this:

 unity-editor -projectPath $(pwd) -quit -batchmode -executeMethod BuildCommand.PerformBuild -logFile -username "$YOU_EMAIL" -password "$YOUR_PASSWORD" -serial XX-XXXX-XXXX-XXXX-XXXX-XXXX

In my case, I didn't have a serial so things are quite complicated for activating the license for the personal edition (not your case): https://forum.unity3d.com/threads/5-4-0p1-fails-to-launch-due-to-license.425277/

From the above, there seem to be 3 solutions/suggestions:

  1. Setup vnc, log into the machine and activate from the ui (who would do that in a CI... please don't)

  2. Add some CACerts.pem to ~/.local/share/unity3d/Certificates/ (I tried but it failed, see bellow)

  3. Extract the posted xml, save it to unity3d.alf and do a manual activation trough license.unity3d.com/manual, download the license ulf file to ~.local/share/unity3d/Unity/

I tried the option 2 CACerts.pem thing, but it didn't do anything and I still get a timeout on login so looks like we must activate manually first. Sounds like a way to sell the unity cloud build or the pro version. :(

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image zukinet · Jan 02, 2018 at 11:06 AM 0
Share

Hi, How to get posted X$$anonymous$$L on step 3 ?

avatar image GabLeRoux zukinet · Jan 03, 2018 at 03:51 PM 0
Share

Unity3d website prevents me to post full answer here in comments, I don't know why, but have a look to this issue on gitlab, there's detailed steps and explanation on what should be done:

https://gitlab.com/gableroux/unity3d-gitlab-ci-example/issues/5

avatar image
0

Answer by zeaning · Sep 23, 2021 at 11:56 AM

after Manual activation in url: https://license.unity.cn/manual got a *.ulf file,then import license file by command: $ ./Unity -batchmode -manualLicenseFile -logfile you cat get this from: https://docs.unity3d.com/2020.2/Documentation/Manual/CommandLineArguments.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Setting up a custom build system - linux, headless build machines, licenses 1 Answer

Unity Test Runner batchmode error. Failed to activate/update license. Timeout occured while trying to update license. 0 Answers

Can SCM-managed projects created in Pro be opened/modified in Unity Free/Indie? 1 Answer

iphone publishing 0 Answers

if my game really takes off, does Unity make a percantage? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges