Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

VPN problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    VPN problem

    We've put in a great deal of effort trying to get AA to work with a VPN proxy for China customers. Kinda at a dead end with our Alibaba engineer, and I don't think we should be.

    Has anyone provided access to an app with SSL VPN web mode?

    Basically, we're getting a couple of javascript errors that allow much, but not all of the page to load.

    Any help much appreciated - we've sunk a ton of investment into this.

    Thanks






    -Steve
    sigpic

    #2
    Sounds like a permissions thing. Also just wanted to say thanks for the things you have helped users and me with this year. Stay Safe.
    Insanity: doing the same thing over and over again and expecting different results.
    Albert Einstein, (attributed)
    US (German-born) physicist (1879 - 1955)

    Comment


      #3
      Haven't had to do that. However, Just as an FYI. For a client years ago on a regular web app (custom job of course) we had to make it work with multiple domains, one of which had to be purchased and hosted out of China. Then it used a shared database. They wouldn't let us do it otherwise.

      Comment


        #4
        Thanks. We're getting all the connections, the login loads and works, and the main UX loads afterwards as we want. But two embedded UX components do not load, producing javascript errors instead. Interestingly, it appears that the various parts that not load produce Chrome console errors all pointing to the same thing.

        Code:
        Uncaught SyntaxError: missing ) after argument list
        at Function._eval (a5-64885436.js:256)
        at a5-64885436.js:254
        The javascript this points to is this. I really don't know what to do with or about it:

        Code:
        this.transport.setRequestHeader('X-Requested-With','XMLHttpRequest');for(var i=0;i<this.headers.length;i++)this.transport.setRequestHeader(this.headers[i][0],this.headers[i][1]);this.transport.send(this.data);},onChange:function(){if(this.transport.readyState==4&&this.transport.status==200){var func=this.handle;var funcContext=this.handleContext||func;var context=this;if(func)setTimeout(function(){return func.call(funcContext,context.transport);},10);if($a._def[''+this.initCallback])setTimeout(fgt_sslvpn.eval_rewrite(Function('$a._def[\''+this.initCallback+'\'](); delete $a._def[\''+this.initCallback+'\'];')),20);var obj=this.fill;if(obj)setTimeout(function(){return $svs(obj,context.transport.responseText);},10);}else if(this.transport.readyState==4&&this.transport.status==408&&this._secondChance){$a.lastCallback=new Date().getTime();this._secondChance=false;this.request();}else if(this.transport.readyState==4&&this.transport.status!=200){var func=this.errorHandle;var funcContext=this.errorHandleContext||func;var context=this;if(func)setTimeout(function(){return func.call(funcContext,context.transport);},10);var obj=this.fill;if(obj)setTimeout(function(){return $svs(obj,context.transport.responseText);},10);}},getTransport:function(){trans=false;try{trans=new XMLHttpRequest();}catch(err){if(window.ActiveXObject)trans=new ActiveXObject('Microsoft.XMLHTTP');}
        -Steve
        sigpic

        Comment


          #5
          Steve,

          Is there any chance that the pages/components are using external JS located outside your domain - causing their client PC to be trying to access the JS (or really any external library) at another host that is blocked? I hope that made sense.

          Comment


            #6
            If the VPN connection is configured to direct ALL internet traffic through the VPN tunnel, then this shouldn't be the cause...however if the tunnel is configured to say "only send the web app IP related traffic" via the tunnel, this may be causing a failure along the way...

            Comment


              #7
              Thanks so far. We've passed on some of these thoughts to the Alibaba engineer who responded with below. This makes no sense to us. Does our app's use of externally-called javascript libraries maybe have anything to do with this as suggested here?

              According to my test, your application doesn’t support proxy service which I used Squid to do the test. You can ask for help on diagnosis on proxy service instead of VPN . Web mode VPN uses proxy service instead of VPN tunnel.

              My proxy server is still live. So configure your browser with the proxy server and shows it to your support team. Or you can ask your team to setup a proxy server to test your application.

              Many enterprises use proxy server in their intranet, so working under proxy server is important for your application.
              -Steve
              sigpic

              Comment


                #8
                Possibly related question then: Is there a way to capture or derive a list of libraries and resources used by a web app? For instance, we use WalkMe so that's an external library but if you look closely, you'll see their javascript calls yet other/more external resources. We have a list of about 40 or 50 external resources we're aware of / have discovered but may be missing a couple. And, we're not sure if additional time on this matter will actually solve our problem with an Alibaba VPN.
                -Steve
                sigpic

                Comment


                  #9
                  Hi Steve, I think you need to walk through the application, and each step along the way capture the resulting html and see if there are outside sources being used. If people have to login to your application then a regular SEO tool won't work. There are a lot of link checkers out there which will tell you of external links, but I think you'll have to check each page of the app as you are using it.

                  Comment


                    #10
                    Thanks. We've whitelisted everything we can find - and it's a long list. Can you recommend a link checker or other tool to help us find what we might be missing?
                    -Steve
                    sigpic

                    Comment


                      #11
                      I noticed that there is a gettime function in the call. Where would the function get "time"? does it refer to server time or internet time? In other words does the JS make a call to get internet time? - Now that withstanding, one other thing you could try in trying to figure out exactly where the fail is would be to throttle your connection using dev tools. In other words, choose a very slow connection and then watch as things come in and MAYBE just MAYBE you'll be able to see where in the stack the fail is occurring. I am probably way off the mark here but since you still haven't figured it out why not try something from left field? One last thing, what version of the server are you running? If it is the "current" version (as of today - 7295_5548) why not revert back to 7086 or a previous known working version and see if that same error appears. This is my suggestion because anytime I see the line number 256 in an AA js file I start looking at either a missing ";" on my part or something I did, or a bug in AA. Next step would be to see if the embedded component will run on it's own page without error. I hope you solve it!
                      NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                      Comment


                        #12
                        Thanks. I've followed all the advice above plus more, and am 95% convinced the problem is in the javascript constructing the A5.ControlBar with the class.create() function. This happens when embedded objects are loaded into the UX. So instead of getting the correct result, I just get the "Wait..." gif where the embedded objects are supposed to load. None of my design uses the A5.ControlBar.

                        This works fine outside the VPN, but I can't find anything malfunctioning, not loading or otherwise not available while in the VPN.
                        -Steve
                        sigpic

                        Comment


                          #13
                          can you eliminate the need to embed it by opening it via button click in a dynamic panel?
                          NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                          Comment


                            #14
                            This is a huge app built over the years and works well outside of this VPN. And no, I need dynamic menus for instance, which is one of the two embedded loading problems I have on the opening panel.
                            -Steve
                            sigpic

                            Comment


                              #15
                              still, taking a stab at it here, do you have an explicit alias defined? Do any other embedded components NOT fail?
                              NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                              Comment

                              Working...
                              X