# Member signup fails (members/api/send-magic-link/ 500error)

**URL:** <https://forum.ghost.org/t/member-signup-fails-members-api-send-magic-link-500error/27160>\
**Category:** Developer help\
**Created:** [December 4, 2021, 10:17am UTC](https://forum.ghost.org/t/member-signup-fails-members-api-send-magic-link-500error/27160 "2021-12-04T10:17:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tobias](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/tobias/32/10629_2.png) [@Tobias](https://forum.ghost.org/u/Tobias)\
**Post date:** [December 4, 2021, 10:17am UTC](https://forum.ghost.org/t/member-signup-fails-members-api-send-magic-link-500error/27160/1 "2021-12-04T10:17:13Z")

</div>

Hi there,

I installed a fresh Ghost instance and I’m setting it up right now. I noticed, I cant signup. If I try using one of the forms I get the following error log:

> data-attributes.js:33 POST [https://mysite.com/members/api/send-magic-link/](https://mysite.com/members/api/send-magic-link/) 500

I already set up mailgun. Sending a post to a test email address works. Why doesn’t the signup?

```auto
$ ghost version
Ghost-CLI version: 1.18.1
Ghost version: 4.25.0 (at ~/ghost)

```

```auto
$ cat config.production.json
  "mail": {
    "transport": "SMTP",
    "options": {
      "service": "Mailgun",
      "host": "smtp.eu.mailgun.org",
      "port": 587,
      "secure": true,
      "auth": {
        "user": "postmaster@nl.mysite.com",
        "pass": "[omitted]"
      }
    }
  },

```

I don’t think it’s related to [this problem](https://forum.ghost.org/t/un-noticed-email-config-change-in-4-15-16/25869).

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [December 4, 2021, 12:20pm UTC](https://forum.ghost.org/t/member-signup-fails-members-api-send-magic-link-500error/27160/2 "2021-12-04T12:20:22Z")

</div>

Check your logs for the error message. If it’s to do with ssl, change `”secure”: true` to `”secure”: false` so TLS is used to negotiate a secure connection once connected rather than forcing a secure connection which may not use compatible SSL algorithms.
