Quantcast
Channel: Discourse Meta - Latest topics
Viewing all 60309 articles
Browse latest View live

Can't access Discourse when moving behind reverse-proxy

0
0

Jason Nall wrote:

I had a Discourse server running standalone on a DO droplet, mostly following the 30-minute install tutorial. Everything was working correctly.

As part of an infrastructure upgrade where I'm moving to multiple services running on multiple DO droplets, I set up a new droplet to act as a proxy server, changed my DNS to point to the new server, and configured nginx with the same config as seen here, except I added the SSL certs I used on the standalone server. Previously I had been using SSL and redirecting non-https requests.

I changed my app.yml to forward a different port to port 80 (and removed 443, since the standalone should only be taking proxy traffic and the reverse proxy handles SSL), and commented out the ssl template that was included.

Now the issue is that I cannot access this Discourse install at all. I have tried CURLing to the port in question on the host server, from the proxy server, from my local machine, and I have tried using the private network IP from the proxy server. I get connection refused errors each time. I have also tried CURL with the host header set as I would expect it to be from the nginx proxy, and that has not worked either.

Of course, the end goal is to make the new site available from the reverse proxy, but at this point I can't get my Discourse online and working if I can't even get a response from the docker install with CURL.

Any ideas as to what I may doing wrong?

Posts: 3

Participants: 1

Read full topic


CSRF Failing for all web requests

0
0

Jamie Bliss wrote:

My instance is tracking tests-passed and was last updated today.

For some reason, all the web API calls are failing with CSRF mismatch and I'm unable to do anything.

I forced myself logged out through the admin panel, logged in as a regular user (through Google OAuth) and now can't log out that user or use the admin panel.

I'm using some custom HTML headers, but I can't find any errors that's causing. The ruby backend is stock, and I just rebuilt my container trying to resolve this issue.

Posts: 1

Participants: 1

Read full topic

Posting to reddit ends up with user photo as sourced image?

0
0

Ape Inago wrote:

I don't know if this is an intended feature, something that should be addressed on discourse, or something on reddit's end of things, but I find it weird that links to a discourse entry end up with the photo of the poster as the main image. I think this is incorrect behavior given discourse' content first nature.

I'd love some help on figuring out ways around this. Our discourse will likely be image heavy: http://forum.formicarium.org/t/arthropod-suggestions/

So it seems silly to have user photos as the thumbnail on reddit:
https://www.reddit.com/r/formicarium/comments/2pcl6r/official_arthropod_suggestions_wanted_help/ - links to the top level post, should have the ant image?

https://www.reddit.com/r/formicarium/comments/2pdlcb/confirmed_aphids_are_planned_for_the_game/ - links to the comment, should have the aphid as an aimage?

Is this something we can tweak? I'd be willing to look at code if you can point me in the right direction, and @Bersaelor has ruby experience.

Any help appreciated. I'm going to be digging into reddit's codebase soon to see if there is anything I can tweak.

Open Source Rox

Posts: 3

Participants: 2

Read full topic

Text of forwarded emails don't show up in posts

0
0

Tobias Eigen wrote:

We're using discourse as a mailing list, and it appears that forwarded emails do not show up in the posts. If you look at the source of the email you can see there is alot of content that is not included. Ive tried a few things including removing this line:

---------- Forwarded message ----------

which did not work, and then removing these lines:

---------- Forwarded message ----------
From: Foo Bar <foobar@bar.org>
Date: Mon, Dec 15, 2014 at 10:39 AM
Subject: A gift from one Foo to the next! Instructions and sample gift [staff]
To: barfoo@bar.org

which apparently DOES work. But of course this is a fairly crucial bit of info.

I'd love to hear how others handle this scenario and how you instruct your users to prepare their emails so the whole message arrives? Thanks!

Posts: 1

Participants: 1

Read full topic

Storing how often users share posts & topics

0
0

Nikolas Davis wrote:

I think it would be valuable to store how often posts are shared, as well as how often users share overall. It would also be interesting to see through what medium they shared (e.g. twitter, etc). So far as I could tell no metrics are currently stored.

Any thoughts?

Posts: 5

Participants: 3

Read full topic

How does discourse know that you are logged in?

0
0

eriko wrote:

This is related to extending SSO to support logging out of discourse. I have what is probably an edge case that I am trying to figure out how to wedge in. We use CAS for auth but process is also true for SAML. When you login into CAS the CAS server generates a ticket granting ticket (TGT) that then gets used to generate service tickets (ST) for each application/site that you login to. These ST 's get recorded, along with the url of the remote app, in the cas server and preferably the ST in the application the person is using. The TGT's and ST's have a lifetime and when it expires the CAS server uses that record to tell the remote application that the users time is up (Single LogOut SLO). The ST is used to make sure that SLO request is a valid one.

I have built an app that does nothing but sit between CAS and Discourse doing cas on one side and discourse sso on the other. This works for login in but does not deal with logging out the particular session the user is in. The request to logout would not be coming from the users browser, so no cookies, and at this point would only know about the username and the payload (nonce and sig) left over from the initial SSO connection

The question is does discourse have something that connects the user+browser+computer to the user at the server side. Would there be away for a third party (cas_sso_app) to be able to tell the discourse server that a particular browser session is over and that the user needs to login again.

Posts: 3

Participants: 3

Read full topic

Discourse as a front end for existing ASF mailing lists

0
0

Nicholas Chammas wrote:

I am interested in introducing Discourse as an alternative interface to the existing user list for the Apache Spark project. Apache Spark, like many other ASF projects, has a few associated mailing lists that are managed by a program called ezmlm-idx.

The ASF maintains these mailing lists and will likely not support any project wanting to move off of them. (It would be great if, for example, the Discourse team worked directly with the ASF on some kind of initiative to give all Apache projects the option to use Discourse for their user or dev lists. But that is not likely in the near term, I'm guessing.)

Is there a way one can deploy Discourse (perhaps with some loss of functionality) and bridge it to an existing mailing list managed elsewhere?

I'm looking for a way to give the community most of the neat functionality in Discourse without forcing existing mailing list users to do anything or asking the ASF to support anything other than a bridge between their mailing lists and Discourse.

There are many discussions on here about using Discourse as a mailing list or bridging to a mailing list (1, 2, 3, 4), but there is so much information scattered across all these threads that it's not clear whether this is currently possible or planned. (Apologies if this new post is contributing to the problem; feel free to merge it in to another thread if appropriate/possible.) The About and FAQ pages also don't have detailed information about the mailing list functionality.

Posts: 7

Participants: 3

Read full topic

Discourse is using a LOT of CPU in Firefox

0
0

Bart wrote:

Hi,

we recently implemented Discourse on our site and our community is having a great experience (see our implementation here).

One thing that troubles me a bit though is CPU usage: I'm writing this on a 2014 Macbook Pro (OSX 10.10.1), and both in Chrome and Firefox, Discourse is consuming between 70% and 100% CPU. It sometimes reaches the point where leaving the forum open is slowing down my entire laptop.

I've verified that this happens both on our own forum, but also on this forum, so it seems there's something in Discourse that may not be working quite right.

Any ideas what might be causing this?

Cheers,

Bart

Posts: 8

Participants: 6

Read full topic


Missing translation key 'composer.emoji'

0
0

wrote:

Just updated Discourse to the latest version.

Realized I have Emoji icon on composer tool bar thumbsup , but it looks like translation key need to be updated for other languages? I can't find related strings in Transifex or locale yml.

Same result in another language:

Posts: 4

Participants: 3

Read full topic

Enable public to read

0
0

João Pimentel Ferreira wrote:

I know this shall be obvious, but sorry, I don't find it

Every time I see the forum I manage without logging in, it is saying we must create an account to read the content.

How can I make the forum publicly readable?

Thank you

Posts: 2

Participants: 1

Read full topic

Upper right menu buttons doesn't work

0
0

wrote:

It is my testing Discourse site. I updated to 1.2.0.beta4.

And it just happened. Upper right menu buttons are not working at all. Drop downs not showing up. I can't navigate to proper pages, it keeps staying on the front page with '/#'

I did rebuild but still the same result. However another testing site was OK with the latest version.

Here is the screenshot:

Any ideas?

Rebuilds didn't work, so I was thinking of making a new droplet for a moment, but it would better to know how to solve this error neutral_face

Posts: 2

Participants: 2

Read full topic

Blank space after email address in category settings breaks mailin feature

0
0

Tobias Eigen wrote:

To replicate:

  1. edit a category you are using for mailing lists and that you know works and add a blank line after the email address in "Custom incoming email address" field.
  2. send email to the incoming email address and wait for the bounce message with the "Email issue" subject line and error "None of the destination addresses are recognized. Please make sure that the site address is in the To: line (not Cc: or Bcc:), and that you are sending to the correct email address provided by staff."

Posts: 2

Participants: 2

Read full topic

Unable to access meta topics on android

0
0

Tobias Eigen wrote:

For the last few days I've been unable to access topics on meta using my android 4.2.2 device. Standard chrome browser. I can visit the home page and browse categories, but once I click through to a topic I just get a white screen with the spinning wheel and nothing happens.

This is only on meta - not on my own forums. That said, I did have the same problem on the #teachtheweb discourse yesterday.

Posts: 4

Participants: 3

Read full topic

Associate accounts?

0
0

Lisa Wess wrote:

I see in the Admin area for a user that they can have an associated account. Can someone clarify was exactly that means?

We have a few requests to "merge" accounts and I'm wondering if there is a way to manually associate accounts since I didn't find a 'merge users' option.

Neither are mass content posters, so I can manually update their posts by changing authorship, etc, etc. But they'd like to keep other activity (bookmarks, stars, hearts, etc.)

I saw the feature request about merging users but I wasn't able to find much on associating accounts.

Thank you!

Posts: 5

Participants: 4

Read full topic

Sending emails to users asking them to come back?

0
0

Sebastian wrote:

Is there a way to make discourse send out a customized email to for example "users not active in the last 4 weeks" etc?

Posts: 3

Participants: 3

Read full topic


How many types of emails does discourse send users by default?

0
0

Sebastian wrote:

Are these correct/all:

  1. Email after signing up.
  2. An email with summary of top posts every x week.
  3. Email when someone has replied to your post.
  4. Email when there is an answer to a thread you follow.

Posts: 3

Participants: 3

Read full topic

Cannot make text bold in the middle of a word with asterisks

Organise Transifex translation files into categories

Import all entries from RSS in feed poll for embedded blog

0
0

ZeroFlux wrote:

I've set up the feed polling from a Drupal site into a Discourse instance, which allows for discussion of blog posts and news. Everything works well with the "embedded blog" functionality. However, only new or recent posts on the external RSS feed are imported into Discourse. How do I ensure that all entries from an RSS feed are imported?

References

http://eviltrout.com/2014/01/22/embedding-discourse.html

Posts: 6

Participants: 3

Read full topic

Beta phase of French cloud provider: free discourse (2GB, 4@1.3GHz)

0
0

Robert wrote:

I asked on Twitter online_net to participate in their beta phase and got a discourse instance running (very performant) without paying so far (or even giving them credit card details). Thanks to http://online.net

Stats: C1 (4 Cores @1.3GHz, 2GB memory) + 20 GB SSD

It's a small ARM dedicated server.

Sole disadvantage: Setup is a bit more complicated, because the docker image is not yet ARM compatible.

How-To setup docker on this cloud: https://community.cloud.online.net/t/discourse-instantapp/452

If this offer is not going to be too expensive, this could become a nice alternative to digitalocean. Especially for people that feel unconfortable to host their data in a US enterprise cloud.

Posts: 3

Participants: 3

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images