Unknown server error occurred during handshake space station 14

Hello, I am a newbie who is new to this project. I deployed it according to your instructions, but the following error occurred: An error has occurred while connecting to MongoDB: server selection ...

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Comments

@laoxiaokang

Hello, I am a newbie who is new to this project. I deployed it according to your instructions, but the following error occurred:

An error has occurred while connecting to MongoDB:
server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: 127.0.0.1:27017, Type: Unknown, Average RTT: 0, Last error: connection() error occured during connection handshake: EOF }, ] }

My deployment command is as follows:

./mongodb_exporter --mongodb.uri=mongodb://admin:123456@127.0.0.1:27017/admin?ssl=true

The data source I tested can be connected.
I hope to get a reply,Thank you!

@JiriCtvrtka

@laoxiaokang Hi, can you provide error? Probably you missed it.

@denisok
denisok

changed the title
help!!!

error occured during connection handshake

Aug 11, 2021

@denisok

I see you use ssl, have you provided certificates ?

@laoxiaokang

@denisok Hi,My mongodb is a community version that does not support SSL. I set ssl to false and printed the following information:

time="2021-08-12T11:08:10+08:00" level=error msg="Cannot connect to MongoDB: connection() error occured during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed."

How should I set it up, hope to get your help, thank you very much!

@laoxiaokang

error getting cluster ID: (Unauthorized) not authorized on admin to execute command { replSetGetConfig: 1, lsid: { id: UUID("a4c9f3d3-8d99-4b5f-a0a7-cc07843ee28e") }, $db: "admin" }: cannot get topology labels

how should I solve this kind of error, it’s really a headache

@denisok

Hi @laoxiaokang,
it is hard to say if you are providing just different errors. Could you provide more details, what you are doing, what version and give the command you execute together with errors output.

Looks like you are trying to connect with username and password to the mongodb admin collection and your user don’t have enough rights to do so.

@percona-csalguero we probably need to document what permissions user should have to access the admin and all needed data.

@laoxiaokang we also have http://per.co.na/discord

Thanks,
Denys

@percona-csalguero

Hello,

I asked to one of our experts and he told me that you need to add these permissions for the connecting user:

      {
         "role":"clusterMonitor",
         "db":"admin"
      },
      {
         "role":"read",
         "db":"local"
      }

Regards

@percona-csalguero

If you want to read more about permissions for each command, here it is the relevant documentation.

Содержание

  1. A connection was successfully established with the server, but then an error occurred during the pre-login handshake. #1479
  2. Comments
  3. Describe the bug
  4. Expected behavior
  5. Further technical details
  6. Sql server but then an error occurred during the pre login handshake
  7. Answered by:
  8. Question
  9. Answers
  10. All replies

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. #1479

Describe the bug

After I update the Microsoft.Data.SqlClient from 3.0.1 to 4.0.1 when I try to access the database I’m getting

Expected behavior

Connect to database

Further technical details

Microsoft.Data.SqlClient version: 4.0.1
.NET target: .NET 6.0 on MacOS
SQL Server version: Microsoft SQL Server 2019 (RTM-CU14) (KB5007182) — 15.0.4188.2 (X64) Developer Edition (64-bit) on Linux (Ubuntu 20.04.3 LTS)
Operating system: Docker Linux

Additional context
I’m running EF Core 6.0.1 migrations

The text was updated successfully, but these errors were encountered:

Could be related with #1464

Have you tried to set TrustServerCertificate=True in your connection string ?

@lillo42 have your tried adding Encrypt=false to your connection string? or as mentioned above TrustServerCertificate=True

I had the same issue, as a workaround I suggest switching to System.Data.SqlClient, it works as expected

@JRahnama and @alaincroisetiere when I add TrustServerCertificate=True or Encrypt=false works, why I need to added it now?

I had the same issue, as a workaround I suggest switching to System.Data.SqlClient, it works as expected

System.Data.SqlClient is in servicing mode and is not updating on regular basis, but for addressing security issues and important updates. We suggest using Microsoft.Data.SqlClient as active ADO.NET library which gets updated and implements new features.

By changing this behavior, two issues has been addressed :

Default Encrypt to True. This is for security. Similar to http/https, if the client starts with allowing non-encrypted connections, it will always be susceptible to MITM attacks. Even if the server is configured to require encryption, there can be a MITM altering the server’s response to say it doesn’t require encryption. The MITM can then proxy the connection. client MITM server = the connection is compromised.

Security has been encouraging us for years to change the default behavior of client drivers to be secure by default and we have resisted, knowing that it is a breaking change for most users. It’s easy enough for developers to add Encrypt = false to all their connection strings, if they need to. We just want to make sure they understand the choice they are making and they are making it deliberately. With cloud computing becoming more and more common, it’s not safe to leave the default value of Encrypt equal to false.

The less-breaking, but still important, fix here is to ensure connections fail if the client does not have any encryption libraries available and either Encrypt = true or the server requires encryption. SqlClient + native SNI is the only MS driver we’ve found that will successfully connect in that scenario.

Источник

Sql server but then an error occurred during the pre login handshake

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Answered by:

Question

All of a sudden we are getting below issue when connecting instance through SSMS. Please advise, thank you.

Cannot connect to SHVLSP1967F1LMSSQLSERVER12EVL.

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: Shared Memory Provider, error: 0 — No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476

No process is on the other end of the pipe

Grateful to your time and support. Regards, Shiva

Answers

Verified few articles regarding this issue though solutions are many I wanted to cross check one after another out of all one is on server connections.

Below solution worked for me:

Started SQL Server Service using -m (single user mode) in startup parameters and established connection as admin.

Verified, very strangely connections are limited to 1!! and this changed to unlimited value 0 and restarted SQL Service again.

Finally removed -m parameter and restarted SQL Service once again.

Now need to audit who have changed this configuration. Hope this helps someone. Thank You

Grateful to your time and support. Regards, Shiva

Cannot connect to SHVLSP1967F1LMSSQLSERVER12EVL.

The client was unable to establish a connection because of an error during connection initialization process before login. Possible causes include the following: the client tried to connect to an unsupported version of SQL Server; the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server. (provider: Shared Memory Provider, error: 0 — No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476

No process is on the other end of the pipe

Grateful to your time and support. Regards, Shiva

Источник

Hello,

I am working on developing a space blueprint, having done this successfully for a client using an older version of Confluence (6.7ish). However, I have noticed that, upon uninstalling or disabling the space blueprint plugin during testing, clicking on «Create Space» results in «Unknown Server Error». Examination of the logfiles reveals the following occurs each time the «Create Space» link is clicked:

[INFO] [talledLocalContainer] 2019-02-07 13:05:47,823 WARN [http-nio-1990-exec-3] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
[INFO] [talledLocalContainer] ->[PluginReadWriteTx]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #1303486283)
[INFO] [talledLocalContainer] -- referer: http://desktop-3msduqn:1990/confluence/plugins/servlet/upm | url: /confluence/rest/create-dialog/1.0/space-blueprint/dialog/web-items | traceId: 6e82d9a1ee1790af | userName: admin

Steps to reproduce:

  1. Install the latest Atlassian SDK as per https://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-windows-system/
  2. Navigate to the instruction set for creating a space blueprint: https://developer.atlassian.com/server/confluence/write-a-simple-confluence-space-blueprint/
  3. Clone the repository located in those instructions that contains the completed space blueprint plugin to a folder on your local machine:
    git clone git@bitbucket.org:atlassian_tutorial/confluence-space-blueprint.git
  4. Open a command prompt (on windows) and navigate to the folder that you cloned the repository into.
  5. Build and run the plugin by typing the following command into the command prompt:
    atlas-run
  6. Open up a browser window and navigate to http://localhost:1990/confluence/ (or whichever link you use to access the local instance of confluence you just started).
  7. Login using admin/admin as username/password.
  8. Click on the Confluence Administration cog wheel in the upper right hand corner, and then click «Manage Apps.»
  9. Click on «Upload App.»
  10. Navigate to the directory you cloned the repository into, and click on the «target» folder (if this folder doesn’t exist, you need to run atlas-run).
  11. Select the space-blueprint-1.0-SNAPSHOT.jar file and click «Upload.»
  12. Refresh the page, and select «Create space» under the Spaces dropdown. Note that the Example Space Blueprint is listed as an option, and you can successfully create a space if you wish to test that.
  13. Go back to Confluence Administration->Manage Apps, and uninstall the plugin you just installed.
  14. Refresh the page, and select «Create space» under the Spaces dropdown. Note that no error occurs.
  15. Select the command prompt, and hit Ctrl-C to kill the server instance currently running (you may have to navigate to Task Manager and kill a process named «Java SE Platform Binary» in order to completely kill the server).
  16. After the server has stopped, type the following command into the command prompt:
    atlas-clean
  17. Open pom.xml in your favorite text editor (or open as a project in IDEA or other IDE).
  18. Change the confluence versions and data versions in the properties block from this (I also tried modifying my amps.version to 6.21, but it didn’t fix anything):
    <properties>
    <confluence.version>6.7.1</confluence.version>
    <confluence.data.version>6.7.1</confluence.data.version>
    <amps.version>6.3.15</amps.version>
    <plugin.testrunner.version>1.2.3</plugin.testrunner.version>
    <atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version>
    <!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->
    <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    </properties>

    to this:

    <properties>
    <confluence.version>6.14.0</confluence.version>
    <confluence.data.version>6.14.0</confluence.data.version>
    <amps.version>6.3.15</amps.version>
    <plugin.testrunner.version>1.2.3</plugin.testrunner.version>
    <atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version>
    <!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->
    <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
  19. Repeat steps 4 through 13.
  20. Refresh the page.
  21. Click on «Create Space» under the Spaces tab, and note the «Unknown Server Error» message you receive.
  22. In the command prompt, look at the log output. You should see an error like the following:
    [INFO] [talledLocalContainer] 2019-02-07 15:35:17,015 WARN [http-nio-1990-exec-8] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
    [INFO] [talledLocalContainer] ->[PluginReadWriteTx]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #1567347778)
    [INFO] [talledLocalContainer] -- referer: http://localhost:1990/confluence/plugins/servlet/upm | url: /confluence/rest/create-dialog/1.0/space-blueprint/dialog/web-items | traceId: 04182b73ba117a25 | userName: admin

Effects:

At this point you cannot create spaces again, even after restarting confluence. Disabling the plugin will cause the error while the plugin is disabled, but after re-enabling the error disappears. Uninstalling the plugin entirely will make the error (and thus inability to create spaces) permanent, until you perform the workaround below.

Workaround:

Once you have received the «unknown server error», you have to drop some tables and clear the plugin cache in order to be able to create a space again. I followed the instructions located here:

https://confluence.atlassian.com/confkb/creating-new-page-or-space-loads-forever-744329880.html?_ga=2.38467818.813391250.1549382204-1439335163.1544544516

However, all this does is resolve the inability to create a space. Once you re-install the space blueprint plugin again and then disable or uninstall it (as happens frequently during testing!), you will once again be unable to create spaces until you perform the work-around again.

This error does not occur if I’m using Confluence 6.7.1, but occurs in 6.12.2 and 6.14.0. I’ve tested this both with the built-in database created when you perform an atlas-run on the plugin, and also in my development PostgreSQL 9.6 DB.

I have not found a method that prevents this error from occurring.

Are there any changes I need to make to the space blueprint to allow it to work in 6.12+? Is there something I’ve missed here? I wasn’t able to find any bugs that looked specifically like this one, but I’m not the best at searching for existing bugs.

3 answers

Suggest an answer

People on a hot air balloon lifted by Community discussions

Still have a question?

Get fast answers from people who know.

Was this helpful?

Thanks!

Recommend Projects

  • React photo

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo

    Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo

    Django

    The Web framework for perfectionists with deadlines.

  • Laravel photo

    Laravel

    A PHP framework for web artisans

  • D3 photo

    D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Visualization

    Some thing interesting about visualization, use data art

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo

    Microsoft

    Open source projects and samples from Microsoft.

  • Google photo

    Google

    Google ❤️ Open Source for everyone.

  • Alibaba photo

    Alibaba

    Alibaba Open Source for everyone

  • D3 photo

    D3

    Data-Driven Documents codes.

  • Tencent photo

    Tencent

    China tencent open source team.

#1

Константин

    Ассистент

  • Employee
  • 15 сообщений

Отправлено 21 April 2014 — 06:26

Пол года не играл, решил на днях начать заново, почитал что надо обновить Byond до версий 500+, я обновил, и теперь не могу запустить не один сервер, при запуске просто нечего не происходит. В чем проблема?

  • Наверх


#2


naxkun13

naxkun13

    Заслуженный космонавт

  • Employee
  • 550 сообщений

Отправлено 21 April 2014 — 06:33

Запускай сервера по линкам с основного сайта.

  • Наверх


#3


sparta43

sparta43

    Опущенка

  • Employee
  • 404 сообщений

Отправлено 21 April 2014 — 06:44

Моего папу зовут Константин…
PAPA,ETO TI!?

  • Наверх


#4


Константин

Константин

    Ассистент

  • Employee
  • 15 сообщений

Отправлено 21 April 2014 — 08:39

 naxkun13 (21 April 2014 — 06:33) писал:

Запускай сервера по линкам с основного сайта.

По разному пробовал запускать, и через сам сайт, и через byond, просто нечего не происходит

  • Наверх


#5


Fell-x27

Fell-x27

    Заслуженный космонавт

  • Employee
  • 598 сообщений

Отправлено 21 April 2014 — 08:59

Удали бьонд к херам собачьим и поставь заново последнюю версию. Заодно проверь антивирь, мб он у тебя доступ к сети режет бьонду.

Этой станции нужен герой. Герой, которого она заслуживает.

  • Наверх


#6


Recei

Recei

    Green King

  • Employee
  • 5274 сообщений

  

  

Отправлено 21 April 2014 — 11:20

Кэш чисти, поможет.

Цитата

1)Вся суть СБ: Загребли, но он невиновен? Пфф, виновен, просто улик при нем нет.
2)Все решается простой логикой основанной на правилах и бек-стори. Стыдно объяснять такие моменты.
3)Вперде Анимусяне!
4)#ящерсарматурой

  • Наверх


#7


Константин

Константин

    Ассистент

  • Employee
  • 15 сообщений

Отправлено 21 April 2014 — 11:27

 Fell-x27 (21 April 2014 — 08:59) писал:

Удали бьонд к херам собачьим и поставь заново последнюю версию. Заодно проверь антивирь, мб он у тебя доступ к сети режет бьонду.

Все удалил, заново скачал и установил, антивир и фаервол выключил, теперь при запуске вылазит окно, там баннер что-то вроде byond members написано, и внизу написано connecting, но игра не запускается, больше 40 мин жду и нечего

  • Наверх


#8


оникс_админ0

оникс_админ0

    Wubba lubba dub dub

  • Employee
  • 3776 сообщений
  • Discord:https://discord.gg/ZZqSwK2
  • ГородВайтран

  

  

Отправлено 21 April 2014 — 11:52

Прямо совсем все удалил? В моих документах обычно папка «бьонд», её тоже? (кэш же там)

Просмотр сообщенияalexix (23 September 2017 — 18:39) писал:

Мне всегда нравился дервен и его непредсказуемость. Он одновременно и идиот, и гений.

  • Наверх


#9


Константин

Константин

    Ассистент

  • Employee
  • 15 сообщений

Отправлено 21 April 2014 — 12:22

 Super-Derven (21 April 2014 — 11:52) писал:

Прямо совсем все удалил? В моих документах обычно папка «бьонд», её тоже? (кэш же там)

Да, от туда тоже удалил, нечего не изменилось.

  • Наверх


#10


BOGANET

BOGANET

    Marky never loved you…

  • Employee
  • 2922 сообщений

Отправлено 21 April 2014 — 12:54

Попробуй поставить более раннюю версию бьёнда. Вообще, стоит проверить, заработает ли хоть одна из них. Попробуй зайти в другую бьёндо-игрушку.

Просмотр сообщенияkartag (23 December 2013 — 01:07) писал:

Они применяют слово «правила» вместо «законы». Они всерьёз употребляют слово «нормальный» и считают, что на станции кто-то кому-то что-то по умолчанию должен. Они всерьёз считают, что Азимов не обязывает ИИ сосать хуй у любого, кто это прикажет, и первый закон позволяет отказаться от выполнения любого приказа. А сами Азимова наверняка даже не читали.
This is why we can’t have nice things.

Изображение

  • Наверх


#11


Константин

Константин

    Ассистент

  • Employee
  • 15 сообщений

Отправлено 21 April 2014 — 12:58

 BOGANET (21 April 2014 — 12:54) писал:

Попробуй поставить более раннюю версию бьёнда. Вообще, стоит проверить, заработает ли хоть одна из них. Попробуй зайти в другую бьёндо-игрушку.

Очень странно, даже список игр не загружает, где можно скачать более старую версию?

  • Наверх


#12


Lasser

Lasser

    2D-космонавтик

  • Employee
  • 451 сообщений

Отправлено 21 April 2014 — 13:15

Изображение

— Если Вы решитесь, обратного пути не будет. Вы видите их, а они видят Вас. Понятно? ©

  • Наверх


#13


BOGANET

BOGANET

    Marky never loved you…

  • Employee
  • 2922 сообщений

Отправлено 21 April 2014 — 13:21

 Константин (21 April 2014 — 12:58) писал:

Очень странно, даже список игр не загружает, где можно скачать более старую версию?

Где-то на офф. сайте должно быть. Недавно на форуме ссылку кидали — жаль не сохранил.
Может кто даст линк опять.

Просмотр сообщенияkartag (23 December 2013 — 01:07) писал:

Они применяют слово «правила» вместо «законы». Они всерьёз употребляют слово «нормальный» и считают, что на станции кто-то кому-то что-то по умолчанию должен. Они всерьёз считают, что Азимов не обязывает ИИ сосать хуй у любого, кто это прикажет, и первый закон позволяет отказаться от выполнения любого приказа. А сами Азимова наверняка даже не читали.
This is why we can’t have nice things.

Изображение

  • Наверх


#14


ucnaHez

ucnaHez

    Капитан Космической Станции

  • Chaotic Security Officer
  • 5605 сообщений
  • Discord:ucnaHez#6885
  • ГородБолонья

  

Отправлено 21 April 2014 — 14:18

Изображение

«[usr] весь такой кодер.»

  • Наверх


#15


Константин

Константин

    Ассистент

  • Employee
  • 15 сообщений

Отправлено 21 April 2014 — 16:07

 ucnaHez (21 April 2014 — 14:18) писал:

Установил я 492 версию, разумеется при запуске сервера он попросил обновить до 498 версий, затем уже он просил обновить до 500, в итоге я обновил до 500, теперь при запуске постояно пишет connecting falied, такое же происходит с версиями 501 502 503 и 504

  • Наверх


#16


Чудо

Чудо

    Ветеран космонавтики

  • Employee
  • 4639 сообщений
  • Byond:kavainoe4udo
  • Discord:Чудо#3111
  • ГородGreen Miracle

Отправлено 21 April 2014 — 16:54

Цитата

теперь при запуске постояно пишет connecting falied,

Уже прогресс

Делайте игру. Не форум.

  • Наверх


#17


BOGANET

BOGANET

    Marky never loved you…

  • Employee
  • 2922 сообщений

Отправлено 21 April 2014 — 17:01

 Константин (21 April 2014 — 16:07) писал:

Установил я 492 версию, разумеется при запуске сервера он попросил обновить до 498 версий, затем уже он просил обновить до 500, в итоге я обновил до 500, теперь при запуске постояно пишет connecting falied, такое же происходит с версиями 501 502 503 и 504

Значится, проблема не в бьёнде и несовместимости одной из версий с твоим ПО или ещё чем.
У тебя операционка какая? Раньше всё работало нормально, но на старой версий? Не менял операционку с того момента?
А вообще, реквестирую сюда Моргана. Он, вроде, шарит. А я так, методом простых вопросов и исключения.

Просмотр сообщенияkartag (23 December 2013 — 01:07) писал:

Они применяют слово «правила» вместо «законы». Они всерьёз употребляют слово «нормальный» и считают, что на станции кто-то кому-то что-то по умолчанию должен. Они всерьёз считают, что Азимов не обязывает ИИ сосать хуй у любого, кто это прикажет, и первый закон позволяет отказаться от выполнения любого приказа. А сами Азимова наверняка даже не читали.
This is why we can’t have nice things.

Изображение

  • Наверх


#18


Константин

Константин

    Ассистент

  • Employee
  • 15 сообщений

Отправлено 21 April 2014 — 17:27

 BOGANET (21 April 2014 — 17:01) писал:

Значится, проблема не в бьёнде и несовместимости одной из версий с твоим ПО или ещё чем.
У тебя операционка какая? Раньше всё работало нормально, но на старой версий? Не менял операционку с того момента?
А вообще, реквестирую сюда Моргана. Он, вроде, шарит. А я так, методом простых вопросов и исключения.

На старой версий все работало хорошо, операционная система windows xp, нечего на компе не менял, не считая того момента когда случайно шарахнул ногой по системному блоку и у него отвалился радиатор с куллером, но я быстро все сделал и все, все работало как прежде.

  • Наверх


#19


BOGANET

BOGANET

    Marky never loved you…

  • Employee
  • 2922 сообщений

Отправлено 21 April 2014 — 17:32

 Константин (21 April 2014 — 17:27) писал:

На старой версий все работало хорошо, операционная система windows xp, нечего на компе не менял, не считая того момента когда случайно шарахнул ногой по системному блоку и у него отвалился радиатор с куллером, но я быстро все сделал и все, все работало как прежде.

А ты пытался запустить старую версию? То есть, если делать всё так, как было тогда — работает? Я к тому и просил проверить же.
Если суть в несовместимости твоей винды с новым бульёндом, то нужно понять, с каким именно.
А так — понятия не имею в чём дело.

Просмотр сообщенияkartag (23 December 2013 — 01:07) писал:

Они применяют слово «правила» вместо «законы». Они всерьёз употребляют слово «нормальный» и считают, что на станции кто-то кому-то что-то по умолчанию должен. Они всерьёз считают, что Азимов не обязывает ИИ сосать хуй у любого, кто это прикажет, и первый закон позволяет отказаться от выполнения любого приказа. А сами Азимова наверняка даже не читали.
This is why we can’t have nice things.

Изображение

  • Наверх


#20


Константин

Константин

    Ассистент

  • Employee
  • 15 сообщений

Отправлено 21 April 2014 — 17:42

 BOGANET (21 April 2014 — 17:32) писал:

А ты пытался запустить старую версию? То есть, если делать всё так, как было тогда — работает? Я к тому и просил проверить же.
Если суть в несовместимости твоей винды с новым бульёндом, то нужно понять, с каким именно.
А так — понятия не имею в чём дело.

До 500 версий при запуске любого сервера просто вылазит окно, написано что надо обновить прогу, обновляю, и все, сначала при запуске любого сервера пишет connecting, затем через минут 10 connecting failed. Забыл добавить, что при попытки запустить желтый сервер, сразу пишет connection failed, так как сервер выключен, похоже бьенд не может просто присоеденится к серверу.

  • Наверх


If you receive the error message:

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 — The certificate chain was issued by an authority that is not trusted.)

It’s usually caused by a Certificate Validation issue. You may resolve this issue by choosing to accept the fixing the provided cert by stating Trust Server Certificate = True when connecting.

Please see below how this can be defined in the following tools:

SQL Compare and SQL Data Compare

SQL Source Control

SQL Change Automation Powershell

SQL Monitor

Please also consider Issue origin and technical considerations for possible ramification so that you can make an informed choice.

SQL Compare and SQL Data Compare

v15 and later

This functionality is provided in the interface akin to the SSMS format.

mceclip0.png

Pre v15 GUI:

Add ;Trust Server Certificate=true to the Server field on the Data Sources tab of the project

mceclip0.png

Command Line:

Add ;Trust Server Certificate=true on the Server1 or Server2 switch

mceclip1.png

SQL Source Control

You can set Trust Server Certificate to True in the SQL Server Management Studio’s Connection Properties Options

SQL Change Automation Powershell

If using a Powershell script:

You just need to add ;Trust Server Certificate=true to your connection string, for example:

Invoke-DatabaseBuild -InputObject $ScriptsFolder -TemporaryDatabase «Server=SQL_Server;Trust Server Certificate=true;Database=Temp_DB»

If using an addon:

Check the Trust Server Certificate check box

mceclip2.png

SQL Monitor

You need to enable the Trust Server Checkbox in the Connection Properties of the monitored server

mceclip3.png

Issue origin

Microsoft have changed the default behavior of their connection tools (source) so that all connections will be established with encryption. In the context of increasingly decentralized infrastructure, this is a reasonable security precaution, but may also catch people unaware. Microsoft listed it as a breaking change and we have also sought to do so.

One common cause of certificate errors with this change is that many SQL Servers have not explicitly been set up with a certificate and are instead using their self signed cert from when they were initially configured (which is automatically generated). This often fails to meet the security requirements.

Microsoft detail the specific interactions here.

There are three possible avenues for handling your connectivity, please discuss the options with your respective IT security team and DBAs to choose the option most suitable for your organization.

1. Disable encryption — the least secure option that was default until recently. If your SQL Server is configured to enforce encryption, your connection attempt will be rejected.

2. Trust Server Certificate — your connection will be encrypted, but depending on the certificate being utilised, it may not be as secure as desired. Please see the Microsoft documentation for the specific reason of the notification to judge the impact.

3. Issue a dedicated certificate from a trusted CA — if you are using a hosted provider, they should provide a means for you to obtain this certificate so that you can include it on your clients.

Запуск локального сервера

Материал из Space Station 14

Судя по тому, что вы сюда попали, то вы хотите запустить локальный сервер. Неожиданно

Запуск готовой сборки

Это самый простой и быстрый способ запустить локальную версию игры со всеми админ привилегиями, скорее всего именно это вам и нужно.
Сборка нашего сервера происходит автоматически ежедневно при наличии изменений и так же автоматически публикуется в общий доступ.

Скачать готовую сборку под вашу ОС вы можете по этой ссылке: https://custos.ss14.su/

  1. Скачайте сборку под вашу ОС, выбирая в списке по ссылке последнюю сборку, ориентируясь на дату справа.
  2. Разархивируйте все файлы в любом удобное вам место
  3. Запустите Robust.Server.exe (или Robust.Server)
  4. Не закрывайте окно с консолью, это ваш запущенный сервер!
  5. Запустите лаунчер
  6. Подождите 15 секунд после старта, чтобы сервер успел обработать данные, перед тем, как заходить
  7. На вкладке Home нажмите Direct Connect To Server...
  8. Укажите адрес сервера — localhost и нажмите Connect
  9. Profit. Вы на вашем локальном сервере с правами хоста.

У меня открывается черное окно и сразу пропадает, что делать?

Скорее всего у вас устаревшая версия .NET, попробуйте установить 6.0 и 7.0 версии.

Самостоятельная сборка

Сборка

Вы, кажется, решили идти по сложному пути, и тогда я надеюсь вы понимаете зачем вам это нужно.
Для начала, чтоб что-то запустить это нужно установить.:

  • Git
  • DotNet 6
  • DotNet 7
  • Python 3.7+
  1. Откройте папку куда хотите сохранить все файлы локалки
  2. Открываем терминал (ПКМ -> Открыть в Windows Terminal) и работаем в нем. Если у вас нет Windows Terminal, то вводим cmd через Win + R, в консоли переходим в папку где у вас будет сервер cd C:
  3. Клонируем офф репозиторий git clone https://github.com/space-wizards/space-station-14.git или же наш репозиторий git clone https://github.com/frosty-dev/ss14.git
  4. Переходим в папку репозитория cd space-station-14
  5. Устанавливаем зависимости для сборки py ./RUN_THIS.py
  6. Собираем сервер и клиент dotnet build

Поздравляю, теперь вы счастливый обладатель локального сервера. Мама бы вами гордилась!

Запуск

Если после танцев с бубном у вас все получилось, то следующие шаги вас точно не заставят врасплох.

  1. Запускаем сервер открыв Content.Server.exe по пути ..space-station-14binContent.Server (не путать с Robust.Server.exe)
  2. Запускаем клиент открыв Content.Client.exe по пути ..space-station-14binContent.MapRenderer (не путать с Robust.Client.exe)
  3. Жмем Direct Connect To Server... в меню

И на этом все. Просто, не правда ли? Теперь вам никто не помешает устраивать военные преступления похлеще чем….

Дополнительное

Дополнительная информация, которая вам наверное, да и поможет

=> Как открыть консоль?
На кнопку ~

=> Как перейти в лобби?
golobby команда в консоль

=> Где настройки сервера?
Файл в папке сервера — server_config.toml

=> Как просмотреть все команды?
list в консоль
help <команда> для подробностей о команде

Понравилась статья? Поделить с друзьями:
  • Unknown problem initializing graphics как исправить
  • Unknown pkg1 version switch ошибка
  • Unknown pin altium designer ошибка
  • Unknown paper format reload paper hp designjet 510 как исправить
  • Unknown paper format reload paper hp designjet 500 как исправить