You should provide username and password to access the service since rabbitmq use password for vhost authentication.
Regards,
Wesley Peng
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/4bbffc61-1001-455d-a6c1-66ffdb2d419a%40googlegroups.com.
>
HiYou should provide username and password to access the service since rabbitmq use password for vhost authentication.
Regards,
Wesley Peng
> Am Oct 6, 2019 - 7:37 PM schrieb frank...@gmail.com:
>
>
> when i do this: that error returns
>
> File "/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py", line 359, in __init__
> self._impl = self._create_connection(parameters, _impl_class)
> File "/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py", line 450, in _create_connection
> raise self._reap_last_connection_workflow_error(error)
> pika.exceptions.ProbableAuthenticationError: ConnectionClosedByBroker: (403) 'ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
>
> Em domingo, 6 de outubro de 2019 03:40:53 UTC-3, 星沉 escreveu:
> On 2019/10/6 12:03 下午, Franklin Magalhães wrote:
> > In tutorial there is no help to remote comunication>>>"In case you use a
> > different host, port or credentials, connections settings would require
> > adjusting."
>
> import pika
>
> connection = pika.BlockingConnection(pika.ConnectionParameters('localhost'))
>
> Giving the case you are using pika library, You could replace
> 'localhost' with any host name or IP addr here.
>
>
> regards.
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
Regards,
Wesley Peng
> Am Oct 6, 2019 - 10:13 PM schrieb frankl...@gmail.com:
>
>
> i am in a LAN, server is in 192.168.0.10 and other machine in 192.168.0.21
> guest is thedeafult vhost? i login by "user" username, that is the vhost
> Version: RabbitMQ 3.6.10
>
> when i execute the code on server machine everything works
> but when i am try to send the message from ip 192.168.0.21 to 192.168.0.10 (server)
>
> Em dom, 6 de out de 2019 às 11:01, <iwe...@mail.de> escreveu:
> Hi
>
> Did you connect to the correct host and port? Do you access to default vhost? What’s rabbitmq version?
>
> Regards,
> Wesley Peng
>
> > Am Oct 6, 2019 - 9:56 PM schrieb frankl...@gmail.com:
> >
> >
> > Traceback (most recent call last):
> > File "seVM.py", line 6, in <module>
> > pika.ConnectionParameters(host='192.168.0.10', credentials = credentials))
> > File "/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py", line 359, in __init__
> > self._impl = self._create_connection(parameters, _impl_class)
> > File "/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py", line 450, in _create_connection
> > raise self._reap_last_connection_workflow_error(error)
> > pika.exceptions.AMQPConnectionError
> >
> > Em dom, 6 de out de 2019 às 10:51, <iwe...@mail.de> escreveu:
> > What’s the error message then?
> > > To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> > > To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/24a3b8d4-7098-484d-878c-a65fce00c7d8%40googlegroups.com.
> > >
> >
> >
> > --
> > Franklin Magalhães
> >
> > "Caia sete vezes, levante-se oito"
> >
>
>
> --
> Franklin Magalhães
>
> "Caia sete vezes, levante-se oito"
>
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/20191006141745.AC73280253%40smtp04.mail.de.
You should make sure:
1. Rabbitmq server is running there, ports can be detected by Telnet or netcat tools.
2. Rabbitmq, erlang, client library are the latest versions.
3. Network connection fine, no filter for rabbitmq ports.
4. You have granted correct privileges to vhost, and access vhost using correct credit.
If still fails, please provide both client logs and server logs, as well as the description of running environment.
Regards,
Wesley Peng
> To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/CAMCY51A1S1tKxQ40NL_iBNLpsoqyPz_wm8dSwq8Fs_YzsMzjdA%40mail.gmail.com.
>
> > > > > To view this discussion on the web, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_rabbitmq-2Dusers_4bbffc61-2D1001-2D455d-2Da6c1-2D66ffdb2d419a-2540googlegroups.com&d=DwIFaQ&c=lnl9vOaLMzsy2niBC8-h_K-7QJuNJEsFrzdndhuJ3Sw&r=wK8593osN75HgBaGPuOJ8rdBO5dnseij4hzid56kb34&m=CgOaXpsLdKp2DLhTpzfPlwt4Z4VYA2oA2bnYMgkYIls&s=uohMHd3e1ujnncCkq8qn-KG76SFy_8oAVwyxuMP-4IU&e= .
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> > > > To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> > > > To view this discussion on the web, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_rabbitmq-2Dusers_24a3b8d4-2D7098-2D484d-2D878c-2Da65fce00c7d8-2540googlegroups.com&d=DwIFaQ&c=lnl9vOaLMzsy2niBC8-h_K-7QJuNJEsFrzdndhuJ3Sw&r=wK8593osN75HgBaGPuOJ8rdBO5dnseij4hzid56kb34&m=CgOaXpsLdKp2DLhTpzfPlwt4Z4VYA2oA2bnYMgkYIls&s=pVRVcLcho_tItUU3TTqsNaU0veS2IurWSjP5zA_t6ec&e= .
> > > >
> > >
> > >
> > > --
> > > Franklin Magalhães
> > >
> > > "Caia sete vezes, levante-se oito"
> > >
> >
> >
> > --
> > Franklin Magalhães
> >
> > "Caia sete vezes, levante-se oito"
> >
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> To view this discussion on the web, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_rabbitmq-2Dusers_20191006141745.AC73280253-2540smtp04.mail.de&d=DwIFaQ&c=lnl9vOaLMzsy2niBC8-h_K-7QJuNJEsFrzdndhuJ3Sw&r=wK8593osN75HgBaGPuOJ8rdBO5dnseij4hzid56kb34&m=CgOaXpsLdKp2DLhTpzfPlwt4Z4VYA2oA2bnYMgkYIls&s=56IR3C0VfnMDT5zUKICC36DeJHcZzoDyJjBX5GJdv-U&e= .
>
>
> --
> Franklin Magalhães
>
> "Caia sete vezes, levante-se oito"
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> To view this discussion on the web, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_rabbitmq-2Dusers_CAMCY51A1S1tKxQ40NL-5FiBNLpsoqyPz-5Fwm8dSwq8Fs-5FYzsMzjdA-2540mail.gmail.com&d=DwIFaQ&c=lnl9vOaLMzsy2niBC8-h_K-7QJuNJEsFrzdndhuJ3Sw&r=wK8593osN75HgBaGPuOJ8rdBO5dnseij4hzid56kb34&m=CgOaXpsLdKp2DLhTpzfPlwt4Z4VYA2oA2bnYMgkYIls&s=S7zhmr2GYWHlDHp6rgsrAxzNcoSgzPCMhq_6IvNEjiw&e= .
>
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_rabbitmq-2Dusers_20191007011150.3E1B3800AE-2540smtp04.mail.de&d=DwIFaQ&c=lnl9vOaLMzsy2niBC8-h_K-7QJuNJEsFrzdndhuJ3Sw&r=wK8593osN75HgBaGPuOJ8rdBO5dnseij4hzid56kb34&m=CgOaXpsLdKp2DLhTpzfPlwt4Z4VYA2oA2bnYMgkYIls&s=mu5gK5GQr9z3YGKSJ_o_JU4Zf0eZCK2BRh_qU-e9kFM&e= .