Giter Club home page Giter Club logo

miserver's Introduction

This repository contains 4 primary branches

  • master - this is the current "production" version of MiServer
  • maintenance - this is where bug fixes are written and tested before being merged into master
  • development - this is where new development will take place
  • miserver.dyalog.com - this is what is running at (http://miserver.dyalog.com).

miserver's People

Contributors

abrudz avatar alhadis avatar arcfide avatar bpbecker avatar dbaronet avatar dyaandys avatar jasondyalog avatar jasonrivers avatar jayfoad avatar mbaas2 avatar mkromberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

miserver's Issues

MiServer 3.0.1539 Compose vs Render and _Request.GetData

At Brian request I am reporting this as an issue rather than in the MiServer forum.

Having updated from MiServer 3.0 (mine was dated 16/11/2016) to 3.0.1539 I am having a lot of problems.

For a start HandleMSP on line 150 calls my function Compose, but then on line 179 call Render.
Under the old MiServer, HandleMSP called Compose only on line 170, and did not call Render at all.

Compose or Render, which should be being used?

In addition, under 3.0.1539, when attempting to read event information (when an option was selected on a drop down box),
what←_Request.GetData'_what'
selected←_Request.GetData what
"selected" is an empty string, while under the old MiServer it had the value of the item selected.
As a result, my code is failing to respond to items selected in the drop down boxes.

I am unsure if these two issues are related.

How upward compatible should MiServe be, or do I need to rewrite my (old code) every time MiServer is (or Dyalog) is updated?

Ray Cannon

No 404 Page Response?

When attempting to access a link that doesn't exist in a MiServer site, I get an endless wait with no response from my browser(s). I have tried this on the miserver.dyalog.com page as well as my own sites. Using the Logger extension, I see that the request is logged and that it indicates a 404 response was the correct one, but I don't see any response on the browsers that I have tried. What is going on here?

Configuration timeouts - 0 default doesn't work

Some timeout values (e.g. HTTPCacheTime & IdleTimeout) are described as having default times of 0. But if they are removed from Server.xml the defaulting code (e.g. ConfigureServer[18-19]) blows up because it passes Dates.ParseTime a scalar '0' instead of a vector, and ParseTime can't handle a scalar.

This would probably best be fixed in Dates.ParseTime but just calling it with a vector would solve the problem.

Links open in a new window

After only a couple of minutes of looking around the MS3 sample site, my browser tabs are like this:
selection_033

The only links that should open a new window are links that don't allow me to return back to the home page, E.G, PDF links or external links.

MiServer gets closed socket when querying with cURL

When querying MiServer with cURL the following is posted in to the session:
"HandleRequest" closed socket SRV00000000.CON00000000 due to error: 1001 ERR_LENGTH sending response

Our CI checks that the page works using curl before publishing anything, and this is causing the builds to fail.

To Reproduce (on linux):

This ONLY applies to the development branch. master works fine.

No path separator on start up

You need to add a path separator after line 44 of Start something like: dyalog,←('/'≠¯1↑dyalog)/'/'

Running on raspberry Pi

DrA Directory is wrong

Running MiServer with DrA on Linux I end up with a Directory named "DrA\" instead of "DrA", Crash files are then put in as a file named "DrA\xxx.dcf" (that's a filename, not a Directory/file - the \ should be /

DOMAIN ERROR: Base class for Class "Page" has not been resolved

After downloading miserver and )loading it into the interpreter, I get the following:

      )load /tmp/MiServer-3.1.1652/miserver.dws
/tmp/MiServer-3.1.1652/miserver.dws saved Wed Oct 24 06:44:13 2018
      Start './MS3' ⍝ Run the MiServer v3.0 demonstration site
      1 Start './MS3' ⍝ Run the MiServer v3.0 demonstration site
Could not load development environment due to: DOMAIN ERRORSetDelta[29] ref.SALT_Data←ref.⎕NS''
DOMAIN ERROR: Base class for Class "Page" has not been resolved
SetDelta[29] ref.SALT_Data←ref.⎕NS''

I am totally lost on what that means and how to solve it. Disclaimer: APL newbie here ;)

Documentation for Producing Non-HTML MIME types?

I am having trouble finding documentation on the supported interface for producing non-HTML MIME-types from a MiPage. Specifically, I am looking for a way to produce, say, a Text document, or something else, on certain inputs, but an HTML page on others. Is there a supported way to do this? Is this documented anywhere?

What to do when there's a rendering problem?

A couple of ideas to provide the user more information when something breaks during rendering.

  1. When not in production mode (as defined by the setting of /Config/Server.xml:Production), attempt to identify the "user level" element that contains mis-rendering element. This would involve looking up the rendering hierarchy to try and identify the user element. The challenge is that many of our widgets build content under the covers...

  2. When an element breaks during render, replace the content with something that would be visible on the page to indicate "this didn't render". This should be controlled by a new configuration setting.

How to Debug MiServer Crash?

I'm finding that my MiServer instance is going down roughly once a day. I'm trying to figure out what is the cause, but I'm not seeing a DrA file, though I think it might be generating an aplcore (testing again to be sure). The only thing anomalous in the Logs is a few entries that have "n" as their PeerAddr value, rather than the normal IPv6 address and port.

Is there a known standard way to debug this issue? I presume that if there were a crash or the like, that this should have been logged in the DrA system if I'm running in production mode with error trapping on?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.