Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Failed to start WSServer [Solved]

Discussion in 'Project Tiny' started by MasoInar, Dec 6, 2018.

  1. MasoInar

    MasoInar

    Joined:
    Feb 20, 2014
    Posts:
    125
    I'm using 2018.3.0b12 and Tiny Mode 0.13.2-preview, but none of the examples works..

    When I press play I got these errors:
    Failed to start WSServer.
    openssl config failed: error:02001003:system library:fopen:No such process

    UnityEngine.Debug:LogError(Object)
    Unity.Tiny.BasicServer:SetupProcess() (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/LiveLink/BasicServer.cs:182)
    Unity.Tiny.BasicServer:Listen(Int32) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/LiveLink/BasicServer.cs:221)
    Unity.Tiny.<>c:<Initialize>b__40_0(TinyProject, TinyContext) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/LiveLink/WebSocketServer.cs:128)
    Unity.Tiny.TinyEditorApplication:LoadContext(TinyEditorContext, Boolean) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:926)
    Unity.Tiny.TinyEditorApplication:LoadProject(String, TinyContext) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:542)
    Unity.Tiny.TinyEditorApplication:LoadPersistenceId(String, TinyContext) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:604)
    Unity.Tiny.TinyEditorApplication:LoadTemp(ContextUsage) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:830)
    Unity.Tiny.<>c:<HandlePlayStateChanged>b__2_1() (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Utility/ExportOnPlay.cs:43)
    UnityEditor.EditorApplication:Internal_CallDelayFunctions()

    Exception: Tiny: openssl config failed: error:02001003:system library:fopen:No such process

    Unity.Tiny.TinyShell.RunInShell (System.String command, Unity.Tiny.ShellProcessArgs args) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Utility/TinyShell.cs:217)
    Unity.Tiny.TinyShell.RunTool (System.String name, System.String[] args) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Utility/TinyShell.cs:71)
    Unity.Tiny.TinyBuildUtilities.CompileTypeScript (System.IO.FileInfo tsConfigFile, System.IO.FileInfo outMetadataFile) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Export/TinyBuildUtilities.cs:397)
    Unity.Tiny.TinyScriptingManager.CompileScripts (Unity.Tiny.TinyBuildOptions buildOptions) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Context/TinyScriptingManager.cs:58)
    Unity.Tiny.TinyBuildUtilities.CompileScripts (Unity.Tiny.TinyBuildOptions buildOptions) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Export/TinyBuildUtilities.cs:430)
    Unity.Tiny.TinyBuildUtilities.CompileScripts () (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Export/TinyBuildUtilities.cs:423)
    Unity.Tiny.TinyEditorApplication.LoadContext (Unity.Tiny.TinyEditorContext context, System.Boolean isChanged) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:936)
    Unity.Tiny.TinyEditorApplication.LoadProject (System.String projectFile, Unity.Tiny.TinyContext context) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:542)
    Unity.Tiny.TinyEditorApplication.LoadPersistenceId (System.String persistenceId, Unity.Tiny.TinyContext context) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:604)
    Unity.Tiny.TinyEditorApplication.LoadTemp (Unity.Tiny.ContextUsage usage) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:830)
    Unity.Tiny.TinyEditorApplication+<>c.<Update>b__32_0 () (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:140)
    UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:209)

    And then nothing happens.. Any idea what's wrong?​
     
  2. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,037
    Do you have any packages except Tiny and the package manager UI? If so, clear them out, restart the editor and try again. Maybe delete the Library folder before starting again.
     
  3. MasoInar

    MasoInar

    Joined:
    Feb 20, 2014
    Posts:
    125
    I had those basic packages (ads, collaborate etc..) what are included in 2D template (I would like to have templates without those extra packages!)

    Anyways, I deleted those all and also removed library folder and restarted unity, but still same error:
    Failed to start WSServer.
    openssl config failed: error:02001003:system library:fopen:No such process

    Edit: I got same error when I just try to build project: Tiny -> File -> Build
     
  4. MasoInar

    MasoInar

    Joined:
    Feb 20, 2014
    Posts:
    125
    Okay, solved the issue. It had something to do with node and npm. Removing this key 'OPENSSL_CON' from environment variables solved the issue
     
  5. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,037
    Weird, and possibly reproducible. Keep using NPM and something will break :p
     
  6. robertg_unity

    robertg_unity

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    32
    Thanks for reporting this to us, we will verify if there's anything we can do on our side to avoid this problem in the future. We are glad the issue could be resolved quickly! :)