Skip navigation
VMware

This Question is Answered (go to answer)

1 "helpful" answer available (6 pts)
15,818 Views 20 Replies Last post: Apr 14, 2010 11:09 AM by kockie RSS
1 2 Previous Next
winniel Novice 13 posts since
May 22, 2009
Currently Being Moderated

Nov 2, 2009 9:21 AM

No WebAccess to VMware Server 2: Proxysvc, SSL Exception, session id context uninitialized

I'm quite new to VMWare Server. All seemed well in testing, was connecting to https://localhost:,RequestProcessor] Error processing action request /view/destroy : No WebAccess to VMware Server 2: Proxysvc, SSL Exception, session id context uninitialized Please log in.

But they don't match with trying to access https.

 

Does anyone know how to debug this and be able to use the https port again?

wila Champion User Moderators vExpert 4,489 posts since
Jun 27, 2006

Hi,

 

Well... something is somehow wrong with the certificate...

 

FWIW I have the same issue here on my local centOS server and haven't been able to fix it so far.

I also performed all of the same steps as you and it happened after upgrading to VMware Server 2.0.2 and changing over to the latest x64 centos.plus kernel.

It worked fine for me with 2.0.1 and the standard kernel using centOS 5.4... So not entirely sure what to blame here yet.

 

FWIW, I can just connect over the https interface from IE8 on an external machine, then it just works.

But I can't do this from firefox installed locally... so maybe it is even a firefox issue... for the moment I don't have the time to troubleshoot it further, but maybe the extra info helps you in troubleshooting this.



--

Wil

_____________________________________________________

VI-Toolkit & scripts wiki at http://www.vi-toolkit.com

http://www.vi-toolkit.com >< Contributing author at blog www.planetvm.net >< @wilva
wila Champion User Moderators vExpert 4,489 posts since
Jun 27, 2006
winniel wrote:

Hi Wila, thanks for the info. You sound like an experience VMWareServer v2 user?

Hehe, yeah I gues I'm supposed to be one of those people.

So far VMWare is fairly disappointingly fragile. The documentation is not useful for debugging.

It has always worked perfectly for me before. For me the problem is new and I've never seen it before.

 

/etc/vmware/ssl/rui.{cert,key} are timestamped = when VMware-server-2.0.0-2-3138.x86_64 was installed, but https access broke before that.

Well that's the thing that surprised me as well as I had not chosen in the setup to regenerate the certificates. Another I just tried was to delete ALL of the certificates I had for this host in my browser and imported therse once more. Hoping that one of the old certificates was causing trouble.

No dice.. I might regenerate the certificate as I have a feeling that something is fishy with that bit...

 

Other SSL Exception postings have said things like uninstall vmware server & reinstall - might have to try- seems incredible for so-called production-level software.

Before that, will shutdown VM host & reboot again. Dear me Linux admin should never have to be like this, with decently robust software.....

Guess that depends on the linux distribution that you use as there are some distro's out there that require a lot of tinkering. But I agree on a production machine with a production OS it must just work. The tinkering is for at home where it doesn't matter much when things break.

But I also have to admit that the VM's run fine and I can connect to them with VIX and the local console just fine. (See also: Web Access for other ways to access your VM's and control them)



--

Wil

_____________________________________________________

VI-Toolkit &amp; scripts wiki at http://www.vi-toolkit.com

http://www.vi-toolkit.com >< Contributing author at blog www.planetvm.net >< @wilva
PBrimacombe Novice 11 posts since
Jan 28, 2009
Currently Being Moderated
4. Nov 30, 2009 11:57 AM in response to: wila
Re: No WebAccess to VMware Server 2: Proxysvc, SSL Exception, session id context uninitialized

me too!  I upgraded CentOS and then installed VMware server 2.  vmware-config.pl works fine but when I run vmware

 

Firefox pops up with https://127.0.0.1:8333/ui/

 

 

but then I get a blank screen.

 

 

 

 

way down in /var/log/vmware/hostd.log there is

 

 

Proxysvc SSL Handshake on client connection failed: SSL Exception:

 

 

(the square brackets seem to generate an overstrike character)

PBrimacombe Novice 11 posts since
Jan 28, 2009

thanks winniel - Winnie L?  "My conclusion is that vmware server is fragile. "  yeah me too.  One option is to install MS Windows on another box.

 

PBrimacombe Novice 11 posts since
Jan 28, 2009
goldsh Novice 9 posts since
Jul 27, 2009

 

I was getting this, too.  I just fixed it, but I don't know how.

 

I'm running VMware Server 2.0.2-203138 on CentOS 5.4.  I first had the documented problem with glibc and worked around the problem using the technique described in http://communities.vmware.com/message/1364852.

 

But I still had the SSL Exception problem.  I noticed this work around and logged in as root from a Windows XP machine.  Once that worked I created a user ID for myself, and everything worked.  Just for grins I tried restarting Firefox on CentOS and tried logging in from CentOS.  Magic!  Everything works now.

 

 

PaulSvirin Expert 526 posts since
Jul 21, 2009

I'd suggest you to try this workaround: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=23555

Hope this helps.

 

 

 

---

Paul Svirin

StarWind Software developer ( http://www.starwindsoftware.com )

--- iSCSI SAN software http://www.starwindsoftware.com
goldsh Novice 9 posts since
Jul 27, 2009

 

Well that worked really well... I tried deleting all firefox vmware.com certificate exceptions (there were 6) from Firefox on Centos.  I'm back to where I was  earlier this morning.  I tried getting on from Windows XP and it looks like the CentOS Firefox problem.

 

 

Here's the log.  I tried restarting vmware-mgmt, too.

 

 

 

 

 

Harry

 

 

Attachments:
kwanlowe Novice 7 posts since
Dec 15, 2004

 

I started receiving this same error today on a CentOS 5.4 x86_64 system.  I had been using the libc.so.6 workaround until this morning when I ran an update. On loading the http://helios:8222 web page the browser screen blanks and remains "loading".  A look at the /var/log/vmware/hostd.log shows  lots of SSL errors.

 

 

I tried deleting all the certificates from my browser. On reload I had to create exceptions for the sites, but same issue.

 

 

I tried re-installing the VMWare-server package with rpm -ivh --replacepkgs VMware-server-xxxx.rpm but same error (had to redo the glibc workaround is this will overwrite the vmware-hostd script that's edited).

 

 

I tried manually killing the hostd process, clearing the /var/run lockfiles, then restarting. This failed. So I tried running vmware-hostd from the command line. It initially gave an error about finding the libvmomi.so.1.0 library so I added /usr/lib/vmware/vmacore to LD_LIBRARY_PATH then re-ran ldconfig. That got past the missing library error but an strace on the command shows lots of EBADF errors..Not sure if that's even relevant, however. No joy.

 

 

I know that the hostd process is listening as I can attach to it with strace and see activity whenever I try to connect via the browser.

 

 

I backed out the kernel to the previous version and re-ran the vmware-config.pl.

 

 

I've even gone to the point of trying a different java binary  to replace the jre1.5.0_15, but no luck.

 

 

At this point I'm considering blowing away the installation and trying ESXi, but that means I lose the functionality of the host OS.  I'm considering VirtualBox and Xen/KVM, but would really like to see this working. Anyone have any luck getting this to work?

 

 

 

 

 

wila Champion User Moderators vExpert 4,489 posts since
Jun 27, 2006

Hi,

 

I have the same problem, but was pretty convinced nowadays that the issue is about the combination of firefox and vmware Server 2 not working well on a centOS 5.4 x64 setup. At least not when using the secure web interface.

So... I was looking for a way to test that theory.. I wanted to use epiphany, but it doesn't appear to be in the repository, so I tried konqueror, but got javascripts errors after logging in (so much that you get in a forever debug loop, hurray!)

 

Then it finally dawned on me to use the opera browser.

Downloading and installing opera took me about 1 minute and voila, it works great!

 

So umm... I think the problem is firefox related in one way or the other...



--

Wil

_____________________________________________________

VI-Toolkit &amp; scripts wiki at http://www.vi-toolkit.com

 

edit: OK scratch that "great" part as Opera has its own issues, but those are not related to the secure web interface as the same issues appear when using the plain HTTP interface. I now also blogged about this issue here: VMware Server 2, Proxysvc SSL Handshake problems

http://www.vi-toolkit.com >< Contributing author at blog www.planetvm.net >< @wilva
Dayworker Enthusiast 19 posts since
Aug 31, 2008
shecki wrote:

We try to solve a problem with FF3.6 and VMserver2 in the inofficially german VMware-community too.

First point on the road was to reenable SSL2-protocol in the about:config dialog.

>

>securitiy.enable.ssl2 = false -> true

 

Now the user have access to the web-interface but the console is dead. Normally on a click inside the black console-window with the play-icon a new window should open but all you get is a timeout. If you make a shortcut from the vm on the desktop then you get console access...

-----Please do not forget to assign reward points if you find an answer useful.-----

Bookmarked By (0)

Share This Page

Communities