XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + Maximum XML File Size and Out ... (4)
-> + 64-bit version of Stylus Studi... (2)
-> + Generate xml schema from edi s... (3)
-> + License disabled (6)
-> + Stylus is not recognizing save... (5)
-> + WINE / CrossOver (3)
-> + Problem with FOP plugin (SS200... (5)
-> - XML diff engine - how to ignor... (1)
-> + How to configure Xerces J (2)
-> + Configuring xerces-2_9_1 (4)
-> + Release license to use stylus ... (5)
-> + Sorting Repeater row (3)
-> - Browse for Pipeline Input (1)
-> + Stylus 2010 and Win 7 problem ... (6)
-> + Cannot set XSLT source files w... (3)
-> - Simple TXT to HTML Convertor! ... (1)
-> + Invoking XSLT and FOP Processe... (2)
-> - Add Node and Pattern for Mutlp... (1)
-> - How to get xsl:message output ... (1)
-> + WSDL for Cvent Web Service (5)
-> - newbie question: IS there a "f... (1)
-> + Windows 7 64-bit Java. Stylus ... (3)
-> + Stylus Studio Enterprise crash... (2)
-> - XML to Access or SQL? Newbie N... (1)
-> - xml to flat file mapping using... (1)
-> + Missing Document Wizards (2)
-> - XSLT mapping and (1)
-> + Citrix Softgrid package proble... (2)
-> - xsl:import dropping the attrib... (1)
-> + XSLT mapping between schemas (5)
-> + Modifying/Creating existing CA... (9)
-> - Creating XML Sample Stream fro... (1)
-> - Integer to hex (1)
-> - Opening from and then Saving t... (1)
-> - Please help me find time query... (1)
-> + Need access to the 2007 versio... (2)
-> + Connecting to a iSeries DB2 da... (2)
-> + Windows 7 Enterprise and Stylu... (5)
-> + How do you create a record inc... (2)
-> + How to convert lines with no i... (6)
-> + http://www.milyn.org/schema/ed... (3)
-> + Using source configuration fil... (2)
-> + Is there any way that we could... (3)
-> - Water mark problem in PDF Gene... (1)
-> + Conversion file for swift mt10... (4)
-> + Stylus Studio converter error (7)
-> + Help for upgrade (6)
-> + Conversion File for a Header D... (2)
-> + Java Heap Space (9)
-> - Export mappings as text (1)
-> + XQuery, Pipeline generated jav... (2)
-> + Conditional XML Conversion? (2)
-> + iDoc to EDI (2)
-> + Pipeline XSLT Java Problem (6)
-> - Created XSLT... Now what? (1)
-> - Can I have Or Condition in the... (1)
-> - Error??? during a pipeline! (1)
-> + Opening from and then Saving t... (6)
-> + Unable to start SS 2010 ES - R... (2)
-> + proxy server settings (2)
-> - post upgrade failures and a fr... (1)
-> + Error java heap space (2)
-> + XML to XML? (4)
-> + Base64 - Encoding icone with T... (2)
-> - Pipeline: Multiple plain data ... (1)
-> + Convert and XML file to 837P (4)
-> + How to use a pipeline output i... (3)
-> + Web Service Call - SSL error (5)
-> + JVM settings cannot be edited ... (3)
-> + I am opening an xsl file SSE c... (2)
-> + Xml To Database mappings (2)
-> + Java pipeline (3)
-> + create dtd from schema (2)
-> + One file in, two files out (9)
-> + XMLConverter Licence (2)
-> + hide diagram pane (3)
-> + Getting error " xsl:template i... (2)
-> + How to reduce top margin in ev... (4)
-> + Can I do this with Stylus? (4)
-> + How to remove tabs in generati... (2)
-> + Maintain Support for Stylus St... (3)
-> + How to trim field to 2 decimal... (2)
-> + Recursively update node value ... (2)
-> + Compressed content in CADATA (4)
-> + Error in Converter when readin... (2)
-> + XML parser no longer working p... (5)
-> + Application failed to start (6)
-> + Web Service Call tester (14)
-> + temp directory writing issue (3)
-> + not able to set namespace defe... (2)
-> + Unable to open UBL in XSLT Map... (8)
-> - Compatability with Windows 7 (1)
-> - Stylus Studio 10 activation fa... (5)
-> ->Stylus Studio 10 activati...
-> ->Stylus Studio 10 activati...
-> ->Stylus Studio 10 activati...
-> ->Stylus Studio 10 activati...
-> + Way to bundle up a project? (3)
-> + Type could not be found (7)
-> + Not able to import the copy bo... (2)
-> + Stylus Studio 10 does not vali... (3)
-> + How to merge table cells using... (2)
-> + Collapsible Groups (2)
-> + Apply-template problem (2)
-- Previous [601-620] [621-640] [641-660] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
daniel W.Subject: Stylus Studio 10 activation fails because of wrong browser version
Author: daniel W.
Date: 29 Oct 2009 06:45 AM
Originally Posted: 28 Oct 2009 08:38 AM
Hi,

I was not able to activate my stylus studio 10 in the office.

I get the following error message:
"Stylus Studio is currently unable to contact the server to verify the status of your license. You can use ....

I/O error: We experienced an error trying to connect to our server:
Encounteredd an I/O error in URL "http://www.stylussutdio.com/activate":
Forbidden

Please try submitting your registration/activation key later"


An analysis of the wireshark capture trace running on my PC (see below) shows that the company firewall solution checks the Internet Browser version. If it detects an old version of a browser then the access is forbidden.

Stylus studio 10 activation is based on http and (probably) mimics an old browser.

Is there a patch or a workaround for this issue?

Thanks and best regards
Daniel


No. Time Source Destination Protocol Info
48 4.747151 172.31.34.17 172.31.34.45 HTTP HTTP/1.0 403 Forbidden (text/html)

Frame 48 (264 bytes on wire, 264 bytes captured)
Ethernet II, Src: HewlettP_ff:84:b1 (00:0e:7f:ff:84:b1), Dst: Dell_df:b9:d9 (00:1a:a0:df:b9:d9)
Internet Protocol, Src: 172.31.34.17 (172.31.34.17), Dst: 172.31.34.45 (172.31.34.45)
Transmission Control Protocol, Src Port: http-alt (8080), Dst Port: mentaclient (2117), Seq: 1461, Ack: 898, Len: 210
Source port: http-alt (8080)
Destination port: mentaclient (2117)
[Stream index: 8]
Sequence number: 1461 (relative sequence number)
[Next sequence number: 1671 (relative sequence number)]
Acknowledgement number: 898 (relative ack number)
Header length: 20 bytes
Flags: 0x18 (PSH, ACK)
Window size: 7176
Checksum: 0x647a [validation disabled]
[SEQ/ACK analysis]
TCP segment data (210 bytes)
[Reassembled TCP Segments (1670 bytes): #47(1460), #48(210)]
Hypertext Transfer Protocol
HTTP/1.0 403 Forbidden\r\n
[Expert Info (Chat/Sequence): HTTP/1.0 403 Forbidden\r\n]
Request Version: HTTP/1.0
Response Code: 403
Server: squid/2.6.STABLE21\r\n
Date: Wed, 28 Oct 2009 11:58:37 GMT\r\n
Content-Type: text/html\r\n
Content-Length: 1282\r\n
Expires: Wed, 28 Oct 2009 11:58:37 GMT\r\n
X-Squid-Error: ERR_BAD_BROWSER 0\r\n
X-Cache: MISS from proxy.ch.xxxx.net\r\n
X-Cache-Lookup: NONE from proxy.ch.xxxx.net:8080\r\n
Via: 1.0 proxy.ch.keymile.net:8080 (squid/2.6.STABLE21)\r\n
Proxy-Connection: close\r\n
\r\n
Line-based text data: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">\n
<TITLE>ERROR: This browser is not allowed to access the Internet</TITLE>\n
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>\n
</HEAD><BODY>\n
<H1>ERROR</H1>\n
<H2>Your Browser or Browser version is not allowed to access this service</H2>\n
<HR noshade size="1px">\n
<P>\n
While trying to retrieve the URL:\n
<A HREF="http://www.stylusstudio.com/activate/">">">http://www.stylusstudio.com/activate/</A>\n</a></a><br></a></a><br>
<P>\n<br><br>
The following error was encountered:\n<br><br>
<UL>\n<br><br>
<LI>\n<br><br>
<STRONG>\n<br><br>
Access Denied.\n<br><br>
</STRONG>\n<br><br>
<P>\n<br><br>
Only recent versions of Mozilla Firefox and Internet Explorer are allowed to use the xxxx proxy service.\n<br><br>
To update your browser to the most recent version please contact IT:</p>\n<br><br>
\n<br><br>
<a href="<a rel="nofollow" href="<a rel="nofollow" href="http://helpdesk.de.xxx.net/hd5/index.php?d=it&c=@1">">">http://helpdesk.de.xxx.net/hd5/index.php?d=it&c=@1"></a>">">http://helpdesk.de.xxx.net/hd5/index.php?d=it&c=@1">"><a rel="nofollow" href="http://helpdesk.de.xxx.net/hd5/index.php?d=it&c=@1"></a></a>">">http://helpdesk.de.xxx.net/hd5/index.php?d=it&c=@1"></a></a></a> IT Helpdesk </a>\n<br><br>
\n<br><br>
<hr>\n<br><br>
<P>Your cache administrator is <A HREF="mailto:c.m@ke.com">c.m@ke.com</A>. </P>\n<br><br>
\n<br><br>
\n<br><br>
<BR clear="all">\n<br><br>
<HR noshade size="1px">\n<br><br>
<ADDRESS>\n<br><br>
Generated Wed, 28 Oct 2009 11:58:37 GMT by proxy.ch.keymile.net (squid/2.6.STABLE21)\n<br><br>
</ADDRESS>\n<br><br>
</BODY></HTML>\n<br><br>


Imageactivation_error.png
activation error screenshot

Postnext
(Deleted User) Subject: Stylus Studio 10 activation fails because of wrong browser version
Author: (Deleted User)
Date: 29 Oct 2009 01:15 PM
Hi Daniel,
Stylus Studio doesn't impersonate any existing browser; its agent string explicitly says "Stylus Studio" in it. Can you ask your IT environment to add an exception for such a string, at least for the time needed to activate your license?

Alberto

Postnext
daniel W.Subject: Stylus Studio 10 activation fails because of wrong browser version
Author: daniel W.
Date: 30 Oct 2009 03:20 AM
Dear Alberto,

I'll try to ask the IT deparment to allow the activation. What would help me a lot if you could tell me how often StylusStudio "checks" the activation server. Only once at installation time? If so then I think it is easier to argument with them.

In the long term it is unfortuantly not so simple. The IT logic goes like this:

- browsers in general are unsafe and have security wholes
- by checking for each http request if an up-todate browser is used they can ensure that no PC can get infected from a malicous website because of a browser which is not up-to-date
- this is done with a product called esafe (http://www.aladdin.com/eSafe/) which checks the content. If the user agent does not match what IT-policy allows then it rejectes the packet:

I checks (probably) the User-Agent field in the http protocol
which returns:
User-Agent: Stylus Studio - *the* XML IDE\r\n

When I use my web browser I get the following
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)\r\n

Is it possible to "fake" the user agent for Activation (i.e. registery entry) or to improve the mechanism with future stylus studio version?

Regards
Daniel

==============================================================
== Stylus studio activation ==================================
Hypertext Transfer Protocol
POST http://www.stylusstudio.com/activate/ HTTP/1.1\r\n
Content-Type: application/x-www-form-urlencoded\r\n
Content-Length: 294\r\n
User-Agent: Stylus Studio - *the* XML IDE\r\n
Host: www.stylusstudio.com\r\n
Proxy-Connection: Keep-Alive\r\n
Pragma: no-cache\r\n
== web browser ==============================================
Hypertext Transfer Protocol
Hypertext Transfer Protocol
GET http://www.bluewin.ch/ HTTP/1.1\r\n
[truncated] Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, appli
Accept-Language: de-ch\r\n
UA-CPU: x86\r\n
Accept-Encoding: gzip, deflate\r\n
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)\r\n
Host: www.bluewin.ch\r\n
Proxy-Connection: Keep-Alive\r\n
[truncated] Cookie: CP=null*; jqCookieJar_WidgetBox_Config_DE=%7B%22WidgetBox_Config_DE%22%3A%7B%22MET%22%3A%7B%22o%22%3A1%2C%22s%22%3A%2206660000%22%7D%2C%22NAC%22%3A%7B%22o%22%3A1%2C%22s%22%3A%22PB%22%7D%2C%22RAD%22%3A%7B%22o%22%3A0%2C%2
Proxy-Authorization: Basic Z3dlYmVkOkRhbl8zMDk3Kw==\r\n
\r\n

Postnext
(Deleted User) Subject: Stylus Studio 10 activation fails because of wrong browser version
Author: (Deleted User)
Date: 30 Oct 2009 03:38 AM
Hi Daniel,
Stylus Studio needs to contact the server just once, to perform the check on the activation key provided (btw, Stylus should be run by an administrator when doing this, or the result of the operation will not be properly stored in the registry).
During the normal usage of Stylus, it can check if an updated version is available, but this can be stopped via an option.
However, if you try to load files from the web (either using FTP or HTTP), the same problem will be present.
As for using a different user agent, that has at least two problems: a) we would be stating something false b) if your software periodically deprecates old versions of the leading browsers, the problem will reoccur again.

Alberto

Posttop
daniel W.Subject: Stylus Studio 10 activation fails because of wrong browser version
Author: daniel W.
Date: 30 Oct 2009 06:22 AM
Our IT department allowed (temporariliy) user agent Stylus Studio and I was able to do the activation :-).

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.