Questions tagged [yaws]

Yaws is a high perfomance HTTP 1.1 webserver particularly well suited for dynamic-content web applications.

Yaws is a high performance HTTP 1.1 web server particularly well suited for dynamic-content web applications. Two separate modes of operation are supported:

  • Standalone mode where Yaws runs as a regular web server daemon. This is the default mode.
  • Embedded mode where Yaws runs as an embedded web server in another Erlang application.

Yaws is entirely written in Erlang, and furthermore it is a multi-threaded web server where one Erlang lightweight process is used to handle each client.

The main advantages of Yaws compared to other Web technologies are performance and elegance. The performance comes from the underlying Erlang system and its ability to handle concurrent processes in an efficient way. Its elegance comes from Erlang as well. Web applications don't have to be written in ugly ad hoc languages.

See more: https://github.com/erlyaws/yaws

193 questions
0
votes
1 answer

concurrent application

i have used erlang for the passed five month and i have liked it now it is my time to write down a concurrent application that will interact with the YAWS web server and mnesia DBMS and to work on a distributed system may any one help me with a…
0
votes
1 answer

Yaws files not rendering correctly

I downloaded Yaws on Ubuntu 19.04, cloned klacke's project, and configured my /etc/yaws/yaws.config to point to that project. When I create a new .yaws file and access localhost:port/page_name.yaws, it returns the raw code like: method(Arg) -> Rec…
0
votes
1 answer

yaws appmods Accept-Language A record is not correct

I work with yaws from a docker container for years, basically taken from https://github.com/segeda/docker-yaws/blob/master/Dockerfile: FROM erlang:20-alpine ... && git clone https://github.com/klacke/yaws.git /yaws-src \ ... Things just used to run…
kklepper
  • 763
  • 8
  • 13
0
votes
3 answers

WSDL empty tag and YAWS SOAP support

I am trying to invoke a WebService through SOAP using Erlang and YAWS (yaws_soap_lib module specifically). The examples published on http://yaws.hyber.org/soap_intro.yaws work for me. However, when trying to invoke my own web service YAWS fails.…
gregorej
  • 571
  • 1
  • 5
  • 18
0
votes
0 answers

Signing and verifying digital signatures in Erlang/OTP from other languages

I have an application where I've to verify digital signatures from different users. These users are programming is different languages/platforms, such as .NET, JAVA, C, etc; yet may application is developed in Erlang/OTP. When I test may application…
0
votes
1 answer

How to configure yaws webserver in the linux terminal?

can someone help me on to write my yaws webserver configuration file in the Linux terminal. when i follow the yaws tutorials i get errors. thanks a lot.
0
votes
1 answer

YAWS crash uploading 7 MB file

I'm using a Raspberry like board with YAWS 2.0.4 and Erlang 19. I wrote two webpages to upload a file and save it on the server: with "larger" file (I mean, ~7MB) the server crashes, with smaller file all works fine. I already tried to use the…
Mat
  • 63
  • 5
0
votes
1 answer

How to enable gzip compression on YAWS?

How do I enable gzip compression on yaws? I have this information: With this patch, Yaws will add 'Accept-Encoding' in 'Vary' header if the support of gzip compression is enabled or if the response is compressed. The 'Vary' header can be set…
user4672604
0
votes
1 answer

How do I configure possitiveSSL on embedded yaws?

I bought a possitiveSSL certificate from ComodoSSL these are the files I was received from them Root CA Certificate - AddTrustExternalCARoot.crt Intermediate CA Certificate - COMODORSAAddTrustCA.crt Intermediate CA Certificate -…
user4672604
0
votes
4 answers

Comparison among NIO webservers

We need to put in our architecture a server for streaming contents to (potentially) millions of phones. Here the architects and operations people know only about Java, but I'd really to propose something faster and easier to maintain. My list of…
Uberto
  • 2,712
  • 3
  • 25
  • 27
0
votes
1 answer

Exception when trying to run example of SOAP with Yaws

I'm trying to run this example of SOAP with Yaws. I believe that I installed erlsom correctly. This is what I get: 1> inets:start(). ok 2> yaws_soap_lib:call( 2> "http://www.webservicex.net/WeatherForecast.asmx?WSDL", 2> …
Rafael Castro
  • 579
  • 5
  • 14
0
votes
2 answers

How to set up yaws-1.89 in ubuntu?

I need help with setting up yaws-1.89 in ubuntu. This is the error I get: =INFO REPORT==== 3-Dec-2010::16:52:40 === Yaws: Using config file /home/hudson2010/yaws.conf =ERROR REPORT==== 3-Dec-2010::16:52:40 === Config Warning: Directory…
hudson2010
  • 71
  • 1
  • 6
0
votes
1 answer

Yaws - socket_closed_remotely

Hello fellow Erlangers :) Just another Erlang enthusiast playing with the language here. I have a very simple YAWS app module which works fine when accessed by single clients. However, when I try to spawn multiple concurrent clients, some of those…
Piotr Justyna
  • 4,888
  • 3
  • 25
  • 40
0
votes
1 answer

Yaws with SSL gives the error "SSL accept failed: timeout"

I used certbot to generate a Let's encrypt certificate for my website, but Yaws gives me an SSL accept failed: timeout error when I try to connect to it (after it times out of course). Interestingly it works when I redirect example.com to the local…
user1792131
  • 37
  • 1
  • 6
0
votes
1 answer

Running Erlang code and projects in Yaws (ebin_dir)

I'm exploring Yaws and I've read the Yaws manual and the Building Web Applications with Erlang book. I've followed every step in the book's last chapter where a multi_cast app is built, but I can't run it. I believe it's the Erlang code which isn't…
Sasha Fonseca
  • 2,257
  • 23
  • 41