outline-apps icon indicating copy to clipboard operation
outline-apps copied to clipboard

Getting message `Sorry, an unexpected error occurred. Quitting and restarting may help...`

Open TusharSheth opened this issue 5 years ago • 12 comments

I am not able to connect to server. Getting error message.

  • getting error at file C:\Program Files (x86)\Outline\resources\app.asar\node_modules\@sentry\browser\dist\index.js

// this fails for some browsers. :( if (originalConsoleLevel) { Function.prototype.apply.call(originalConsoleLevel, global$2.console, args); }

outline

Desktop

  • OS: windows 8.1 pro
  • Browser: Chrome
  • Version:

TusharSheth avatar Apr 26 '20 06:04 TusharSheth

same problem to me also

zakariashahedbappa avatar May 13 '20 05:05 zakariashahedbappa

If this is failing on Chrome, you could try using another browser. Or, it can also happen that some of the code which you have written in the index.js file may be invalid. You should perhaps, focus on the syntax.

PS. Can you tell me in detail about what have you actually done/edited.

heykulthe avatar May 17 '20 12:05 heykulthe

@iamsid47 This screenshot is taken by enabling developer tool, not from any browser.

Let me tell you, If you haven't used Outline, it is developed in Electron.

Plus I haven't changed any code.

TusharSheth avatar May 18 '20 05:05 TusharSheth

Okay, so in that case can you tell me that do you get this error when you start the application or the time when you try to connect it to your server?

Yeah! I know that it is developed in Electron for Windows/Linux/MAC and Cordova for android in addition with Polymer :)

heykulthe avatar May 18 '20 06:05 heykulthe

Error is getting occurred while connecting to server. You need to consider the Windows version: 8.1 Pro. Working fine on Windows 10 Pro.

TusharSheth avatar May 18 '20 07:05 TusharSheth

Well, in that case you should consider contacting the official contributers and they'll surely help you get this issue solved up :)

heykulthe avatar May 19 '20 02:05 heykulthe

Well, in that case you should consider contacting the official contributers and they'll surely help you get this issue solved up :)

Yeah I know. That's why I have reported an issue on their official repository. 🤞

TusharSheth avatar May 19 '20 05:05 TusharSheth

I mean you should consider contacting the developers directly.

heykulthe avatar May 19 '20 06:05 heykulthe

@TusharSheth Hi bro, i and some my friends have same your problem while installing lastest version that downloaded from official website. OS: Windows 7, 8.1 and 10

I tried old version from 2019 and it's worked. So, i think the new version has something missing.

Try my installation file bro!!

https://drive.google.com/file/d/1ObZyHsB_k59kFe060p8UMfBcRCw3H-MP/view

kendytuan avatar May 19 '20 12:05 kendytuan

Hi, I got the same error message on win10 and I did solved it. It's caused by missing MSVCP140.dll and VCRUNTIME140.dll on my PC. Installing vcredist solved my problem. You can find it here https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads. I installed both x64 and x86 version, but I guess only x86 is needed to make it work.

If you are not sure whether it is the same problem, you may try running c:\Program Files(x86)\Outline\smartdnsblock.exe in command prompt. If it is the VC runtime problem it would prompt error message dialogs saying those two dll files are not found.

Also you can try running c:\Program Files(x86)\Outline\outline.exe in command prompt to get the error log. It may help trouble shooting.

ChrainWang avatar May 19 '20 17:05 ChrainWang

Thanks ChrainWang, installing the vc_redist DLLs did help!

And you are right, just the x86 DLLs were needed, to match x86 Outline. (Regardless of my x64 OS.)


Summarising my findings from #781:

  • Perhaps Outline could consider bundling those DLLs, just in case they are not installed on the OS? Or are they usually installed by OS updates?

    For example, this OS image does not have those DLLs: https://app.vagrantup.com/senglin/boxes/windows-10 (Windows 10 Enterprise Evaluation)

  • If you are stuck on a system which cannot install those DLLs, you may like to roll back to Outline b20f67a (Electron v2) which doesn't need them.

    For example, I could not install the DLLs on this image: https://app.vagrantup.com/opentable/boxes/win-2012r2-standard-amd64-nocm (Server Edition) (although I admit I was trying to install the x64 DLLs when I should have been trying the x86)

joeytwiddle avatar May 23 '20 19:05 joeytwiddle

I am convinced this x86 VC redistributable dependency specific to the Windows platform should be mentioned somewhere in the README.md, apart from making the error message more informative...

UnKnoWn-Consortium avatar Sep 16 '21 02:09 UnKnoWn-Consortium