Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Franz - invalid URL since 0.52.0

Open danpospisil opened this issue 9 years ago • 28 comments

Since version 0.52.0 we are not able to add our server to client Franz. I have installed a fresh docker instance to test starting at 0.51.0 which was working. The I upgraded the server to 0.52.0 and Franz started throwing error message "The URL you've entered is not a valid server". Its showing this message even for demo.rocket.chat. See attached screenshot. franz

Rocket.Chat Version: 0.52.0 Running Instances: 1 DB Replicaset OpLog: Enabled Node Version: 4.7.3

danpospisil avatar Feb 20 '17 23:02 danpospisil

Same issue here.

Rocket.Chat Version: 0.52.0
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: 4.6.0

tarabanton avatar Feb 21 '17 09:02 tarabanton

I have found a workaround for now.

  1. Install older Rocket.Chat somewhere (even locally)
  2. Create new Rocket.Chat instance in Franz pointing to older Rocket.Chat version - it will connect without problem.
  3. Quit Franz
  4. Open services.json file (in %USERPROFILE%\AppData\Roaming\Franz\settings) and edit server URL from server specified in step 1 to your 0.52.0 server and save.
  5. Start Franz again and it should connect to your server with no problem.

danpospisil avatar Feb 23 '17 14:02 danpospisil

can you post an example block?

kurktchiev avatar Feb 28 '17 14:02 kurktchiev

@ebalsumgo - what exactly do you mean by "example block"?

danpospisil avatar Mar 01 '17 23:03 danpospisil

@danpospisil example of the json block you have in the settings.json file

kurktchiev avatar Mar 01 '17 23:03 kurktchiev

@ebalsumgo - its useles as Franz generates somehow unique instance ID and its not transferable (RC will not load at all - you will see just a blank window). So you have to go through this procedure. Example is this:

{
  "services": [
    {
      "notifications": true,
      "count_message_direct": 0,
      "count_message_indirect": 0,
      "zoom": 0,
      "showIndirectMessages": true,
      "enabled": true,
      "focusMode": true,
      "id": "UNIQUE_ID",
      "order": 1,
      "service": "rocketchat",
      "name": "Name",
      "mute_audio": false,
      "customURL": true,
      "team": "https://URL_HERE"
    }
  ]
}

danpospisil avatar Mar 02 '17 12:03 danpospisil

So .. there is an update workaround without the need of older server:

  1. Install Franz and quit it (ot just quit if you have it installed).

  2. Open services.json file (in %USERPROFILE%\AppData\Roaming\Franz\settings) and change it to following (don't forget to change ( "team": "https://URL_HERE") (still I have no idea what the field "id" does, but it works):

{
  "services": [
    {
      "notifications": true,
      "count_message_direct": 0,
      "count_message_indirect": 0,
      "zoom": 0,
      "showIndirectMessages": true,
      "enabled": true,
      "focusMode": true,
      "id": "abcd123",
      "order": 1,
      "service": "rocketchat",
      "name": "Name",
      "mute_audio": false,
      "customURL": true,
      "team": "https://URL_HERE"
    }
  ]
}

(if you already have some services there, you will have to add one service in the json list).

  1. Start Franz and click the tab even when its selected (this got me confused on the first try). It will load RC.

  2. Login and enjoy :)

danpospisil avatar Mar 08 '17 15:03 danpospisil

This is an issue with how Franz validates the URL. I've submitted a patch to fix this in https://github.com/meetfranz/plugins/pull/231

cpitman avatar Mar 08 '17 17:03 cpitman

Since there's nothing we can do inside Rocket.Chat, can this be closed since the pull request above seems fix the issue?

graywolf336 avatar Mar 24 '17 20:03 graywolf336

Knock knock - pull request, merge, release... please.

oojacoboo avatar Apr 11 '17 19:04 oojacoboo

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a temporary error. The following address(es) deferred:

[email protected] Domain biomassiv.es has exceeded the max emails per hour (108/100 (108%)) allowed. Message will be reattempted later

------- This is a copy of the message, including all the headers. ------ Received: from github-smtp2-ext6.iad.github.net ([192.30.252.197]:41913 helo=github-smtp2b-ext-cp1-prd.iad.github.net) by chi-server32.websitehostserver.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88) (envelope-from [email protected]) id 1cy1Qa-000Ed7-5P for [email protected]; Tue, 11 Apr 2017 14:26:12 -0500 Date: Tue, 11 Apr 2017 12:25:33 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1491938733; bh=art0oKfUYOsDTd5QP1jURrnS/tLFxqHcFa9MXxBF0Jg=; h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=nfwrkU1ZwkVb70ysdZLcfVZz9YeCaHE6NsS0v7nwnosBTnkTgm6jud5ws2O+LgKY4 0SUUkVaDA7tKi2tU61yseNSp5W2b55wzF20Nuqhs5S1cNEiadY3INQbKkxCSJUma3T tthSpFu8MlxpMl3wTIMU+FNBMmkj2l9RNaGup/+s= From: Jacob Thomason [email protected] Reply-To: "RocketChat/Rocket.Chat" [email protected] To: "RocketChat/Rocket.Chat" [email protected] Cc: Subscribed [email protected] Message-ID: RocketChat/Rocket.Chat/issues/6115/[email protected] In-Reply-To: RocketChat/Rocket.Chat/issues/[email protected] References: RocketChat/Rocket.Chat/issues/[email protected] Subject: Re: [RocketChat/Rocket.Chat] Franz - invalid URL since 0.52.0 (#6115) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_58ed2dad1d7aa_4f793fe52a453c3498278"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: oojacoboo X-GitHub-Recipient: biomassives X-GitHub-Reason: subscribed List-ID: RocketChat/Rocket.Chat <Rocket.Chat.RocketChat.github.com> List-Archive: https://github.com/RocketChat/Rocket.Chat List-Post: mailto:[email protected] List-Unsubscribe: mailto:unsub+0042d4e245c301b36690a46792c3c895efeb4ab04ff29acd92cf000000011504efad92a169ce0c752eac@reply.github.com, https://github.com/notifications/unsubscribe/AELU4oD6ZJwjh5MyvdgW-TWh0yYPoztTks5ru9OtgaJpZM4MGuRm X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: [email protected]

----==_mimepart_58ed2dad1d7aa_4f793fe52a453c3498278 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit

Knock knock - pull request, merge, release... please.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/RocketChat/Rocket.Chat/issues/6115#issuecomment-293374008 ----==_mimepart_58ed2dad1d7aa_4f793fe52a453c3498278 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Knock knock - pull request, merge, release... please.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_58ed2dad1d7aa_4f793fe52a453c3498278--

biomassives avatar Apr 11 '17 19:04 biomassives

+1

jourdanrodrigues avatar Jul 28 '17 19:07 jourdanrodrigues

+1

GCHPX avatar Aug 08 '17 13:08 GCHPX

+1

dnl-blkv avatar Sep 21 '17 08:09 dnl-blkv

+1

Henry31 avatar Sep 27 '17 09:09 Henry31

Still having this issue.

Bak3y avatar Oct 09 '17 15:10 Bak3y

+1

malinin01 avatar Oct 16 '17 20:10 malinin01

+1

jsfoon avatar Oct 17 '17 03:10 jsfoon

running meetfranz 5 with rocket.chat 0.58.1 successfully. but look for the new franz pricing: a paid plan is required for self hosted services.

schuch avatar Oct 22 '17 14:10 schuch

@schuch - yeah, I moved from Franz to Rambox. I would maybe consider paying but not after this over 6 months of ignore...

danpospisil avatar Oct 22 '17 14:10 danpospisil