194 questions
2
votes
1
answer
49
views
gconf are not setting properly in Yaws
I am only using Yaws to serve dynamic content via handlers (for example, serving API responses or dynamic pages via Erlang modules). I don't need a document root at all.
Here is supervisor where I am ...
1
vote
1
answer
40
views
Configuration Essue while embeding yaws to rebar3 for serverside operatios
i am attempting to start the yaws via yaws_api:embedded_start_conf/1,2,3,4 in supervisor. but getting configuration issue. As i am only using Yaws to serve dynamic content via handlers (for example, ...
1
vote
0
answers
41
views
yaws is stucked and can not receive any new HTTP connection
We used yaws server with embedded mode and the server can be started to process some requests.
HAProxy is used in front end to monitor yaws cluster nodes and receive/dispatch new HTTP webpage/...
0
votes
0
answers
100
views
Yaws: How to debug enigmatic HTTP error 500 in a reverse proxy situation?
Reverse proxy Yaws delivers 500 Internal Server Error
I use Yaws as a reverse proxy. Yaws lives in a docker container named yaws which calls an NGINX container named wsm. Very rarely, I get a 500 ...
1
vote
1
answer
36
views
Nitrogen over Yaws set cookie throws exception
I've installed Nitrogen over Yaws (Nitrogen 2.4.0, Yaws 2.0.8, ERTS 13.2 - R25).
When I try http://0.0.0.0:8000/I get Internal server error. When I check in the console I get this error.
{error,...
0
votes
1
answer
117
views
Yaws Exception: {badmatch,{error,invalid_uri}} caused by +
I cannot find out what's wrong with abs_path being "/search?search=Thrust+washers", and, what's more, how to debug this.
Class: error
Exception: {badmatch,{error,invalid_uri}}
Req: {...
1
vote
1
answer
27
views
Nitrogen SimpleCache Mutex signkey issue
Nitrogen seems to be running properly until it starts throwing these warning messages.
It throws these warnings.
=WARNING REPORT==== 2-Jul-2022::10:18:25 ===
SimpleCache: Mutex "{nitrogen,signkey}...
1
vote
1
answer
444
views
Yaws webserver running via HTTP but not via HTTPS
I have a yaws webserver. I'm trying to connect via https in local network.
When I setup my server in yaws.conf for http, as follows, all works fine when I connect via http://0.0.0.0:80/myappmod in ...
0
votes
0
answers
239
views
I want to establish a web socket connection between the client, and server
I've been having this problem for months now, and I've scrolled all over the web, and got no answer. Right now, I am running Yaws version 2.0.6, and Erlang OTP 19 for my project. I know to establish a ...
0
votes
0
answers
62
views
Hi, I am working on a Yaws web socket connection issue
I have stumbled upon a issue successfully enabling a web socket connection between the web browser, and the Yaws web server.
Both, the Javascript code sample by the client, and Erlang code samples by ...
0
votes
1
answer
85
views
What does redirect in Yaws do in a docker stack?
Trying to understand Yaws and my docker stack.
I have 3 servers in yaws.conf: domain.tld, my.domain.tld and sm.domain.tld. These correspond to containers www, wmy and wsm. I want Yaws to process data ...
0
votes
1
answer
241
views
Yaws basic auth letsencrypt
I have a domain in stealth mode, protected by basic auth. Basic auth is not supported by Letsencrypt and probably never will (https://github.com/certbot/certbot/issues/1744#issuecomment-162038303).
...
1
vote
2
answers
2k
views
HTML is not applying the CSS when viewed in browser
I use adminer in a docker container.
For testing services, I use the URL mydomain.tld. To address this container directly, I could expose a port and map, for example, port 8081 to the adminer port ...
1
vote
1
answer
105
views
yaws crashes with httpc:request for URL served by docker container
I use yaws and adminer in my docker stack. Formerly, I used to route https://mydomain.tld/adm?foo=bar with nginx to the proper container via
location /adm/ {
proxy_pass http://adm:...
1
vote
0
answers
59
views
Can yaws be used in embedded mode while not putting it in relx or in included_applications?
Currently I am able to use yaws in embedded mode by either:
adding {yaws, load} in the relx section of rebar.config.
adding yaws to included_applications section in *.app.src.
Method #1 was the ...