title: Erlang Heroku RabbitMQ
body: <p>i run in terminal command</p>
  
  <p>heroku config:get RABBITMQ_BIGWIG_RX_URL --app app1</p>
  
  <p>give me a string</p>
  
  <p>amqp://Ajwj23X3:nsi3sC@leaping-charlock-1.bigwig.lshift.net:18372/Hbau2x3d</p>
  
  <p>I copy login,password,url,port to erlang code</p>
  
  <pre><code>-record(amqp_params_network, {username           = &lt;&lt;"Ajwj23X3"&gt;&gt;,
                                password           = &lt;&lt;"nsi3sC"&gt;&gt;,
                                virtual_host       = &lt;&lt;"/"&gt;&gt;,
                                host               = "leaping-charlock-1.bigwig.lshift.net",
                                port               = 18372,
                                channel_max        = 0,
                                frame_max          = 0,
                                heartbeat          = 0,
                                connection_timeout = infinity,
                                ssl_options        = none,
                                auth_mechanisms    =
                                [fun amqp_auth_mechanisms:plain/3,
                                  fun amqp_auth_mechanisms:amqplain/3],
                                client_properties  = [],
                                socket_options     = []}).
  </code></pre>
  
  <p>But when i run program and connection false</p>
  
  <p>How correctly  write amqp_params_network in erlang for heroku rabbitqm?</p>