Link rev made href mailto 5bno 20address 20given 5d
Link rev made href mailto 5bno 20address 20given 5d
Arduino.ru
Arduino Uno + Ethernet Shield W5100 Подключение к интернету и передача данных. Удаленный доступ.
К сайту, к примеру, http://arduino.ru, подключение происходит, получаю текст страницы, а к своему локальному сайту подключиться не могу, получаю следующее сообщение:
Я б выкинул цикл этот.
Тогда в монитор порта будет сыпаться disconnecting. disconnecting. disconnecting.
Далее у меня опять загвоздка. Нужно распарсить полученный ответ, соответственно мне нужно получить ответ в переменную типа String (с ним мне работать просто).
К примеру, я могу в конце своего ответа поставить символ #, тогла всё просто, но как то это извращенно, как мне кажется.
Ставь символ перевода каретки «\n»
Arduino.ru
Выполнение http запроса Ethernet.h
Мне нужно постоянно отправлять данные на сервер. Я могу это делать через каждые 500 мс и данные успешно отправляются, а я хочу чтобы следующий пакет данных отправился после подтверждения отправки предыдущих.
Т.е. если запрос успешно отправился, выполняем следующий и т д.
А смысл? TCP сам по себе гарантирует целостность данных. Или в чем суть?
это ddos кому то делаете?
А смысл? TCP сам по себе гарантирует целостность данных. Или в чем суть?
Т.е. следующий запрос произойдет сразу после предыдущего? Не получится что первый запрос еще не выполнился, а я уже следующий отправляю?
это ddos кому то делаете?
Последний вариант, думаю)
А по факту, произошла отправка, если сервер ответил 200 OK, отправляю дальше, но как я поняла это лишнее, сервер локальный.
HTTP предусматривает внутри себя
1. паралельную доставку пакетов (пришло половина пакета 1 потом пакет 2 а потом вторая половина пакета 1)
2. контроль всего этого дела
реальный таймаут ожидания может быть довольно большим (абсолютно реально до 5 сек), ставя 0.5сек ты идешь в разрез с этим протоколом.
HTTP предусматривает внутри себя
1. паралельную доставку пакетов (пришло половина пакета 1 потом пакет 2 а потом вторая половина пакета 1)
2. контроль всего этого дела
O_O фигасе новинки в HTTP.
HTTP предусматривает внутри себя
1. паралельную доставку пакетов (пришло половина пакета 1 потом пакет 2 а потом вторая половина пакета 1)
2. контроль всего этого дела
O_O фигасе новинки в HTTP.
разумеется это не сам HTTP, я написал с упрощениями, иначе придется расписывать отличия UDP от TCP
HTTP собирает пакеты? С IP не путаете?
—-
С помощью метода GET можно также начать какой-либо процесс. В этом случае в тело ответного сообщения следует включить информацию о ходе выполнения процесса.
—-
Ардуинка печатает следующее:
Откуда берется HTTP/1.1 400 Bad Request
Так работает, получаю
А если я не знаю число отправляемых байт, как посчитать?
Так и подсчитать. Сперва получить данные, потом сформировать запрос, и только потом отправлять, а считывать данные прямо в процессе отправки запроса считается дурным тоном.
ps приведённый пример псевдокод, может даже и не скомпилируется, но суть вот такая
Я snprintf_P()-ом считаю.
configuration of the Docker client #644
Comments
adidragomir commented Dec 19, 2015
Hi,
I tried to install Portus and Docker registry on the same machine accordingly with the guide. After many tries I was able to login, pull and push images from the registry. The only way to manage that was to configure the Docker client with the famous «—insecure-registry myregistrydomain.com:5000».
I did not find this requirement anywhere in the Portus documentation.
That’s the good implementation? And if yes, could we put it in the documentation?
The text was updated successfully, but these errors were encountered:
jordimassaguerpla commented Dec 21, 2015
On 12/19/2015 04:40 PM, adidragomir wrote:
Hi,
I tried to install Portus and Docker registry on the same machine
accordingly with the guide After many tries I was able to login, pull
and push images from the registry The only way to manage that was to
configure the Docker client with the famous «—insecure-registry
myregistrydomaincom:5000″
I did not find this requirement anywhere in the Portus documentation
That’s the good implementation? And if yes, could we put it in the
documentation?
—
Reply to this email directly or view it on GitHub
#644.
adidragomir commented Dec 21, 2015
flavio commented Dec 21, 2015
I supposed you followed this documentation.
The registry runs on localhost (where localhost is the machine running the registry) without using SSL. However it’s exposed to the world using apache that is indeed using the public IP of the machine running apahe.
If you access the registry using the public IP then you will have to use SSL. Is that what you are doing?
adidragomir commented Dec 22, 2015
Hi Flavio,
Thank for your help.
Indeed I was using your documentation from:
And of course I use the public IP of the machine running Apache, in fact the external IP address since I have a simple test environment.
My test environment is consist of two virtual machines with OpenSuse Leap 42.1 vanilla installation (I have snapshots to go back fast every time I need). These machines have one network card in the 192.168.2.x network and their hostnames are openX.local.com. Each machine has the other on the /etc/hosts file.
First I was trying to setup Portus and registry on different machines but I could not (this is another discussion and I put my comment here:#611).
So I followed your guide to implement Portus and registry on the same machine and finally I was able to add the registry to the Portus application with the settings:
hostname: 127.0.0.1:5000
SSL: disable
I was pointing the internet browser to the https://open1.local.com/portus
The only modification to the portus_and_registry.conf was:
My registry configuration is:
version: 0.1
loglevel: info
storage:
filesystem:
rootdirectory: /var/lib/docker-registry
delete:
enabled: true
http:
addr: localhost:5000
host: open1.local.com
auth:
token:
realm: https://open1.local.com/portus/v2/token
service: 127.0.0.1:5000
issuer: open1.local.com
rootcertbundle: /etc/registry/ssl.crt/portus.crt
After adding successfully the registry I was creating a user and I was trying to login to the registry to push and pull images with the command:
docker login –u user –p user1234 –e user@user.com open1.local.com:5000
I’ve got the following error:
«v2 ping attempt failed with error: Get https://open1.local.com:5000/v2/: dial tcp 192.168.2.42:5000: connection refused»
I was using docker-1.9.1-7.1.x86_64 and I did not make any other configuration.
Сообщения Barlog_M
Посоветуйте пожалуйста LTE 4G USB модем из доступных на рынке, чтобы без проблем работал в Linux.
Если такого не существует, то подойдёт вариант с одноразовыми танцами с бубном под подробный мануал.
Gnome, full screen и часы
Пользуюсь ubuntu с gnome shell 3. Очень люблю использовать приложения в полноэкранном режиме. И, в принципе, всё устраивает, но нехватает часов перед глазами.
Environment из консоли в GUI приложениях
Подскажите пожалуйста как донести переменные окружения из консоли до десктопных приложений?
/.profile не работает. В частности хочется донести JAVA_HOME до Intellij IDEA.
ubuntu, /etc/profile.d & zsh
Подскажите пожалуйста почему при смене шелла на zsh не читаются файлы из /etc/profile.d? Считается, что если я меняю шелл на zsh, то мне и переменные окружения глобальные не нужны и вообще ничего не надо?
Подскажите правильный способ исправить эту ситуацию.
Ubuntu 15.10, zsh 5.1.1
Как включить hostname.service в ubuntu 15.10
Есть ubuntu 15.10 в виртуалке.
Как его включить?
Не помогают, никакого вывода после этих команд нет.
Как решить проблему?
inventory ansible_host
Пытаюсь научится в ansible.
Добавляю запись в простой текстовый файл hosts:
Пытаюсь выполнить команду:
И вижу, что ansible ломится по имени foo совершенно игнорируя IP из ansible_host.
Что я делаю не так? Как надо? И как попросить ansible напечатать все variables, которые они прочёл из inventory?
Вопрос по docker data only container
Я не понимаю, что я не понимаю. Помогите разобраться пожалуйста:
Вот теперь где я точно не понимаю?
Контейнер с данными должен быть запущен или просто может существовать?
Или контейнеры не предназначены, чтобы компьютер выключался или перезагружался? Создал, поработал, удаляй?
Про vagrant, ssh и безопасность
Вот это вот как? Почему он хочет мой приватный ключ? Насколько я знаю на удалённый хост ssh калдётся публичный ключ, а приватный дальше моего компа никуда никогда не ходит, даже по сети. Почему vagrant желает класть на виртуалку приватный ключ? Где я что-то не понял?
Ubuntu, репазитории и п.
Напишите пожалуйста для тупого пошаговую инструкцию как мне узнать что это за чёртов сайт, что это за чёртов репазиторий, и как его, чёрт побери, подключить к ubuntu.
Защищённая система обмена сообщениями
Вопрос собственно в том есть-ли ошибка в моих рассуждениях:
При регистрации создаётся пара открытый-закрытый ключ, открытый ключ сохраняется на сервере вместе с адресом получателя. При отправке сообщения отправителю с сервера пересылается открытый ключ получателя, отправитель у себя шифрует сообщение и отправляет на сервер. Далее при проверке почты получателем, ему приходит с сервера сообщение, зашифрованное его же открытым ключём.
Шифровать RSA 4096
При регистрации генерация пары открытый-закрытый ключ происходит на клиенте. Т.е. закрытый ключ с клиента по сети никогда никуда не передаётся.
Link rev made href mailto 5bno 20address 20given 5d
Hi!
I’m experimenting this problem only with RNA World project
http://www.rnaworld.de/rnaworld/.
If, and only if, for whatever reason a result upload gives a transient error, it won’t ever be able to resume: it will try again and again, just to end up in other transient errors. However, most results are uploaded smootly. Six have had problems so far, in a few days.
I’ve sniffed the tcp stream to the boinc server, and to me nothing is wrong till the HTTP 500 error from the server (sorry for the lenght):
I’d like to point out that even the «nbytes», the «file_size» and the «offset» fields look right.
I wrote about this strange behaviour in the project forum, but no solution came out.
I have to say that a nice cruncher helped me investigating, trying himself to stop and then restart one of his uploads, and everything apparently went right for him. We have the same OS and the same Boinc version, but maybe there was something different in the way his upload was stopped and resumed.
I cannot write directly to the HTTP server sysadmin, because of «mailto:%5bno%20address%20given%5d». However this stuff actually pisses me off, moreover because I feel like RNA World is a valuable project which I’m really interested in. Is there anything I can try to identify the problem? What could be wrong in the CGI /rnaworld_cgi/file_upload_handler?
Thanks in advance.
Bye.
Отправить сообщение
Присоединился: 18 Apr 11
Сообщений: 6
I’ve enabled logging for:
1
1
1
Dunno why I didn’t do it before. Perhaps I stupidly though I couldn’t get anything more than sniffing packets. Me idiot!
And here they say: it’s a server problem
http://boinc.berkeley.edu/dev/forum_thread.php?id=5541
Does anybody know anything about it?
Bye.
Отправить сообщение
Присоединился: 18 Apr 11
Сообщений: 6
Can you ask RNA what server revision they use?
Can you also test with BOINC 6.12.22 (development version, available from here), to see if you can reproduce this problem? Only then can I forward it to the developers, since they’re done with 6.10 and in the last days of the 6.12 release. With thanks.
I’ll surely do it tomorrow.
For now, I have to say that one of my partially uploaded files has been deleted on the server. The next try, of course, the upload hasn’t been resumed: it’s been restarted from scratch. It has gone on for a while, but it has then stopped at the very exact point it did the first time. So it doesn’t look like a «resuming issue» anymore.
Отправить сообщение
Присоединился: 18 Apr 11
Сообщений: 6
I’m running now the latest 6.12.22 Boinc version
Sadly, nothing has changed.
In the meantime, I’ve looked a bit into curl & stuff, and I’ve found something that at first sight seemed possibly related to my problem:
http://www.cherrypy.org/ticket/951
However IMHO this is not my case: the http_1_0 workaround doesn’t work for me. To be sure, though I’m running Ubuntu Lucid, I’ve upgraded libcurl:
Furthermore, since yesterday we know it shouldn’t be a simple resuming issue: some WU results are uploaded just to a fixed point (different for every WU), and no more. Then the upload stops; it cannot be successfully resumed, and, if the partial file is deleted on the server, next time the upload will reach the same fixed point as before, and will then stop again.
The first thing I thought of was something wrong in the «content lenght» declared to the server before the upload, but the lenght looks right.
One more WU can’t be fully uploaded now, and so they’re seven till now (in a total of about 550).
I don’t have a clue.
This is my log with 6.12.22:
Thanks in advance for everything.
Отправить сообщение
Присоединился: 18 Apr 11
Сообщений: 6
You only see this with RNAWorld, or also with other projects?
Only RNA World.
Now I’m running RNA alone (but Einstein on my GPU), but till a few days ago also simap and four WCG projects: aids, conquercancer, cleanwater and cleanenergy2. This never happened with these. I’ve never had this problem before, with any other project, AFAICR.
But I have to say that I don’t know of any other RNA cruncher in my situation.
I did find the server revision number, so don’t need that info anymore.
Fine, RNA message board is out of service at the moment.
Отправить сообщение
Присоединился: 18 Apr 11
Сообщений: 6
Okay, I’ve had a conversation with the developers and we think this can be solved if Rechenkraft.net updates their BOINC server software. I will contact the administrator of that domain and ask on your behalf
Thank you very much.
It’s the best I could hope for. 🙂
no need for you to pursue this.
But I cannot assure that they will update, let’s just hope that they will.
Okie Dokie: I give it up. and I hope for the best. 🙂
Thanks again, for everything.
Copyright © 2022 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.