support-chat
This is the support-chat chat channel, created by KajMagnus (KajMagnus), 2016-10-01 08:47:17.784Z
Chat about Talkyard and related things. E.g. ask quick questions.
Hi @KajMagnus, Basically using docker desktop on windows O/S to deploy the containers. And not using a different VM as well. Can it be because of resources(memory, cpu)

@heshanKaru10 Yes, too little memory was the problem in my case. — I've never started Ty from Docker Desktop though, not impossible something else goes wrong. If you give it more memory, but it still doesn't work, one idea would be to try in a Debian VM?
Hi @KajMagnus, would it be possible to upgrade PostgreSQL to the latest in its series (10.x)? It looks like the current version used in Talkyard suffers from multiple vulnerabilities and it is being red flagged as a result. Thank you and I hope all is well.

@melanopsis Hi, yes I'll have a look. (Note that it's not accessible from outside, only the application server talks with it.)
@KajMagnus It's hard to reason with infosec folks :) The instance that hosts Talkyard is not even directly accessible from the internet.

@melanopsis & others: I started working on a Talkyard major-major version bump, from epoch 0 epoch 1. Includes an upgrade to Postgres 17. (Been planning to do this for years, for various reasons :- )) — Seems to work fine w Pg 17, when trying out on localhost.
Hello,
We are trying to integrate our app with Talkyard using Single Sign-On (SSO).
We would like to use OpenID Connect (OIDC) / OAuth2 as the authentication method, as it’s more secure and standard. However, in our Admin Area under Settings > Signup and Login, we only see the “Custom Single Sign-On (SSO)” option.
We do not see any section or settings for OIDC or OAuth2.
Our questions:
Does our Talkyard instance/version support OIDC/OAuth2 authentication?
If so, how can we enable the OIDC/OAuth2 option in the admin panel?
If not, what are the requirements (version, configuration, license) to activate it?
Our goal is to allow our users to log in to Talkyard via OIDC/OAuth2, using our Supabase app as the identity provider.
Thank you for your guidance!

Hi E Salinas @drjosegregorio,
Does our Talkyard instance/version support OIDC/OAuth2 authentication? If , how [... ]
Yes. A bit higher up on the login settings page,
(hmm would be good if this was simpler to find, not "hidden" in the middle of a long page?)
you should find this title:
Ways to sign up
and just below the title, a checkbox: Custom OIDC or OAuth2
If you tick the checkbox, a button appears:
Configure identity Providers (IDPs) ...
(However, if you have enabled Enable Single Sign-On (SSO), then the OIDC settings are hidden, since can't use both at the same time.)
Click the button, and an OIDC configuration field appears, where you can copy-paste & edit OIDC configuration.
Read here about how to configure: How to enable OIDC login
Haven't tried to connect Talkyard to Supabase, but if they use standard OIDC, it should just work.
Hello! Is there an api for getting embedded comments for a certain page in json format? List Posts endpoint returns everything all together and filters are not implemented. Get endpoint returns only likes count, and if i want detailed information i need to use api key which doesn't make sense for the embedded comments case. Is there anything else?

Hi @Daria, Listing comments per page — yes, not yet implemented, but should be a somewhat quick fix. I can write more in a few days / later this week.
Is there anything else?
Maybe depends on what you want to do :- ) What's your use case, if I can ask?
(I'm guessing, though, that the best approach is to implement the get-comments-per-page functionality.)
API docs page: https://docs.talkyard.io/api/v0#tag/default/post/-/v0/list
Relevant source code in class ListController
: (aborts early, since not implemented)
throwUnimplementedIf(anyFilter.isDefined && (listWhat == Posts || listWhat == Events),
"TyE603MRD4", "No filters implemented for posts and events")
I am using the API to create posts and comments. Is it possible to increase the size of the POST messages? I am guessing this is something in the backend webserver talkyard is running?
I get this error, when trying to create a page using the API (thru a POST call in Python or curl)
❌ An error occurred: 413 Client Error: Payload Too Large for url: https://archprisms.talkyard.net/-/v0/do
server_origin = "https://archprisms.talkyard.net" # e.g., "https://example.com"
secret_b64 = "REMOVED"
username = "karu"
page_ref_id = sys.argv[1]
cat_ref_id = "rid:category_questions"
# --- Define your multiline string with special characters ---
# Using a triple-quoted string makes this easy and readable.
body_content = """
Review of the paper "LightML: A Photonic Accelerator for Efficient General Purpose Machine Learning," written from the perspective of "The Guardian."
### Review Form
**Summary**
This paper introduces LightML, a photonic co-processor architecture designed for general-purpose machine learning acceleration. The authors claim to present the first complete "system-level" photonic crossbar design, including a dedicated memory and buffer architecture. The core of the accelerator is a photonic crossbar that performs matrix-matrix multiplication (MMM) using coherent light interference. The paper also proposes methods for implementing other necessary ML functions, such as element-wise operations and non-linear activation functions, directly on the photonic hardware. The headline claims are a peak performance of 325 TOP/s at only 3 watts of power and significant latency improvements (up to 4x) over an NVIDIA A100 GPU for certain models.
**Strengths**
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
The paper is well-written and addresses a compelling long-term research direction. The core strengths are:
"""
# --- Prepare the request ---
url = f"{server_origin}/-/v0/do"
headers = {
"Authorization": f"Basic {secret_b64}",
"Content-Type": "application/json"
}
# The payload is a Python dictionary, which is easy to construct.
payload = {
"doActions": [{
"asWho": f"username:{username}",
"doWhat": "CreatePage",
"doHow": {
"refId": page_ref_id,
"pageType": "Discussion",
"inCategory": cat_ref_id,
"title": "Bird vs Owl (with details)",
"bodySrc": body_content, # Your multiline string is inserted here
"bodyFmt": "CommonMark"
}
}]
}
# --- Send the request ---
try:
# The `json` parameter automatically converts the dict to a JSON string
print(url)
print(headers)
print(payload)
response = requests.post(url, headers=headers, json=payload)
# Raise an exception for bad status codes (4xx or 5xx)
response.raise_for_status()
print("✅ Success!")
print(f"Status Code: {response.status_code}")
# Print the JSON response from the server
print("Response JSON:", response.json())
except requests.exceptions.RequestException as e:
print(f"❌ An error occurred: {e}")

@karu It seems there's a just 2000 bytes limit!
def apiV0_do(): Action[JsValue] = ApiSecretPostJsonAction( // [PUB_API]
// For now, may do just a few things. [do_api_limits]
WhatApiSecret.SiteSecret, RateLimits.UpsertFew, maxBytes = 2000,
) { req: JsonPostRequest =>
queryDoImpl(req, doOnly = true)
}
(appsv/server/talkyard/server/api/QueryDoController.scala
)
Is it possible to increase the size of the POST messages?
Yes, I'm about to release a new version now soon, some time week I'm guessing. I'll look into making the limits configurable. (Sorry for the temporary blocker)
using the API to create posts and comments
Ok, good idea. Mostly just out of curiosity, how large texts would you expect the AIs to generate?
Thank you!
Typical size is around 6000 characters. Would be nice to support up to 20K characters.
@KajMagnus Hi Magnus...just wondering if you had an update on the ETA for this feature.

@karu Now I've upgraded the server — 20K chars (and more than that) is now ok.
(Not impossible that there'll be some other limit you'd run into — then please let me know)
Hello. Our community portal hosted in cloud seems to be unreachable now. Is there any outage at this moment?
same issue for us today and worked just fine last night, no changes in DNS records or anything related ... A timeout occurred Error code 524
Visit cloudflare.com for more information.
2025-10-02 14:21:51 UTC
and its back and working now :) , just to confirm this is something you fixed/restarted on TY side or this is something else ?
Started working on our end too. Also curious what was that?
wondering if this is CF related issue https://www.cloudflarestatus.com/incidents/k8wn9d8kn7tz
We're down again this morning. The domain is not responding... Might be an issue on the CF side I guess, but I can't say for sure.
yes - i can confirm it - this is not good - and its not CF issue at this point this is TYard
SSL Provisioning Delays
Incident Report for Cloudflare
Resolved
This incident has been resolved.
Posted 9 hours ago. Oct 03, 2025 - 04:01 UTC
I guess its no go for this type of forum :) google bots see webpages not available few times each day and simply stop crawling going forward
502 Bad Gateway [TyE502BGW]
Talkyard's Nginx server cannot connect to Talkyard's application server.
Is the application server not running, or is there some network error?
Please check if the 'app' Docker container is running: 'docker-compose ps'
If it's not running:
- Start it: 'docker-compose start app'. Then wait a few seconds and reload this page.
- Or login in a Bash shell: 'docker-compose run --rm --service-ports app bash'
If it is running:
- Check the logs: 'docker-compose logs'
- Only Play's logs: 'docker-compose logs app'
- Or jump into the container: 'docker-compose exec app bash'
---Invalid SSL certificate Error code 526
Visit cloudflare.com for more information.
2025-10-03 18:10:32 UTC
You
Browser
Working
Newark
Cloudflare
Working
forum.stefanybags.com
Host
Error
What happened?
The origin web server does not have a valid SSL certificate.
What can I do?
If you're a visitor of this website:
Please try again in a few minutes.
If you're the owner of this website:
The SSL certificate presented by the server did not pass validation. This could indicate an expired SSL certificate or a certificate that does not include the requested domain name. Please contact your hosting provider to ensure that an up-to-date and valid SSL certificate issued by a Certificate Authority is configured for this domain name on the origin server. Additional troubleshooting information here.
I'd still appreciate feedback from the team. Do you think it was an exception and something that got fixed already?

Hi @yurist38 and @stefanybags, sorry yes the server was malfunctioning. I had changed the amount of memory from 16 GB to 8 GB but I hadn't updated the application server, so it thought it was supposed to use a lot more memory, than what was actually available.
Just after I made the change, all seemed fine, but after some day, the app server started using more and more memory, without me noticing, and eventually it stopped working.
I thought I had configured alerts that would notify me about this, but seems that didn't work, ... need to look into that. And probably there should be a checklist for changing the amount of memory so I won't forget some other time too
(A question is: How does one remember if there's a checklist for doing something, or not. How does one remember to look at the checklist)

@yurist38 and @stefanybags, I'll send you a DM in a little while
@KajMagnus good to hear that the issue is found and fixed now. Thank you for the update, I appreciate it.

Turns out I did get an alert notification about the server being offline, but I didn't notice partly because I was doing other things, partly because I got some other & more recent notifications about possibly problematic log messages — which are always almost harmless. Now I've reduced how often notifications are sent about possibly-problematic log messages, so I'll better notice the actually important alerts

(Interesting, seems pilots sometimes have some minor problems remembering to check their checklists:
"How do I remind myself to run in-flight checklists?"
https://aviation.stackexchange.com/questions/38476/how-do-i-remind-myself-to-run-in-flight-checklists
"How do you remind yourself to do your checklists?"
https://www.pilotsofamerica.com/community/threads/how-do-you-remind-yourself-to-do-your-checklists.102704/
At least there's some seemingly good advice there)

on page https://www.talkyard.io/compare/discourse
It says Install on-premise as open source (open core)
Is this still the case? what parts are not open now?


https://github.com/debiki/talkyard-prod-one?tab=readme-ov-file#installation-instructions
step 7:
Update 2021-04-04: It's better if you use firewalld instead — it's safer: Docker can bypas ufw rules, but not firewalld rules.
The script is still using ufw

@IvanTheGeek Everything in Talkyard today is open source.
SCIM and SAML (enterprise stuff) when/if implemented in the future, would probably be closed source (or source-available). And some future enterprise compliance stuff that I don't know exactly what it is.
The script is still using ufw
In the upcoming Talkyard v1 the ufw
instructions will be gone, instead, just this text:
Install a firewall, for example firewalld. Note that ufw (another Linux firewall)
is incompatible with Docker, see:
https://docs.docker.com/engine/network/packet-filtering-firewalls/#docker-and-ufw.
(If you use Google Cloud Engine: GCE already has a firewall.)
Maybe I could make those edits now directly instead, no need to wait until v1 hmm.

... Now there's some edits in this main2
work-in-progress branch, with ufw
removed: https://github.com/debiki/talkyard-prod-one/blob/main2/README.md#preparations